/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
PathDiagnostic.h | 128 class PathDiagnosticLocation { 137 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, 152 PathDiagnosticLocation() 156 PathDiagnosticLocation(const Stmt *s, 170 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) 181 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) 188 static PathDiagnosticLocation create(const Decl *D, 190 return PathDiagnosticLocation(D, SM); 194 static PathDiagnosticLocation createBegin(const Decl *D, 198 static PathDiagnosticLocation createBegin(const Stmt *S [all...] |
BugReporter.h | 77 PathDiagnosticLocation Location; 78 PathDiagnosticLocation UniqueingLocation; 155 BugReport(BugType& bt, StringRef desc, PathDiagnosticLocation l) 168 PathDiagnosticLocation LocationToUnique, const Decl *DeclToUnique) 265 virtual PathDiagnosticLocation getLocation(const SourceManager &SM) const; 268 PathDiagnosticLocation getUniqueingLocation() const { 468 StringRef BugStr, PathDiagnosticLocation Loc, 473 StringRef BugStr, PathDiagnosticLocation Loc) { 479 StringRef BugStr, PathDiagnosticLocation Loc,
|
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 112 PathDiagnosticLocation LocationToUnique, 496 // PathDiagnosticLocation methods. 504 "be passed to PathDiagnosticLocation upon creation."); 542 static PathDiagnosticLocation 551 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), 555 return PathDiagnosticLocation(Init.getInitializer()->getInit(), 560 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), 567 return PathDiagnosticLocation::createEnd(CallerBody, SM, CallerCtx); 568 return PathDiagnosticLocation::create(CallerInfo->getDecl(), SM); 578 PathDiagnosticLocation [all...] |
BugReporter.cpp | 59 if (const Stmt *S = PathDiagnosticLocation::getStmt(N)) 67 if (const Stmt *S = PathDiagnosticLocation::getStmt(N)) 218 PathDiagnosticLocation *LastCallLocation = 0) { 237 PathDiagnosticLocation *ThisCallLocation; 298 PathDiagnosticLocation ExecutionContinues(const ExplodedNode *N); 300 PathDiagnosticLocation ExecutionContinues(llvm::raw_string_ostream &os, 315 PathDiagnosticLocation getEnclosingStmtLocation(const Stmt *S); 327 PathDiagnosticLocation 329 if (const Stmt *S = PathDiagnosticLocation::getNextStmt(N)) 330 return PathDiagnosticLocation(S, getSourceManager(), LC) [all...] |
BugReporterVisitors.cpp | 114 PathDiagnosticLocation L = 115 PathDiagnosticLocation::createEndOfPath(EndPathNode,BRC.getSourceManager()); 329 PathDiagnosticLocation L(Ret, BRC.getSourceManager(), StackFrame); 697 PathDiagnosticLocation L; 699 L = PathDiagnosticLocation(InitE, BRC.getSourceManager(), 703 L = PathDiagnosticLocation::create(P, BRC.getSourceManager()); 772 PathDiagnosticLocation L = 773 PathDiagnosticLocation::create(P, BRC.getSourceManager()); [all...] |
PlistDiagnostics.cpp | 130 const PathDiagnosticLocation &L, const FIDMap& FM, 514 PathDiagnosticLocation UPDLoc = D->getUniqueingLoc();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CheckSecuritySyntaxOnly.cpp | 282 PathDiagnosticLocation FSLoc = 283 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); 318 PathDiagnosticLocation CELoc = 319 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); 359 PathDiagnosticLocation CELoc = 360 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); 401 PathDiagnosticLocation CELoc = 402 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); 474 PathDiagnosticLocation CELoc = 475 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC) [all...] |
CheckObjCDealloc.cpp | 170 PathDiagnosticLocation DLoc = 171 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()); 264 PathDiagnosticLocation SDLoc = 265 PathDiagnosticLocation::createBegin(*I, BR.getSourceManager());
|
NSErrorChecker.cpp | 76 PathDiagnosticLocation L = 77 PathDiagnosticLocation::create(D, BR.getSourceManager()); 124 PathDiagnosticLocation L = 125 PathDiagnosticLocation::create(D, BR.getSourceManager());
|
AnalyzerStatsChecker.cpp | 116 output.str(), PathDiagnosticLocation(D, SM)); 133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
|
CStringSyntaxChecker.cpp | 145 PathDiagnosticLocation Loc = 146 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC);
|
CheckObjCInstMethSignature.cpp | 68 PathDiagnosticLocation MethDLoc = 69 PathDiagnosticLocation::createBegin(MethDerived,
|
CheckSizeofPointer.cpp | 64 PathDiagnosticLocation ELoc = 65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC);
|
ObjCContainersASTChecker.cpp | 144 PathDiagnosticLocation CELoc = 145 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
|
DeadStoresChecker.cpp | 164 PathDiagnosticLocation L, SourceRange R) { 220 PathDiagnosticLocation ExLoc = 221 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); 376 PathDiagnosticLocation Loc = 377 PathDiagnosticLocation::create(V, BR.getSourceManager());
|
LLVMConventionsChecker.cpp | 180 PathDiagnosticLocation VDLoc = 181 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); 285 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin(
|
MallocSizeofChecker.cpp | 235 PathDiagnosticLocation L = 236 PathDiagnosticLocation::createBegin(i->AllocCall->getCallee(),
|
ObjCUnusedIVarsChecker.cpp | 173 PathDiagnosticLocation L = 174 PathDiagnosticLocation::create(I->first, BR.getSourceManager());
|
IvarInvalidationChecker.cpp | 557 PathDiagnosticLocation IvarDecLocation = 558 PathDiagnosticLocation::createBegin(FirstIvarDecl, BR.getSourceManager()); 574 PathDiagnosticLocation MethodDecLocation = 575 PathDiagnosticLocation::createEnd(MethodD->getBody(), 584 PathDiagnosticLocation::createBegin(IvarD,
|
ObjCMissingSuperCallChecker.cpp | 202 PathDiagnosticLocation DLoc = 203 PathDiagnosticLocation::createEnd(MD->getBody(),
|
UnreachableCodeChecker.cpp | 148 PathDiagnosticLocation DL; 152 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC);
|
VirtualCallChecker.cpp | 183 PathDiagnosticLocation CELoc = 184 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
|
DirectIvarAssignment.cpp | 217 "use the setter instead", PathDiagnosticLocation(IvarRef,
|
MacOSKeychainAPIChecker.cpp | 526 PathDiagnosticLocation LocUsedForUniqueing; 536 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocStmt, 616 PathDiagnosticLocation Pos(ArgExpr, BRC.getSourceManager(),
|
MallocOverflowSecurityChecker.cpp | 219 PathDiagnosticLocation::createOperatorLoc(i->mulop,
|