Searched refs:PathDiagnosticLocation (Results 1 - 25 of 29) sorted by relevance

12

/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h130 class PathDiagnosticLocation { class in namespace:clang::ento
139 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, function in class:clang::ento::PathDiagnosticLocation
154 PathDiagnosticLocation() function in class:clang::ento::PathDiagnosticLocation
158 PathDiagnosticLocation(const Stmt *s, function in class:clang::ento::PathDiagnosticLocation
172 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) function in class:clang::ento::PathDiagnosticLocation
183 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) function in class:clang::ento::PathDiagnosticLocation
191 static PathDiagnosticLocation create(const Decl *D,
193 return PathDiagnosticLocation(D, SM);
197 static PathDiagnosticLocation createBegin(const Decl *D,
201 static PathDiagnosticLocation createBegi
[all...]
H A DBugReporter.h78 PathDiagnosticLocation Location;
79 PathDiagnosticLocation UniqueingLocation;
156 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,
/external/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp113 PathDiagnosticLocation LocationToUnique,
494 // PathDiagnosticLocation methods.
502 "be passed to PathDiagnosticLocation upon creation.");
540 static PathDiagnosticLocation
549 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(),
553 return PathDiagnosticLocation(Init.getInitializer()->getInit(),
558 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(),
563 return PathDiagnosticLocation(Dtor.getDeleteExpr(), SM, CallerCtx);
569 return PathDiagnosticLocation::createEnd(CallerBody, SM, CallerCtx);
570 return PathDiagnosticLocation
[all...]
H A DBugReporter.cpp59 if (const Stmt *S = PathDiagnosticLocation::getStmt(N))
67 if (const Stmt *S = PathDiagnosticLocation::getStmt(N))
219 PathDiagnosticLocation *LastCallLocation = nullptr) {
238 PathDiagnosticLocation *ThisCallLocation;
334 PathDiagnosticLocation ExecutionContinues(const ExplodedNode *N);
336 PathDiagnosticLocation ExecutionContinues(llvm::raw_string_ostream &os,
351 PathDiagnosticLocation getEnclosingStmtLocation(const Stmt *S);
363 PathDiagnosticLocation
365 if (const Stmt *S = PathDiagnosticLocation::getNextStmt(N))
366 return PathDiagnosticLocation(
[all...]
H A DBugReporterVisitors.cpp114 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());
1105 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(),
1407 PathDiagnosticLocation Lo
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSizeofPointer.cpp65 PathDiagnosticLocation ELoc =
66 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC);
H A DCheckSecuritySyntaxOnly.cpp292 PathDiagnosticLocation FSLoc =
293 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC);
327 PathDiagnosticLocation CELoc =
328 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
367 PathDiagnosticLocation CELoc =
368 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
408 PathDiagnosticLocation CELoc =
409 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
480 PathDiagnosticLocation CELoc =
481 PathDiagnosticLocation
[all...]
H A DIdenticalExprChecker.cpp70 PathDiagnosticLocation ELoc =
71 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager());
125 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC);
154 PathDiagnosticLocation ELoc =
155 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC);
237 PathDiagnosticLocation ELoc =
238 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager());
258 PathDiagnosticLocation ELoc =
259 PathDiagnosticLocation::createConditionalColonLoc(
H A DAnalyzerStatsChecker.cpp116 output.str(), PathDiagnosticLocation(D, SM));
133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
H A DCheckObjCInstMethSignature.cpp69 PathDiagnosticLocation MethDLoc =
70 PathDiagnosticLocation::createBegin(MethDerived,
H A DCheckObjCDealloc.cpp166 PathDiagnosticLocation DLoc =
167 PathDiagnosticLocation::createBegin(D, BR.getSourceManager());
258 PathDiagnosticLocation SDLoc =
259 PathDiagnosticLocation::createBegin(I, BR.getSourceManager());
H A DNSErrorChecker.cpp75 PathDiagnosticLocation L =
76 PathDiagnosticLocation::create(D, BR.getSourceManager());
122 PathDiagnosticLocation L =
123 PathDiagnosticLocation::create(D, BR.getSourceManager());
H A DCStringSyntaxChecker.cpp144 PathDiagnosticLocation Loc =
145 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC);
H A DObjCContainersASTChecker.cpp144 PathDiagnosticLocation CELoc =
145 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
H A DObjCMissingSuperCallChecker.cpp198 PathDiagnosticLocation DLoc =
199 PathDiagnosticLocation::createEnd(MD->getBody(),
H A DObjCUnusedIVarsChecker.cpp164 PathDiagnosticLocation L =
165 PathDiagnosticLocation::create(I->first, BR.getSourceManager());
H A DVirtualCallChecker.cpp183 PathDiagnosticLocation CELoc =
184 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
H A DLLVMConventionsChecker.cpp184 PathDiagnosticLocation VDLoc =
185 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager());
289 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin(
H A DDeadStoresChecker.cpp165 PathDiagnosticLocation L, SourceRange R) {
223 PathDiagnosticLocation ExLoc =
224 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC);
379 PathDiagnosticLocation Loc =
380 PathDiagnosticLocation::create(V, BR.getSourceManager());
H A DMallocSizeofChecker.cpp234 PathDiagnosticLocation L =
235 PathDiagnosticLocation::createBegin(i->AllocCall->getCallee(),
H A DUnreachableCodeChecker.cpp151 PathDiagnosticLocation DL;
155 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC);
H A DIvarInvalidationChecker.cpp546 PathDiagnosticLocation IvarDecLocation =
547 PathDiagnosticLocation::createBegin(FirstIvarDecl, BR.getSourceManager());
563 PathDiagnosticLocation MethodDecLocation =
564 PathDiagnosticLocation::createEnd(MethodD->getBody(),
576 PathDiagnosticLocation::createBegin(IvarD, BR.getSourceManager()));
H A DDirectIvarAssignment.cpp204 PathDiagnosticLocation(IvarRef, BR.getSourceManager(), DCtx));
H A DTestAfterDivZeroChecker.cpp125 PathDiagnosticLocation L =
126 PathDiagnosticLocation::create(P, BRC.getSourceManager());
H A DMacOSKeychainAPIChecker.cpp526 PathDiagnosticLocation LocUsedForUniqueing;
536 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocStmt,
616 PathDiagnosticLocation Pos(ArgExpr, BRC.getSourceManager(),

Completed in 309 milliseconds

12