diff options
Diffstat (limited to 'lib/StaticAnalyzer/Checkers')
| -rw-r--r-- | lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp | 2 | ||||
| -rw-r--r-- | lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp | 3 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp b/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp index 08ba26a530376..275481f9e46cb 100644 --- a/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp @@ -199,7 +199,7 @@ GenericTaintChecker::TaintPropagationRule::getTaintPropagationRule(                                                       const FunctionDecl *FDecl,                                                       StringRef Name,                                                       CheckerContext &C) { -  // TODO: Currently, we might loose precision here: we always mark a return +  // TODO: Currently, we might lose precision here: we always mark a return    // value as tainted even if it's just a pointer, pointing to tainted data.    // Check for exact name match for functions without builtin substitutes. diff --git a/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp b/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp index 8e51154fc3a17..d1938a0f7f7e4 100644 --- a/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp @@ -110,7 +110,8 @@ void ObjCContainersChecker::checkPreStmt(const CallExpr *CE,    if (Name.equals("CFArrayGetValueAtIndex")) {      ProgramStateRef State = C.getState();      // Retrieve the size. -    // Find out if we saw this array symbol before and have information about it. +    // Find out if we saw this array symbol before and have information about +    // it.      const Expr *ArrayExpr = CE->getArg(0);      SymbolRef ArraySym = getArraySym(ArrayExpr, C);      if (!ArraySym)  | 
