/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | PathDiagnostic.h | 127 class PathDiagnosticLocation { 136 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, in PathDiagnosticLocation() function 153 PathDiagnosticLocation() in PathDiagnosticLocation() function 157 PathDiagnosticLocation(const Stmt *s, in PathDiagnosticLocation() function 169 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation() function 180 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) in PathDiagnosticLocation() function 187 static PathDiagnosticLocation create(const Decl *D, in create() 189 return PathDiagnosticLocation(D, SM); in create() 193 static PathDiagnosticLocation createBegin(const Decl *D, 197 static PathDiagnosticLocation createBegin(const Stmt *S, [all …]
|
D | BugReporter.h | 76 PathDiagnosticLocation Location; 77 PathDiagnosticLocation UniqueingLocation; 139 BugReport(BugType& bt, StringRef desc, PathDiagnosticLocation l) in BugReport() 152 PathDiagnosticLocation LocationToUnique) in BugReport() 219 virtual PathDiagnosticLocation getLocation(const SourceManager &SM) const; 412 StringRef BugStr, PathDiagnosticLocation Loc, 417 StringRef BugStr, PathDiagnosticLocation Loc) { 423 StringRef BugStr, PathDiagnosticLocation Loc,
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 469 static PathDiagnosticLocation 480 return PathDiagnosticLocation(cast<CFGStmt>(Source).getStmt(), in getLocationForCaller() 484 return PathDiagnosticLocation(Init.getInitializer()->getInit(), in getLocationForCaller() 489 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), in getLocationForCaller() 496 return PathDiagnosticLocation::createEnd(CallerBody, SM, CallerCtx); in getLocationForCaller() 497 return PathDiagnosticLocation::create(CallerInfo->getDecl(), SM); in getLocationForCaller() 507 PathDiagnosticLocation 508 PathDiagnosticLocation::createBegin(const Decl *D, in createBegin() 510 return PathDiagnosticLocation(D->getLocStart(), SM, SingleLocK); in createBegin() 513 PathDiagnosticLocation [all …]
|
D | BugReporter.cpp | 209 PathDiagnosticLocation ExecutionContinues(const ExplodedNode *N); 211 PathDiagnosticLocation ExecutionContinues(llvm::raw_string_ostream &os, 226 PathDiagnosticLocation getEnclosingStmtLocation(const Stmt *S); 238 PathDiagnosticLocation 241 return PathDiagnosticLocation(S, getSourceManager(), LC); in ExecutionContinues() 243 return PathDiagnosticLocation::createDeclEnd(N->getLocationContext(), in ExecutionContinues() 247 PathDiagnosticLocation 255 const PathDiagnosticLocation &Loc = ExecutionContinues(N); in ExecutionContinues() 297 PathDiagnosticLocation 313 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation() [all …]
|
D | BugReporterVisitors.cpp | 106 PathDiagnosticLocation L = in getDefaultEndPath() 107 PathDiagnosticLocation::createEndOfPath(EndPathNode,BRC.getSourceManager()); in getDefaultEndPath() 244 PathDiagnosticLocation L(Ret, BRC.getSourceManager(), StackFrame); in VisitNode() 389 PathDiagnosticLocation L = in VisitNode() 390 PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode() 438 PathDiagnosticLocation L = in VisitNode() 439 PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode() 574 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(), in VisitNode() 865 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx); in VisitTrueTest() 901 PathDiagnosticLocation Loc(CondVarExpr, BRC.getSourceManager(), LCtx); in VisitConditionVariable() [all …]
|
D | PlistDiagnostics.cpp | 120 const PathDiagnosticLocation &L, const FIDMap& FM, in EmitLocation()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 288 PathDiagnosticLocation FSLoc = in checkLoopConditionForFloat() 289 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat() 325 PathDiagnosticLocation CELoc = in checkCall_gets() 326 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets() 367 PathDiagnosticLocation CELoc = in checkCall_getpw() 368 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw() 410 PathDiagnosticLocation CELoc = in checkCall_mktemp() 411 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp() 483 PathDiagnosticLocation CELoc = in checkCall_mkstemp() 484 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mkstemp() [all …]
|
D | CheckSizeofPointer.cpp | 64 PathDiagnosticLocation ELoc = in VisitUnaryExprOrTypeTraitExpr() 65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); in VisitUnaryExprOrTypeTraitExpr()
|
D | CheckObjCDealloc.cpp | 169 PathDiagnosticLocation DLoc = in checkObjCDealloc() 170 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()); in checkObjCDealloc() 263 PathDiagnosticLocation SDLoc = in checkObjCDealloc() 264 PathDiagnosticLocation::createBegin(*I, BR.getSourceManager()); in checkObjCDealloc()
|
D | NSErrorChecker.cpp | 75 PathDiagnosticLocation L = in checkASTDecl() 76 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl() 123 PathDiagnosticLocation L = in checkASTDecl() 124 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
|
D | DeadStoresChecker.cpp | 161 PathDiagnosticLocation L, SourceRange R) { in Report() 217 PathDiagnosticLocation ExLoc = in CheckVarDecl() 218 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl() 372 PathDiagnosticLocation Loc = in observeStmt() 373 PathDiagnosticLocation::create(V, BR.getSourceManager()); in observeStmt()
|
D | LLVMConventionsChecker.cpp | 179 PathDiagnosticLocation VDLoc = in VisitVarDecl() 180 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl() 284 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin( in ReportError()
|
D | CheckObjCInstMethSignature.cpp | 69 PathDiagnosticLocation MethDLoc = in CompareReturnTypes() 70 PathDiagnosticLocation::createBegin(MethDerived, in CompareReturnTypes()
|
D | AnalyzerStatsChecker.cpp | 116 output.str(), PathDiagnosticLocation(D, SM)); in checkEndAnalysis() 132 PathDiagnosticLocation::createBegin(CS->getStmt(), in checkEndAnalysis()
|
D | ObjCContainersASTChecker.cpp | 145 PathDiagnosticLocation CELoc = in VisitCallExpr() 146 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
|
D | CStringSyntaxChecker.cpp | 144 PathDiagnosticLocation Loc = in VisitCallExpr() 145 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
|
D | VirtualCallChecker.cpp | 182 PathDiagnosticLocation CELoc = in ReportVirtualCall() 183 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in ReportVirtualCall()
|
D | UnreachableCodeChecker.cpp | 148 PathDiagnosticLocation DL; in checkEndAnalysis() 152 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC); in checkEndAnalysis()
|
D | ObjCUnusedIVarsChecker.cpp | 171 PathDiagnosticLocation L = in checkObjCUnusedIvar() 172 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); in checkObjCUnusedIvar()
|
D | MallocSizeofChecker.cpp | 234 PathDiagnosticLocation L = in checkASTCodeBody() 235 PathDiagnosticLocation::createBegin(i->AllocCall->getCallee(), in checkASTCodeBody()
|
D | MacOSKeychainAPIChecker.cpp | 560 PathDiagnosticLocation LocUsedForUniqueing; in generateAllocatedDataNotReleasedReport() 562 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocStmt, in generateAllocatedDataNotReleasedReport() 684 PathDiagnosticLocation Pos(ArgExpr, BRC.getSourceManager(), in VisitNode()
|
D | MallocChecker.cpp | 298 PathDiagnosticLocation L = in getEndPath() 299 PathDiagnosticLocation::createEndOfPath(EndPathNode, in getEndPath() 1013 PathDiagnosticLocation LocUsedForUniqueing; in reportLeak() 1018 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocStmt, in reportLeak() 1585 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode()
|
D | MallocOverflowSecurityChecker.cpp | 219 PathDiagnosticLocation::createOperatorLoc(i->mulop, in OutputPossibleOverflows()
|
D | RetainCountChecker.cpp | 1823 PathDiagnosticLocation getLocation(const SourceManager &SM) const { in getLocation() 1987 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode() 2158 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode() 2245 PathDiagnosticLocation L = PathDiagnosticLocation::createEndOfPath(LeakN, SM); in getEndPath() 2337 Location = PathDiagnosticLocation::createBegin(AllocStmt, SMgr, in CFRefLeakReport()
|