Searched refs:Stmts (Results 1 - 11 of 11) sorted by relevance

/external/clang/lib/Analysis/
H A DBodyFarm.cpp107 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { argument
108 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation());
226 Stmt *Stmts[2]; local
227 Stmts[0] = B;
228 Stmts[1] = CE;
229 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2));
327 Stmt *Stmts[2]; local
328 Stmts[0] =
339 Stmts[1] = M.makeReturn(RetVal);
340 CompoundStmt *Body = M.makeCompound(ArrayRef<Stmt*>(Stmts,
[all...]
/external/clang/lib/Parse/
H A DParseStmt.cpp41 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
210 DeclGroupPtrTy Decl = ParseDeclaration(Stmts, Declarator::BlockContext,
279 ParseMicrosoftIfExistsStatement(Stmts);
362 return ParsePragmaLoopHint(Stmts, OnlyStatement, TrailingElseLoc, Attrs);
559 StmtVector Stmts; local
565 Stmts, /*OnlyStmt
903 StmtVector Stmts; local
1544 StmtVector Stmts; local
1817 ParsePragmaLoopHint(StmtVector &Stmts, bool OnlyStatement, SourceLocation *TrailingElseLoc, ParsedAttributesWithRange &Attrs) argument
2080 ParseMicrosoftIfExistsStatement(StmtVector &Stmts) argument
[all...]
H A DParser.cpp700 StmtVector Stmts; local
701 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
711 StmtVector Stmts; local
712 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
723 StmtVector Stmts; local
724 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
733 StmtVector Stmts; local
734 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
H A DParseDecl.cpp1285 Parser::DeclGroupPtrTy Parser::ParseDeclaration(StmtVector &Stmts, argument
1310 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs,
1326 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs, true);
1352 Parser::ParseSimpleDeclaration(StmtVector &Stmts, unsigned Context, argument
/external/clang/utils/TableGen/
H A DClangASTNodesEmitter.cpp155 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/AST/
H A DStmt.cpp255 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, argument
258 CompoundStmtBits.NumStmts = Stmts.size();
259 assert(CompoundStmtBits.NumStmts == Stmts.size() &&
262 if (Stmts.size() == 0) {
267 Body = new (C) Stmt*[Stmts.size()];
268 std::copy(Stmts.begin(), Stmts.end(), Body);
271 void CompoundStmt::setStmts(const ASTContext &C, Stmt **Stmts, argument
278 memcpy(Body, Stmts, sizeof(Stmt *) * NumStmts);
723 Stmt **Stmts local
783 Stmt **Stmts = reinterpret_cast<Stmt **>(this + 1); local
[all...]
/external/clang/include/clang/Parse/
H A DParser.h1578 ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement,
1581 StmtVector &Stmts,
1610 StmtResult ParsePragmaLoopHint(StmtVector &Stmts, bool OnlyStatement,
1647 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts);
1726 DeclGroupPtrTy ParseDeclaration(StmtVector &Stmts,
1729 DeclGroupPtrTy ParseSimpleDeclaration(StmtVector &Stmts,
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp122 SmallVector<Stmt *, 32> Stmts; member in class:__anon17972::RewriteModernObjC
1640 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1670 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1717 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty");
1718 assert(isa<ObjCForCollectionStmt>(Stmts.back()) &&
1877 Stmts.pop_back();
5558 dyn_cast<ObjCForCollectionStmt>(Stmts.back()))
5570 Stmts
[all...]
H A DRewriteObjC.cpp114 SmallVector<Stmt *, 32> Stmts; member in class:__anon17975::RewriteObjC
1417 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1434 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1481 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty");
1482 assert(isa<ObjCForCollectionStmt>(Stmts.back()) &&
1638 Stmts.pop_back();
4600 dyn_cast<ObjCForCollectionStmt>(Stmts.back()))
4612 Stmts
[all...]
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp133 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 DStmt.h117 // 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'.");
313 // Only allow allocation of Stmts using the allocator in ASTContext
553 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts,
568 void setStmts(const ASTContext &C, Stmt **Stmts, unsigned NumStmts);

Completed in 326 milliseconds