Home
last modified time | relevance | path

Searched refs:Stmts (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Analysis/
DBodyFarm.cpp108 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound() argument
109 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound()
227 Stmt *Stmts[] = { B, CE }; in create_dispatch_once() local
228 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once()
326 Stmt *Stmts[2]; in create_OSAtomicCompareAndSwap() local
327 Stmts[0] = in create_OSAtomicCompareAndSwap()
338 Stmts[1] = M.makeReturn(RetVal); in create_OSAtomicCompareAndSwap()
339 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
/external/clang/lib/Parse/
DParseStmt.cpp41 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()
151 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts, in ParseStatementOrDeclarationAfterAttributes() argument
279 ParseMicrosoftIfExistsStatement(Stmts); in ParseStatementOrDeclarationAfterAttributes()
362 return ParsePragmaLoopHint(Stmts, OnlyStatement, TrailingElseLoc, Attrs); in ParseStatementOrDeclarationAfterAttributes()
574 StmtVector Stmts; in ParseLabeledStatement() local
580 Stmts, /*OnlyStmts*/ true, nullptr, TempAttrs); in ParseLabeledStatement()
918 StmtVector Stmts; in ParseCompoundStatementBody() local
[all …]
/external/clang/utils/TableGen/
DClangASTNodesEmitter.cpp155 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/AST/
DStmt.cpp281 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, in CompoundStmt() argument
284 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt()
285 assert(CompoundStmtBits.NumStmts == Stmts.size() && in CompoundStmt()
288 if (Stmts.size() == 0) { in CompoundStmt()
293 Body = new (C) Stmt*[Stmts.size()]; in CompoundStmt()
294 std::copy(Stmts.begin(), Stmts.end(), Body); in CompoundStmt()
297 void CompoundStmt::setStmts(const ASTContext &C, Stmt **Stmts, in setStmts() argument
304 memcpy(Body, Stmts, sizeof(Stmt *) * NumStmts); in setStmts()
783 Stmt **Stmts = getStmts(); in ObjCAtTryStmt() local
784 Stmts[0] = atTryStmt; in ObjCAtTryStmt()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp116 SmallVector<Stmt *, 32> Stmts; member in __anon84a5219c0111::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()
4581 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader()
4593 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer()
4595 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer()
4724 if (Stmts.empty() || !IsDeclStmtInForeachHeader(DS)) in RewriteFunctionBodyOrGlobalInitializer()
[all …]
DRewriteModernObjC.cpp124 SmallVector<Stmt *, 32> Stmts; member in __anon5ebb9f610111::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()
5532 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader()
5544 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer()
5546 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer()
5695 if (Stmts.empty() || !IsDeclStmtInForeachHeader(DS)) in RewriteFunctionBodyOrGlobalInitializer()
[all …]
/external/clang/include/clang/Parse/
DParser.h1570 ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement,
1573 StmtVector &Stmts,
1602 StmtResult ParsePragmaLoopHint(StmtVector &Stmts, bool OnlyStatement,
1639 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts);
/external/clang/lib/Serialization/
DASTReaderStmt.cpp133 SmallVector<Stmt *, 16> Stmts; in VisitCompoundStmt() local
136 Stmts.push_back(Reader.ReadSubStmt()); in VisitCompoundStmt()
137 S->setStmts(Reader.getContext(), Stmts.data(), Stmts.size()); in VisitCompoundStmt()
/external/clang/include/clang/AST/
DStmt.h557 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts,
572 void setStmts(const ASTContext &C, Stmt **Stmts, unsigned NumStmts);
/external/clang/include/clang/Basic/
DAttr.td60 // Decls and Stmts are possibly AttrSubjects (even though the syntax may not