Searched defs:Stmts (Results 1 - 10 of 10) sorted by relevance

/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/Analysis/
H A DBodyFarm.cpp105 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { argument
106 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation());
214 Stmt *Stmts[2]; local
215 Stmts[0] = B;
216 Stmts[1] = CE;
217 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2));
315 Stmt *Stmts[2]; local
316 Stmts[0] =
327 Stmts[1] = M.makeReturn(RetVal);
328 CompoundStmt *Body = M.makeCompound(ArrayRef<Stmt*>(Stmts,
[all...]
/external/clang/lib/Parse/
H A DParser.cpp724 StmtVector Stmts; local
725 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
735 StmtVector Stmts; local
736 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
747 StmtVector Stmts; local
748 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
757 StmtVector Stmts; local
758 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
H A DParseStmt.cpp94 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement, argument
102 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts,
115 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts, argument
187 DeclGroupPtrTy Decl = ParseDeclaration(Stmts, Declarator::BlockContext,
794 StmtVector Stmts; local
825 Stmts.push_back(R.release());
836 ParseMicrosoftIfExistsStatement(Stmts);
842 R = ParseStatementOrDeclaration(Stmts, false);
862 DeclGroupPtrTy Res = ParseDeclaration(Stmts,
884 Stmts
1413 StmtVector Stmts; local
2611 ParseMicrosoftIfExistsStatement(StmtVector &Stmts) argument
[all...]
H A DParseDecl.cpp1342 Parser::DeclGroupPtrTy Parser::ParseDeclaration(StmtVector &Stmts, argument
1367 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs,
1383 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs, true);
1409 Parser::ParseSimpleDeclaration(StmtVector &Stmts, unsigned Context, argument
/external/clang/lib/AST/
H A DStmt.cpp256 CompoundStmt::CompoundStmt(ASTContext &C, ArrayRef<Stmt*> Stmts, argument
259 CompoundStmtBits.NumStmts = Stmts.size();
260 assert(CompoundStmtBits.NumStmts == Stmts.size() &&
263 if (Stmts.size() == 0) {
268 Body = new (C) Stmt*[Stmts.size()];
269 std::copy(Stmts.begin(), Stmts.end(), Body);
272 void CompoundStmt::setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts) { argument
278 memcpy(Body, Stmts, sizeof(Stmt *) * NumStmts);
725 Stmt **Stmts local
785 Stmt **Stmts = reinterpret_cast<Stmt **>(this + 1); local
[all...]
/external/clang/include/clang/Parse/
H A DParser.h1475 StmtVector Stmts; local
1476 return ParseStatementOrDeclaration(Stmts, true, TrailingElseLoc);
1478 StmtResult ParseStatementOrDeclaration(StmtVector &Stmts,
1482 StmtVector &Stmts,
1545 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts);
1603 DeclGroupPtrTy ParseDeclaration(StmtVector &Stmts,
1606 DeclGroupPtrTy ParseSimpleDeclaration(StmtVector &Stmts,
/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/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp114 SmallVector<Stmt *, 32> Stmts; member in class:__anon16232::RewriteObjC
1439 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1456 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1503 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty");
1504 assert(isa<ObjCForCollectionStmt>(Stmts.back()) &&
1660 Stmts.pop_back();
4651 dyn_cast<ObjCForCollectionStmt>(Stmts.back()))
4663 Stmts
[all...]
H A DRewriteModernObjC.cpp123 SmallVector<Stmt *, 32> Stmts; member in class:__anon16229::RewriteModernObjC
1644 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1674 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1721 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty");
1722 assert(isa<ObjCForCollectionStmt>(Stmts.back()) &&
1881 Stmts.pop_back();
5631 dyn_cast<ObjCForCollectionStmt>(Stmts.back()))
5643 Stmts
[all...]

Completed in 257 milliseconds