/external/clang/lib/Analysis/ |
BodyFarm.cpp | 105 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { 106 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation()); 214 Stmt *Stmts[2]; 215 Stmts[0] = B; 216 Stmts[1] = CE; 217 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2)); 315 Stmt *Stmts[2]; 316 Stmts[0] = 327 Stmts[1] = M.makeReturn(RetVal); 328 CompoundStmt *Body = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2)) [all...] |
/external/clang/lib/AST/ |
Stmt.cpp | 76 llvm::errs() << " " << sum << " stmts/exprs total.\n"; 256 CompoundStmt::CompoundStmt(ASTContext &C, ArrayRef<Stmt*> Stmts, 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) { 278 memcpy(Body, Stmts, sizeof(Stmt *) * NumStmts) [all...] |
/external/clang/utils/TableGen/ |
ClangASTNodesEmitter.cpp | 155 const std::vector<Record*> Stmts 160 for (unsigned i = 0, e = Stmts.size(); i != e; ++i) { 161 Record *R = Stmts[i];
|
/external/clang/lib/Parse/ |
ParseStmt.cpp | 94 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement, 102 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts, 115 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts, 187 DeclGroupPtrTy Decl = ParseDeclaration(Stmts, Declarator::BlockContext, 596 if (TopLevelCase.isInvalid()) // No parsed case stmts. 794 StmtVector Stmts; 825 Stmts.push_back(R.release()); 836 ParseMicrosoftIfExistsStatement(Stmts); 842 R = ParseStatementOrDeclaration(Stmts, false); 862 DeclGroupPtrTy Res = ParseDeclaration(Stmts, [all...] |
Parser.cpp | 724 StmtVector Stmts; 725 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); 735 StmtVector Stmts; 736 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); 747 StmtVector Stmts; 748 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); 757 StmtVector Stmts; 758 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); [all...] |
ParseDecl.cpp | [all...] |
/external/clang/include/clang/Parse/ |
Parser.h | [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteObjC.cpp | 114 SmallVector<Stmt *, 32> Stmts; [all...] |
RewriteModernObjC.cpp | 123 SmallVector<Stmt *, 32> Stmts; [all...] |
/external/clang/include/clang/AST/ |
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 545 CompoundStmt(ASTContext &C, ArrayRef<Stmt*> Stmts, 560 void setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts); [all...] |
/external/clang/lib/Serialization/ |
ASTReaderStmt.cpp | 133 SmallVector<Stmt *, 16> Stmts; 136 Stmts.push_back(Reader.ReadSubStmt()); 137 S->setStmts(Reader.getContext(), Stmts.data(), Stmts.size()); [all...] |