/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 105 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...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | Stmt.cpp | 255 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); 725 Stmt **Stmts local 785 Stmt **Stmts = reinterpret_cast<Stmt **>(this + 1); local [all...] |
/freebsd-9.3-release/contrib/llvm/tools/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];
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 52 StmtVector Stmts; local 53 Res = ParseStatementOrDeclaration(Stmts, true, TrailingElseLoc); 109 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement, argument 117 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts, 162 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts, argument 221 DeclGroupPtrTy Decl = ParseDeclaration(Stmts, Declarator::BlockContext, 535 StmtVector Stmts; local 541 Stmts, /*OnlyStmts*/ true, 0, TempAttrs); 860 StmtVector Stmts; local 890 Stmts 1476 StmtVector Stmts; local [all...] |
H A D | Parser.cpp | 744 StmtVector Stmts; local 745 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); 755 StmtVector Stmts; local 756 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); 767 StmtVector Stmts; local 768 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); 777 StmtVector Stmts; local 778 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
|
H A D | ParseDecl.cpp | 1331 Parser::DeclGroupPtrTy Parser::ParseDeclaration(StmtVector &Stmts, argument 1356 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs, 1372 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs, true); 1398 Parser::ParseSimpleDeclaration(StmtVector &Stmts, unsigned Context, argument
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Parse/ |
H A D | Parser.h | 1494 StmtResult ParseStatementOrDeclaration(StmtVector &Stmts, 1498 StmtVector &Stmts, 1561 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts); 1619 DeclGroupPtrTy ParseDeclaration(StmtVector &Stmts, 1622 DeclGroupPtrTy ParseSimpleDeclaration(StmtVector &Stmts,
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 114 SmallVector<Stmt *, 32> Stmts; member in class:__anon3210::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 D | RewriteModernObjC.cpp | 122 SmallVector<Stmt *, 32> Stmts; member in class:__anon3207::RewriteModernObjC 1660 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) 1690 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) 1737 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty"); 1738 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && 1897 Stmts.pop_back(); 5638 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) 5650 Stmts [all...] |
/freebsd-9.3-release/contrib/llvm/tools/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());
|
/freebsd-9.3-release/contrib/llvm/tools/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'."); 313 // Only allow allocation of Stmts using the allocator in ASTContext 547 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, 562 void setStmts(const ASTContext &C, Stmt **Stmts, unsigned NumStmts);
|