Searched refs:getStmt (Results 1 - 25 of 37) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp44 const Stmt *E = Entry.getStmt();
147 const Stmt *S = E.getStmt();
179 const Stmt *S = E.getStmt();
225 if (SymReaper.isLive(BlkExpr.getStmt(), BlkExpr.getLocationContext())) {
246 const Stmt *S = (Stmt*) (((uintptr_t) En.getStmt()) & (uintptr_t) ~0x1);
287 const Stmt *S = En.getStmt();
H A DExplodedGraph.cpp109 if (!isa<Expr>(ps.getStmt()))
112 if (const Expr *Ex = dyn_cast<Expr>(ps.getStmt())) {
121 if (CallEvent::isCallStmt(SP->getStmt()))
H A DBugReporterVisitors.cpp48 const Expr *S = dyn_cast<Expr>(Loc->getStmt());
78 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt();
85 const Stmt *S = N->getLocationAs<PostStmt>()->getStmt();
163 if (SP->getStmt() == S)
196 const ReturnStmt *Ret = dyn_cast<ReturnStmt>(SP->getStmt());
459 if (ps->getStmt() == S)
663 return VisitTrueTest(cast<Expr>(PS->getStmt()), true,
666 return VisitTrueTest(cast<Expr>(PS->getStmt()), false,
H A DExprEngine.cpp211 ProcessStmt(const_cast<Stmt*>(E.getAs<CFGStmt>()->getStmt()), Pred);
240 if (!isa<Expr>(S.getStmt()))
244 if (CallEvent::isCallStmt(S.getStmt()))
250 return !PM.isConsumedExpr(cast<Expr>(S.getStmt()));
323 currStmt = S.getStmt();
985 if (SP->getStmt() == CE)
1127 if (CS->getStmt() != Condition)
1759 if (!isa<PostStmt>(P) || cast<PostStmt>(P).getStmt() != Ex) {
1936 const Stmt *S = L->getStmt();
H A DExprEngineC.cpp522 if (const BinaryOperator *Term = cast_or_null<BinaryOperator>(T.getStmt())) {
536 const Expr *RHS = cast<Expr>(Elem.getStmt());
635 const Expr *ValEx = cast<Expr>(CS->getStmt());
H A DPathDiagnostic.cpp480 return PathDiagnosticLocation(cast<CFGStmt>(Source).getStmt(),
589 S = PS->getStmt();
619 return PathDiagnosticLocation(PS->getStmt(), SM, LC);
H A DExprEngineCXX.cpp70 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StmtElem->getStmt())) {
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DEnvironment.h41 const Stmt *getStmt() const { return first; } function in class:clang::ento::EnvironmentEntry
47 ID.AddPointer(E.getStmt());
H A DSymbolManager.h172 const Stmt *getStmt() const { return S; } function in class:clang::ento::SymbolConjured
282 const Stmt *getStmt() const { return S; } function in class:clang::ento::SymbolMetadata
H A DExprEngine.h139 const Stmt *getStmt() const;
/external/clang/lib/Analysis/
H A DCFGStmtMap.cpp57 CFGBlock *&Entry = SM[CS->getStmt()];
H A DReachableCode.cpp99 const Stmt *S = CS->getStmt();
105 const Stmt *S = T.getStmt();
H A DLiveVariables.cpp475 const Stmt *S = cast<CFGStmt>(elem).getStmt();
528 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(cs->getStmt())) {
/external/clang/include/clang/Analysis/
H A DCFG.h99 const Stmt *getStmt() const { function in class:clang::CFGStmt
226 Stmt *getStmt() { return Data.getPointer(); } function in class:clang::CFGTerminator
227 const Stmt *getStmt() const { return Data.getPointer(); } function in class:clang::CFGTerminator
231 operator Stmt *() { return getStmt(); }
232 operator const Stmt *() const { return getStmt(); }
234 Stmt *operator->() { return getStmt(); }
235 const Stmt *operator->() const { return getStmt(); }
237 Stmt &operator*() { return *getStmt(); }
238 const Stmt &operator*() const { return *getStmt(); }
240 operator bool() const { return getStmt(); }
[all...]
H A DProgramPoint.h220 const Stmt *getStmt() const { return (const Stmt*) getData1(); } function in class:clang::StmtPoint
223 const T* getStmtAs() const { return llvm::dyn_cast<T>(getStmt()); }
/external/clang/lib/StaticAnalyzer/Checkers/
H A DUndefBranchChecker.cpp94 if (PS->getStmt() == Ex)
H A DAnalyzerStatsChecker.cpp132 PathDiagnosticLocation::createBegin(CS->getStmt(),
H A DUnreachableCodeChecker.cpp135 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) {
193 return S->getStmt();
H A DMallocOverflowSecurityChecker.cpp240 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) {
H A DIdempotentOperationChecker.cpp335 = cast<StmtPoint>(C.getPredecessor()->getLocation()).getStmt();
585 B = CBM->getBlock(SP->getStmt());
H A DMacOSKeychainAPIChecker.cpp542 return PS->getStmt();
675 .getStmt());
/external/clang/lib/Sema/
H A DJumpDiagnostics.cpp479 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(),
489 CheckJump(IGS, Target->getStmt(), IGS->getGotoLoc(),
567 assert(LabelAndGotoScopes.count(TheLabel->getStmt()) &&
569 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()];
667 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target);
711 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target);
H A DAnalysisBasedWarnings.cpp172 const Stmt *S = CS.getStmt();
728 if (const AttributedStmt *AS = asFallThroughAttr(CS->getStmt())) {
798 return CS->getStmt();
/external/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowSolver.h281 ProcessStmt(S->getStmt(), recordStmtValues, AnalysisDirTag());
297 ProcessStmt(S->getStmt(), recordStmtValues, AnalysisDirTag());
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h221 const Stmt *getStmt() const;

Completed in 238 milliseconds

12