HomeSort by relevance Sort by last modified time
    Searched refs:Stmt (Results 51 - 75 of 223) sorted by null

1 23 4 5 6 7 8 9

  /external/clang/lib/AST/
ExternalASTSource.cpp 37 Stmt *ExternalASTSource::GetExternalDeclStmt(uint64_t Offset) {
StmtIterator.cpp 116 StmtIteratorBase::StmtIteratorBase(Decl *d, Stmt **s)
117 : stmt(s), decl(d), RawVAPtr(d ? DeclMode : 0) {
123 : stmt(0), DGI(dgi), RawVAPtr(DeclGroupMode), DGE(dge) {
128 : stmt(0), decl(0), RawVAPtr(SizeOfTypeVAMode) {
132 Stmt*& StmtIteratorBase::GetDeclExpr() const {
136 return const_cast<Stmt*&>(VAPtr->SizeExpr);
  /external/clang/lib/CodeGen/
CGStmt.cpp 10 // This contains code to emit Stmt nodes as LLVM code.
32 void CodeGenFunction::EmitStopPoint(const Stmt *S) {
43 void CodeGenFunction::EmitStmt(const Stmt *S) {
72 case Stmt::NoStmtClass:
73 case Stmt::CXXCatchStmtClass:
74 case Stmt::SEHExceptStmtClass:
75 case Stmt::SEHFinallyStmtClass:
76 case Stmt::MSDependentExistsStmtClass:
78 case Stmt::NullStmtClass:
79 case Stmt::CompoundStmtClass
    [all...]
  /external/clang/include/clang/AST/
EvaluatedExprVisitor.h 77 void VisitStmt(Stmt *S) {
78 for (Stmt::child_range C = S->children(); C; ++C)
ExprObjC.h 30 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) {
157 static bool classof(const Stmt *T) {
188 return child_range((Stmt **)getElements(),
189 (Stmt **)getElements() + NumElements);
326 static bool classof(const Stmt *T) {
334 return child_range(reinterpret_cast<Stmt **>(this + 1)
    [all...]
ExprCXX.h 91 static bool classof(const Stmt *T) {
139 static bool classof(const Stmt *T) {
166 static bool classof(const Stmt *T) {
212 static bool classof(const Stmt *T) {
251 static bool classof(const Stmt *T) {
286 static bool classof(const Stmt *T) {
319 static bool classof(const Stmt *T) {
347 static bool classof(const Stmt *T) {
412 static bool classof(const Stmt *S) {
443 static bool classof(const Stmt *T)
    [all...]
  /external/clang/lib/ARCMigrate/
TransUnusedInitDelegate.cpp 35 Stmt *Body;
44 void transformBody(Stmt *body, Decl *ParentD) {
  /external/clang/lib/StaticAnalyzer/Checkers/
ArrayBoundChecker.cpp 30 void checkLocation(SVal l, bool isLoad, const Stmt* S,
35 void ArrayBoundChecker::checkLocation(SVal l, bool isLoad, const Stmt* LoadS,
UndefinedAssignmentChecker.cpp 30 void checkBind(SVal location, SVal val, const Stmt *S,
36 const Stmt *StoreE,
CStringSyntaxChecker.cpp 89 void VisitChildren(Stmt *S);
90 void VisitStmt(Stmt *S) {
168 void WalkAST::VisitChildren(Stmt *S) {
169 for (Stmt::child_iterator I = S->child_begin(), E = S->child_end(); I != E;
171 if (Stmt *child = *I)
ObjCContainersASTChecker.cpp 79 void VisitChildren(Stmt *S);
80 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)
UnreachableCodeChecker.cpp 44 static inline const Stmt *getUnreachableStmt(const CFGBlock *CB);
123 if (const Stmt *label = CB->getLabel())
124 if (label->getStmtClass() == Stmt::DefaultStmtClass)
150 if (const Stmt *S = getUnreachableStmt(CB)) {
189 // Find the Stmt* in a CFGBlock for reporting a warning
190 const Stmt *UnreachableCodeChecker::getUnreachableStmt(const CFGBlock *CB) {
195 if (const Stmt *S = CB->getTerminator())
221 const Stmt *cond = pred->getTerminatorCondition();
CheckerDocumentation.cpp 64 /// callback can be specialized to be called with any subclass of Stmt.
77 /// callback can be specialized to be called with any subclass of Stmt.
116 void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const {}
127 void checkLocation(SVal Loc, bool IsLoad, const Stmt *S,
137 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {}
MallocChecker.cpp 46 const Stmt *S;
49 RefState(Kind k, const Stmt *s) : K(k), S(s) {}
55 const Stmt *getStmt() const { return S; }
61 static RefState getAllocated(const Stmt *s) {
64 static RefState getReleased(const Stmt *s) { return RefState(Released, s); }
65 static RefState getRelinquished(const Stmt *s) {
157 void checkLocation(SVal l, bool isLoad, const Stmt *S,
220 const Stmt *S = 0) const;
282 const Stmt *Stmt) {
    [all...]
  /external/clang/unittests/AST/
ASTContextParentMapTest.cpp 35 MatchVerifier<Stmt> Verifier;
61 MatchVerifier<Stmt> TemplateVerifier;
StmtPrinterTest.cpp 10 // This file contains tests for Stmt::printPretty() and related methods.
34 void PrintStmt(raw_ostream &Out, const ASTContext *Context, const Stmt *S) {
47 const Stmt *S = Result.Nodes.getStmtAs<Stmt>("id");
108 has(compoundStmt(has(stmt().bind("id"))))),
123 has(compoundStmt(has(stmt().bind("id"))))),
  /external/clang/lib/Analysis/
BodyFarm.cpp 57 /// Create a new compound stmt using the provided statements.
58 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
105 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) {
158 typedef Stmt *(*FunctionFarmer)(ASTContext &C, const FunctionDecl *D);
161 static Stmt *create_dispatch_once(ASTContext &C, const FunctionDecl *D) {
214 Stmt *Stmts[2];
217 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2));
239 static Stmt *create_dispatch_sync(ASTContext &C, const FunctionDecl *D) {
265 static Stmt *create_OSAtomicCompareAndSwap(ASTContext &C, const FunctionDecl *D)
315 Stmt *Stmts[2]
    [all...]
ProgramPoint.cpp 21 ProgramPoint ProgramPoint::getProgramPoint(const Stmt *S, ProgramPoint::Kind K,
  /frameworks/compile/slang/
slang_rs_check_ast.cpp 26 void RSCheckAST::VisitStmt(clang::Stmt *S) {
27 // This function does the actual iteration through all sub-Stmt's within
28 // a given Stmt. Note that this function is skipped by all of the other
30 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end();
33 if (clang::Stmt *Child = *I) {
70 if (clang::Stmt *Body = FD->getBody()) {
163 } else if (clang::Stmt *Body = (*DI)->getBody()) {
slang_rs_object_ref_count.cpp 25 #include "clang/AST/Stmt.h"
95 std::list<clang::Stmt*> &StmtList, clang::SourceLocation Loc) {
99 clang::Stmt **CompoundStmtList;
100 CompoundStmtList = new clang::Stmt*[NewStmtCount];
102 std::list<clang::Stmt*>::const_iterator I = StmtList.begin();
103 std::list<clang::Stmt*>::const_iterator E = StmtList.end();
119 clang::Stmt *S,
120 std::list<clang::Stmt*> &StmtList) {
124 clang::Stmt **UpdatedStmtList =
125 new clang::Stmt*[CS->size() + StmtList.size()]
    [all...]
slang_rs_object_ref_count.h 30 class Stmt;
71 static clang::Stmt *ClearRSObject(clang::VarDecl *VD,
139 void VisitStmt(clang::Stmt *S);
slang_rs_check_ast.h 48 void VisitStmt(clang::Stmt *S);
  /external/clang/lib/StaticAnalyzer/Core/
CoreEngine.cpp 344 if (const Stmt *Term = B->getTerminator()) {
349 case Stmt::BinaryOperatorClass: // '&&' and '||'
353 case Stmt::BinaryConditionalOperatorClass:
354 case Stmt::ConditionalOperatorClass:
362 case Stmt::ChooseExprClass:
366 case Stmt::CXXTryStmtClass: {
379 case Stmt::DoStmtClass:
383 case Stmt::CXXForRangeStmtClass:
387 case Stmt::ForStmtClass:
391 case Stmt::ContinueStmtClass
    [all...]
  /external/clang/include/clang/Analysis/FlowSensitive/
DataflowValues.h 53 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/Rewrite/Core/
Rewriter.h 30 class Stmt;
249 /// ReplaceStmt - This replaces a Stmt/Expr with another, using the pretty
252 bool ReplaceStmt(Stmt *From, Stmt *To);
266 std::string ConvertToString(Stmt *From);

Completed in 1350 milliseconds

1 23 4 5 6 7 8 9