/external/clang/lib/AST/ |
D | StmtObjC.cpp | 37 Stmt **Stmts = getStmts(); in ObjCAtTryStmt() local 38 Stmts[0] = atTryStmt; in ObjCAtTryStmt() 40 Stmts[I + 1] = CatchStmts[I]; in ObjCAtTryStmt() 43 Stmts[NumCatchStmts + 1] = atFinallyStmt; in ObjCAtTryStmt()
|
D | StmtCXX.cpp | 47 Stmt **Stmts = reinterpret_cast<Stmt **>(this + 1); in CXXTryStmt() local 48 Stmts[0] = tryBlock; in CXXTryStmt() 49 std::copy(handlers.begin(), handlers.end(), Stmts + 1); in CXXTryStmt()
|
D | Stmt.cpp | 282 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, in CompoundStmt() argument 285 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt() 286 assert(CompoundStmtBits.NumStmts == Stmts.size() && in CompoundStmt() 289 if (Stmts.size() == 0) { in CompoundStmt() 294 Body = new (C) Stmt*[Stmts.size()]; in CompoundStmt() 295 std::copy(Stmts.begin(), Stmts.end(), Body); in CompoundStmt() 298 void CompoundStmt::setStmts(const ASTContext &C, ArrayRef<Stmt *> Stmts) { in setStmts() argument 301 CompoundStmtBits.NumStmts = Stmts.size(); in setStmts() 302 assert(CompoundStmtBits.NumStmts == Stmts.size() && in setStmts() 305 Body = new (C) Stmt*[Stmts.size()]; in setStmts() [all …]
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 105 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound() argument 106 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound() 224 Stmt *Stmts[] = { B, CE }; in create_dispatch_once() local 225 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once() 323 Stmt *Stmts[2]; in create_OSAtomicCompareAndSwap() local 324 Stmts[0] = in create_OSAtomicCompareAndSwap() 335 Stmts[1] = M.makeReturn(RetVal); in create_OSAtomicCompareAndSwap() 336 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 41 StmtVector Stmts; in ParseStatement() local 42 Res = ParseStatementOrDeclaration(Stmts, true, TrailingElseLoc); in ParseStatement() 98 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement, in ParseStatementOrDeclaration() argument 106 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts, in ParseStatementOrDeclaration() 148 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts, in ParseStatementOrDeclarationAfterAttributes() argument 280 ParseMicrosoftIfExistsStatement(Stmts); in ParseStatementOrDeclarationAfterAttributes() 368 return ParsePragmaLoopHint(Stmts, OnlyStatement, TrailingElseLoc, Attrs); in ParseStatementOrDeclarationAfterAttributes() 580 StmtVector Stmts; in ParseLabeledStatement() local 586 Stmts, /*OnlyStmts*/ true, nullptr, TempAttrs); in ParseLabeledStatement() 927 StmtVector Stmts; in ParseCompoundStatementBody() local [all …]
|
/external/clang/utils/TableGen/ |
D | ClangASTNodesEmitter.cpp | 155 const std::vector<Record*> Stmts in run() local 160 for (unsigned i = 0, e = Stmts.size(); i != e; ++i) { in run() 161 Record *R = Stmts[i]; in run()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 116 SmallVector<Stmt *, 32> Stmts; member in __anon6e6e6bfc0111::RewriteObjC 1408 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt() 1425 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt() 1472 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty"); in RewriteObjCForCollectionStmt() 1473 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt() 1629 Stmts.pop_back(); in RewriteObjCForCollectionStmt() 4567 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader() 4579 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 4581 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 4709 if (Stmts.empty() || !IsDeclStmtInForeachHeader(DS)) in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
D | RewriteModernObjC.cpp | 124 SmallVector<Stmt *, 32> Stmts; member in __anoneeab31c10111::RewriteModernObjC 1628 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt() 1658 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt() 1705 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty"); in RewriteObjCForCollectionStmt() 1706 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt() 1865 Stmts.pop_back(); in RewriteObjCForCollectionStmt() 5510 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader() 5522 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 5524 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 5672 if (Stmts.empty() || !IsDeclStmtInForeachHeader(DS)) in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1645 ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement, 1648 StmtVector &Stmts, 1677 StmtResult ParsePragmaLoopHint(StmtVector &Stmts, bool OnlyStatement, 1714 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts);
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 546 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, 561 void setStmts(const ASTContext &C, ArrayRef<Stmt *> Stmts);
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 133 SmallVector<Stmt *, 16> Stmts; in VisitCompoundStmt() local 136 Stmts.push_back(Reader.ReadSubStmt()); in VisitCompoundStmt() 137 S->setStmts(Reader.getContext(), Stmts); in VisitCompoundStmt()
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 60 // Decls and Stmts are possibly AttrSubjects (even though the syntax may not
|