/external/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 108 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { argument 109 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation()); 227 Stmt *Stmts[] = { B, CE }; local 228 CompoundStmt *CS = M.makeCompound(Stmts); 326 Stmt *Stmts[2]; local 327 Stmts[0] = 338 Stmts[1] = M.makeReturn(RetVal); 339 CompoundStmt *Body = M.makeCompound(Stmts);
|
/external/clang/utils/TableGen/ |
H A D | ClangASTNodesEmitter.cpp | 155 const std::vector<Record*> Stmts local 160 for (unsigned i = 0, e = Stmts.size(); i != e; ++i) { 161 Record *R = Stmts[i];
|
/external/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 41 StmtVector Stmts; local 42 Res = ParseStatementOrDeclaration(Stmts, true, TrailingElseLoc); 98 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement, argument 106 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts, 151 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts, argument 279 ParseMicrosoftIfExistsStatement(Stmts); 362 return ParsePragmaLoopHint(Stmts, OnlyStatement, TrailingElseLoc, Attrs); 574 StmtVector Stmts; local 580 Stmts, /*OnlyStmts*/ true, nullptr, TempAttrs); 918 StmtVector Stmts; local 1828 ParsePragmaLoopHint(StmtVector &Stmts, bool OnlyStatement, SourceLocation *TrailingElseLoc, ParsedAttributesWithRange &Attrs) argument 2089 ParseMicrosoftIfExistsStatement(StmtVector &Stmts) argument [all...] |
/external/clang/lib/AST/ |
H A D | Stmt.cpp | 281 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, argument 284 CompoundStmtBits.NumStmts = Stmts.size(); 285 assert(CompoundStmtBits.NumStmts == Stmts.size() && 288 if (Stmts.size() == 0) { 293 Body = new (C) Stmt*[Stmts.size()]; 294 std::copy(Stmts.begin(), Stmts.end(), Body); 297 void CompoundStmt::setStmts(const ASTContext &C, Stmt **Stmts, argument 304 memcpy(Body, Stmts, sizeof(Stmt *) * NumStmts); 783 Stmt **Stmts local 843 Stmt **Stmts = reinterpret_cast<Stmt **>(this + 1); local [all...] |
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 124 SmallVector<Stmt *, 32> Stmts; member in class:__anon1061::RewriteModernObjC 1628 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) 1658 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) 1705 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty"); 1706 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && 1865 Stmts.pop_back(); 5532 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) 5544 Stmts [all...] |
H A D | RewriteObjC.cpp | 116 SmallVector<Stmt *, 32> Stmts; member in class:__anon1064::RewriteObjC 1408 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) 1425 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) 1472 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty"); 1473 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && 1629 Stmts.pop_back(); 4581 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) 4593 Stmts [all...] |
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 1570 ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement, 1573 StmtVector &Stmts, 1602 StmtResult ParsePragmaLoopHint(StmtVector &Stmts, bool OnlyStatement, 1639 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts);
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 133 SmallVector<Stmt *, 16> Stmts; local 136 Stmts.push_back(Reader.ReadSubStmt()); 137 S->setStmts(Reader.getContext(), Stmts.data(), Stmts.size());
|
/external/clang/include/clang/AST/ |
H A D | Stmt.h | 117 // Make vanilla 'new' and 'delete' illegal for Stmts. 120 llvm_unreachable("Stmts cannot be allocated with regular 'new'."); 123 llvm_unreachable("Stmts cannot be released with regular 'delete'."); 310 // Only allow allocation of Stmts using the allocator in ASTContext 557 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, 572 void setStmts(const ASTContext &C, Stmt **Stmts, unsigned NumStmts);
|