Searched refs:Stmt (Results 51 - 75 of 237) sorted by relevance

12345678910

/external/clang/lib/ARCMigrate/
H A DTransUnusedInitDelegate.cpp35 Stmt *Body;
44 void transformBody(Stmt *body, Decl *ParentD) {
H A DTransforms.h20 class Stmt;
49 Stmt *TopStmt;
52 BodyContext(MigrationContext &MigrateCtx, Stmt *S)
57 Stmt *getTopStmt() { return TopStmt; }
194 bool TraverseStmt(Stmt *rootS) {
208 void clearRefsIn(Stmt *S, ExprSet &refs);
215 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
217 void collectRemovables(Stmt *S, ExprSet &exprs);
/external/clang/lib/Sema/
H A DSemaStmtAttr.cpp26 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
46 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const AttributeList &A,
48 if (St->getStmtClass() != Stmt::DoStmtClass &&
49 St->getStmtClass() != Stmt::ForStmtClass &&
50 St->getStmtClass() != Stmt::CXXForRangeStmtClass &&
51 St->getStmtClass() != Stmt::WhileStmtClass) {
197 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
218 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
H A DAnalysisBasedWarnings.cpp192 // which, process all the Stmt's in this block to find any recursive calls.
233 const Stmt *Body,
358 const Stmt *S = CS.getStmt();
500 static void CheckFallThroughForBody(Sema &S, const Decl *D, const Stmt *Body,
642 static void CreateIfFixit(Sema &S, const Stmt *If, const Stmt *Then,
643 const Stmt *Else, bool CondVal,
704 const Stmt *Term = I->Terminator;
720 switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) {
727 case Stmt
902 markFallthroughVisited(const AttributedStmt *Stmt) argument
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundChecker.cpp31 void checkLocation(SVal l, bool isLoad, const Stmt* S,
36 void ArrayBoundChecker::checkLocation(SVal l, bool isLoad, const Stmt* LoadS,
H A DUndefinedAssignmentChecker.cpp30 void checkBind(SVal location, SVal val, const Stmt *S,
36 const Stmt *StoreE,
H A DCStringSyntaxChecker.cpp89 void VisitChildren(Stmt *S);
90 void VisitStmt(Stmt *S) {
170 void WalkAST::VisitChildren(Stmt *S) {
171 for (Stmt::child_iterator I = S->child_begin(), E = S->child_end(); I != E;
173 if (Stmt *child = *I)
H A DObjCContainersASTChecker.cpp80 void VisitChildren(Stmt *S);
81 void VisitStmt(Stmt *S) { VisitChildren(S); }
155 void WalkAST::VisitChildren(Stmt *S) {
156 for (Stmt::child_iterator I = S->child_begin(), E = S->child_end(); I!=E; ++I)
157 if (Stmt *child = *I)
H A DUnreachableCodeChecker.cpp44 static inline const Stmt *getUnreachableStmt(const CFGBlock *CB);
126 if (const Stmt *label = CB->getLabel())
127 if (label->getStmtClass() == Stmt::DefaultStmtClass)
153 if (const Stmt *S = getUnreachableStmt(CB)) {
195 // Find the Stmt* in a CFGBlock for reporting a warning
196 const Stmt *UnreachableCodeChecker::getUnreachableStmt(const CFGBlock *CB) {
201 if (const Stmt *S = CB->getTerminator())
229 const Stmt *cond = pred->getTerminatorCondition();
H A DCheckerDocumentation.cpp65 /// callback can be specialized to be called with any subclass of Stmt.
78 /// callback can be specialized to be called with any subclass of Stmt.
117 void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const {}
128 void checkLocation(SVal Loc, bool IsLoad, const Stmt *S,
138 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {}
H A DDirectIvarAssignment.cpp76 void VisitStmt(const Stmt *S) { VisitChildren(S); }
80 void VisitChildren(const Stmt *S) {
81 for (Stmt::const_child_range I = S->children(); I; ++I)
148 const Stmt *Body = M->getBody();
H A DMallocSizeofChecker.cpp32 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) {
/external/clang/unittests/AST/
H A DASTContextParentMapTest.cpp35 MatchVerifier<Stmt> Verifier;
61 MatchVerifier<Stmt> TemplateVerifier;
/external/clang/include/clang/AST/
H A DExprCXX.h93 static bool classof(const Stmt *T) {
142 static bool classof(const Stmt *T) {
169 static bool classof(const Stmt *T) {
214 static bool classof(const Stmt *T) {
252 static bool classof(const Stmt *T) {
286 static bool classof(const Stmt *T) {
321 static bool classof(const Stmt *T) {
351 static bool classof(const Stmt *T) {
417 static bool classof(const Stmt *S) {
448 static bool classof(const Stmt *
[all...]
H A DExprObjC.h30 Stmt *String;
50 static bool classof(const Stmt *T) {
80 static bool classof(const Stmt *T) {
93 Stmt *SubExpr;
121 static bool classof(const Stmt *T) {
158 static bool classof(const Stmt *T) {
189 return child_range((Stmt **)getElements(),
190 (Stmt **)getElements() + NumElements);
327 static bool classof(const Stmt *T) {
335 return child_range(reinterpret_cast<Stmt **>(thi
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp344 if (const Stmt *Term = B->getTerminator()) {
350 case Stmt::DeclStmtClass:
354 case Stmt::BinaryOperatorClass: // '&&' and '||'
358 case Stmt::BinaryConditionalOperatorClass:
359 case Stmt::ConditionalOperatorClass:
367 case Stmt::ChooseExprClass:
371 case Stmt::CXXTryStmtClass: {
384 case Stmt::DoStmtClass:
388 case Stmt::CXXForRangeStmtClass:
392 case Stmt
[all...]
/external/clang/lib/CodeGen/
H A DCGStmt.cpp10 // This contains code to emit Stmt nodes as LLVM code.
35 void CodeGenFunction::EmitStopPoint(const Stmt *S) {
45 void CodeGenFunction::EmitStmt(const Stmt *S) {
75 case Stmt::NoStmtClass:
76 case Stmt::CXXCatchStmtClass:
77 case Stmt::SEHExceptStmtClass:
78 case Stmt::SEHFinallyStmtClass:
79 case Stmt::MSDependentExistsStmtClass:
81 case Stmt::NullStmtClass:
82 case Stmt
1650 AddVariableConstraints(const std::string &Constraint, const Expr &AsmExpr, const TargetInfo &Target, CodeGenModule &CGM, const AsmStmt &Stmt) argument
[all...]
H A DCodeGenPGO.cpp273 llvm::DenseMap<const Stmt *, unsigned> &CounterMap;
275 MapRegionCounters(llvm::DenseMap<const Stmt *, unsigned> &CounterMap)
302 bool VisitStmt(const Stmt *S) {
311 PGOHash::HashType getHashType(const Stmt *S) {
315 case Stmt::LabelStmtClass:
317 case Stmt::WhileStmtClass:
319 case Stmt::DoStmtClass:
321 case Stmt::ForStmtClass:
323 case Stmt::CXXForRangeStmtClass:
325 case Stmt
[all...]
/external/chromium_org/third_party/jinja2/
H A Dnodes.py111 - :class:`Stmt`: statements
246 class Stmt(Node): class in inherits:Node
263 class Output(Stmt):
270 class Extends(Stmt):
275 class For(Stmt):
286 class If(Stmt):
291 class Macro(Stmt):
299 class CallBlock(Stmt):
306 class FilterBlock(Stmt):
311 class Block(Stmt)
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitor.h109 /// Creates a visitor for every VarDecl inside a Stmt and registers it with
111 static void registerStatementVarDecls(BugReport &BR, const Stmt *S,
182 static const Expr *getNilReceiver(const Stmt *S, const ExplodedNode *N);
207 PathDiagnosticPiece *VisitTerminator(const Stmt *Term,
352 bool trackNullOrUndefValue(const ExplodedNode *N, const Stmt *S, BugReport &R,
356 const Expr *getDerefExpr(const Stmt *S);
357 const Stmt *GetDenomExpr(const ExplodedNode *N);
358 const Stmt *GetRetValExpr(const ExplodedNode *N);
/external/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowValues.h53 typedef llvm::DenseMap<const Stmt*, ValTy> StmtDataMapTy;
112 /// specified Stmt. If the dataflow analysis is a forward analysis,
113 /// this data corresponds to the point immediately before a Stmt.
115 /// the point after a Stmt. This data is only computed for block-level
117 ValTy& getStmtData(const Stmt *S) {
124 const ValTy& getStmtData(const Stmt *S) const {
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSubEngine.h25 class Stmt;
68 virtual void processBranch(const Stmt *Condition, const Stmt *Term,
/external/clang/lib/Analysis/
H A DProgramPoint.cpp21 ProgramPoint ProgramPoint::getProgramPoint(const Stmt *S, ProgramPoint::Kind K,
/external/clang/unittests/ASTMatchers/Dynamic/
H A DVariantValueTest.cpp57 EXPECT_EQ("Matcher<Stmt>", Value.getTypeAsString());
69 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<Stmt>());
144 .hasTypedMatcher<Stmt>());
151 .getTypedMatcher<Stmt>(),
163 .getTypedMatcher<Stmt>()));
/external/clang/lib/AST/
H A DStmtIterator.cpp105 Stmt*& StmtIteratorBase::GetDeclExpr() const {
108 return const_cast<Stmt*&>(VAPtr->SizeExpr);

Completed in 530 milliseconds

12345678910