/external/clang/lib/Sema/ |
AnalysisBasedWarnings.cpp | 176 const Stmt *S = CS.getStmt(); 323 static void CheckFallThroughForBody(Sema &S, const Decl *D, const Stmt *Body, 464 static void CreateIfFixit(Sema &S, const Stmt *If, const Stmt *Then, 465 const Stmt *Else, bool CondVal, 501 const Stmt *Term = I->Terminator; 528 case Stmt::IfStmtClass: { 538 case Stmt::ConditionalOperatorClass: { 548 case Stmt::BinaryOperatorClass: { 568 case Stmt::WhileStmtClass [all...] |
JumpDiagnostics.cpp | 62 llvm::DenseMap<Stmt*, unsigned> LabelAndGotoScopes; 63 SmallVector<Stmt*, 16> Jumps; 68 JumpScopeChecker(Stmt *Body, Sema &S); 73 void BuildScopeInformation(Stmt *S, unsigned &origParentScope); 80 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, 89 JumpScopeChecker::JumpScopeChecker(Stmt *Body, Sema &s) : S(s) { 153 // C++11 [stmt.dcl]p3: 161 // C++03 [stmt.dcl.p3: 287 void JumpScopeChecker::BuildScopeInformation(Stmt *S, unsigned &origParentScope) [all...] |
ScopeInfo.cpp | 52 case Stmt::DeclRefExprClass: 56 case Stmt::MemberExprClass: { 62 case Stmt::ObjCIvarRefExprClass: { 68 case Stmt::PseudoObjectExprClass: {
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
BugReporterVisitor.h | 111 /// Creates a visitor for every VarDecl inside a Stmt and registers it with 113 static void registerStatementVarDecls(BugReport &BR, const Stmt *S); 188 PathDiagnosticPiece *VisitTerminator(const Stmt *Term, 331 bool trackNullOrUndefValue(const ExplodedNode *N, const Stmt *S, BugReport &R, 334 const Expr *getDerefExpr(const Stmt *S); 335 const Stmt *GetDenomExpr(const ExplodedNode *N); 336 const Stmt *GetRetValExpr(const ExplodedNode *N);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
MallocSizeofChecker.cpp | 32 typedef llvm::PointerUnion<const Stmt *, const VarDecl *> ExprParent; 60 void VisitChild(ExprParent Parent, const Stmt *S) { 67 void VisitChildren(const Stmt *S) { 68 for (Stmt::const_child_iterator I = S->child_begin(), E = S->child_end(); 70 if (const Stmt *child = *I) 87 TypeCallPair VisitStmt(const Stmt *S) {
|
BoolAssignmentChecker.cpp | 29 void checkBind(SVal loc, SVal val, const Stmt *S, CheckerContext &C) const; 54 void BoolAssignmentChecker::checkBind(SVal loc, SVal val, const Stmt *S,
|
CheckObjCDealloc.cpp | 31 static bool scan_dealloc(Stmt *S, Selector Dealloc) { 45 for (Stmt::child_iterator I = S->child_begin(), E= S->child_end(); I!=E; ++I) 52 static bool scan_ivar_release(Stmt *S, ObjCIvarDecl *ID, 93 for (Stmt::child_iterator I = S->child_begin(), E= S->child_end(); I!=E; ++I)
|
DirectIvarAssignment.cpp | 80 void VisitStmt(const Stmt *S) { VisitChildren(S); } 84 void VisitChildren(const Stmt *S) { 85 for (Stmt::const_child_range I = S->children(); I; ++I) 158 const Stmt *Body = M->getBody();
|
/external/clang/include/clang/StaticAnalyzer/Core/ |
CheckerManager.h | 27 class Stmt; 181 /// \brief Run checkers handling Decls containing a Stmt body. 197 const Stmt *S, 210 const Stmt *S, 219 const Stmt *S, ExprEngine &Eng, 272 const Stmt *NodeEx, 273 const Stmt *BoundEx, 280 const Stmt *S, ExprEngine &Eng, 294 void runCheckersForBranchCondition(const Stmt *condition, 313 SymbolReaper &SymReaper, const Stmt *S [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
ExprEngine.h | 143 const Stmt *getStmt() const; 189 const Stmt *ReferenceStmt, const LocationContext *LC, 190 const Stmt *DiagnosticStmt = 0, 220 void processBranch(const Stmt *Condition, const Stmt *Term, 303 void Visit(const Stmt *S, ExplodedNode *Pred, ExplodedNodeSet &Dst); 409 const Stmt *S, bool IsBaseDtor, 461 void evalBind(ExplodedNodeSet &Dst, const Stmt *StoreE, ExplodedNode *Pred, 526 const Stmt *NodeEx, /* This will eventually be a CFGStmt */ 527 const Stmt *BoundEx [all...] |
SymbolManager.h | 155 const Stmt *S; 162 SymbolConjured(SymbolID sym, const Stmt *s, const LocationContext *lctx, 169 const Stmt *getStmt() const { return S; } 177 static void Profile(llvm::FoldingSetNodeID& profile, const Stmt *S, 269 const Stmt *S; 274 SymbolMetadata(SymbolID sym, const MemRegion* r, const Stmt *s, QualType t, 279 const Stmt *getStmt() const { return S; } 288 const Stmt *S, QualType T, unsigned Count, 495 const SymbolConjured* conjureSymbol(const Stmt *E, 517 const SymbolMetadata* getMetadataSymbol(const MemRegion* R, const Stmt *S [all...] |
/external/clang/include/clang/AST/ |
Expr.h | 22 #include "clang/AST/Stmt.h" 100 /// Stmt. This allows an expression to be transparently used any place a Stmt 103 class Expr : public Stmt { 109 : Stmt(SC) 121 explicit Expr(StmtClass SC, EmptyShell) : Stmt(SC) { } 656 return cast<Expr>(Stmt::IgnoreImplicit()); 761 static bool classof(const Stmt *T) { 829 static bool classof(const Stmt *T) { [all...] |
/external/clang/include/clang/Analysis/Support/ |
BlkExprDeclBitVector.h | 27 class Stmt; 189 bool isTracked(const Stmt *S) { return cfg->isBlkExpr(S); } 192 unsigned getIdx(const Stmt *S) const { 251 operator()(const Stmt *S, const AnalysisDataTy& AD) { 255 operator()(const Stmt *S, const AnalysisDataTy& AD) const {
|
/external/clang/include/clang/Sema/ |
Ownership.h | 10 // This file contains classes for managing ownership of Stmt and Expr nodes. 32 class Stmt; 223 template<> struct IsResultPtrLowBitFree<Stmt*> { 234 typedef ActionResult<Stmt*> StmtResult; 243 typedef llvm::MutableArrayRef<Stmt*> MultiStmtArg; 262 inline Stmt *AssertSuccess(StmtResult R) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerManager.cpp | 140 const Stmt *S; 148 const Stmt *s, ExprEngine &eng, bool wasInlined = false) 169 const Stmt *S, 267 const Stmt *NodeEx; /* Will become a CFGStmt */ 268 const Stmt *BoundEx; 275 SVal loc, bool isLoad, const Stmt *NodeEx, 276 const Stmt *BoundEx, 300 const Stmt *NodeEx, 301 const Stmt *BoundEx, 314 const Stmt *S [all...] |
PathDiagnostic.cpp | 138 // We need to flatten the locations (convert Stmt* to locations) because 428 static SourceLocation getValidSourceLocation(const Stmt* S, 447 const Stmt *Parent = S; 456 const Stmt *Body = ADC->getBody(); 495 if (const Stmt *CallerBody = CallerInfo->getBody()) 514 PathDiagnosticLocation::createBegin(const Stmt *S, 523 PathDiagnosticLocation::createEnd(const Stmt *S, 583 const Stmt* S = 0; 614 const Stmt *S = 0; 684 const Stmt *S = asStmt() [all...] |
BugReporterVisitors.cpp | 43 const Expr *bugreporter::getDerefExpr(const Stmt *S) { 78 const Stmt *bugreporter::GetDenomExpr(const ExplodedNode *N) { 79 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt(); 85 const Stmt *bugreporter::GetRetValExpr(const ExplodedNode *N) { 86 const Stmt *S = N->getLocationAs<PostStmt>()->getStmt(); 164 static void addVisitorIfNecessary(const ExplodedNode *Node, const Stmt *S, 505 const Stmt *S = PS->getStmt(); 779 const Stmt *S, [all...] |
/external/clang/lib/ARCMigrate/ |
Internals.h | 21 class Stmt; 66 void removeStmt(Stmt *S); 69 void replaceStmt(Stmt *S, StringRef text);
|
/external/clang/lib/Analysis/ |
AnalysisDeclContext.cpp | 89 Stmt *AnalysisDeclContext::getBody(bool &IsAutosynthesized) const { 92 Stmt *Body = FD->getBody(); 110 Stmt *AnalysisDeclContext::getBody() const { 137 void AnalysisDeclContext::registerForcedBlockExpression(const Stmt *stmt) { 140 // Default construct an entry for 'stmt'. 141 if (const Expr *e = dyn_cast<Expr>(stmt)) 142 stmt = e->IgnoreParens(); 143 (void) (*forcedBlkExprs)[stmt]; 147 AnalysisDeclContext::getBlockForRegisteredExpression(const Stmt *stmt) [all...] |
CallGraph.cpp | 39 void VisitStmt(Stmt *S) { VisitChildren(S); } 85 void VisitChildren(Stmt *S) { 86 for (Stmt::child_range I = S->children(); I; ++I) 150 if (Stmt *Body = D->getBody())
|
/external/clang/lib/Parse/ |
ParseAST.cpp | 19 #include "clang/AST/Stmt.h" 92 Stmt::EnableStatistics(); 150 Stmt::PrintStats();
|
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 39 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc). 81 // actually be Decl, Stmt, or Type): 93 else if (const Stmt *S = DynNode.get<Stmt>()) 116 bool TraverseStmt(Stmt *StmtNode) { 118 const Stmt *StmtToTraverse = StmtNode; 172 bool shouldUseDataRecursionFor(clang::Stmt *S) const { return false; } 195 bool baseTraverse(const Stmt &StmtNode) { 196 return VisitorBase::TraverseStmt(const_cast<Stmt*>(&StmtNode)); 324 bool TraverseStmt(Stmt *StmtNode) [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
UninitializedValues.h | 18 #include "clang/AST/Stmt.h" 33 const Stmt *Terminator;
|
/external/clang/include/clang/Frontend/ |
ChainedIncludesSource.h | 45 virtual Stmt *GetExternalDeclStmt(uint64_t Offset);
|
Utils.h | 43 class Stmt;
|