HomeSort by: relevance | last modified time | path
    Searched refs:Stmts (Results 1 - 21 of 21) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/AST/
StmtObjC.cpp 36 Stmt **Stmts = getStmts();
37 Stmts[0] = atTryStmt;
39 Stmts[I + 1] = CatchStmts[I];
42 Stmts[NumCatchStmts + 1] = atFinallyStmt;
StmtCXX.cpp 42 Stmt **Stmts = getStmts();
43 Stmts[0] = tryBlock;
44 std::copy(handlers.begin(), handlers.end(), Stmts + 1);
Stmt.cpp 109 llvm::errs() << " " << sum << " stmts/exprs total.\n";
193 /// Skip no-op (attributed, compound) container stmts and skip captured
364 CompoundStmt::CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB,
367 CompoundStmtBits.NumStmts = Stmts.size();
368 setStmts(Stmts);
372 void CompoundStmt::setStmts(ArrayRef<Stmt *> Stmts) {
373 assert(CompoundStmtBits.NumStmts == Stmts.size() &&
376 std::copy(Stmts.begin(), Stmts.end(), body_begin());
379 CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts,
    [all...]
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangASTNodesEmitter.cpp 148 const std::vector<Record*> Stmts
151 for (unsigned i = 0, e = Stmts.size(); i != e; ++i) {
152 Record *R = Stmts[i];
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseStmt.cpp 40 StmtVector Stmts;
41 Res = ParseStatementOrDeclaration(Stmts, StmtCtx, TrailingElseLoc);
97 Parser::ParseStatementOrDeclaration(StmtVector &Stmts,
114 Stmts, StmtCtx, TrailingElseLoc, Attrs);
160 StmtVector &Stmts, ParsedStmtContext StmtCtx,
312 ParseMicrosoftIfExistsStatement(Stmts);
424 return ParsePragmaLoopHint(Stmts, StmtCtx, TrailingElseLoc, Attrs);
652 StmtVector Stmts;
653 SubStmt = ParseStatementOrDeclarationAfterAttributes(Stmts, StmtCtx,
780 if (TopLevelCase.isInvalid()) // No parsed case stmts
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
BodyFarm.cpp 132 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) {
133 return CompoundStmt::Create(C, Stmts, SourceLocation(), SourceLocation());
535 Stmt *Stmts[] = { B, CE };
536 CompoundStmt *CS = M.makeCompound(Stmts);
638 Stmt *Stmts[2];
639 Stmts[0] =
650 Stmts[1] = M.makeReturn(RetVal);
651 CompoundStmt *Body = M.makeCompound(Stmts);
CFG.cpp 5378 SmallVector<const Stmt *, 3> Stmts;
5391 Stmts.push_back(CICC->getCXXBindTemporaryExpr());
5396 Stmts.push_back(SDSCC->getDeclStmt());
5401 Stmts.push_back(CDSCC->getDeclStmt());
5402 Stmts.push_back(CDSCC->getCXXBindTemporaryExpr());
5407 Stmts.push_back(NECC->getCXXNewExpr());
5412 Stmts.push_back(RSCC->getReturnStmt());
5418 Stmts.push_back(RSCC->getReturnStmt());
5419 Stmts.push_back(RSCC->getCXXBindTemporaryExpr());
5424 Stmts.push_back(TOCC->getCXXBindTemporaryExpr())
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
ScopeInfo.h 89 llvm::TinyPtrVector<const Stmt*> Stmts;
92 ArrayRef<const Stmt *> Stmts)
93 : PD(PD), Loc(Loc), Stmts(Stmts) {}
Sema.h 5073 bool DiagRuntimeBehavior(SourceLocation Loc, ArrayRef<const Stmt*> Stmts,
  /src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
ResourceScriptStmt.h 287 OptStatementsRCResource(OptionalStmtList &&Stmts,
290 OptStatements(std::make_unique<OptionalStmtList>(std::move(Stmts))) {}
752 std::vector<std::unique_ptr<VersionInfoStmt>> Stmts;
757 Stmts.push_back(std::move(Stmt));
ResourceScriptStmt.cpp 177 for (auto &Stmt : Stmts)
ResourceFileWriter.cpp 1354 for (const std::unique_ptr<VersionInfoStmt> &Item : Blk.Stmts) {
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 124 SmallVector<Stmt *, 32> Stmts;
1609 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1639 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1654 /// for ( type elem in collection) { stmts; }
1672 /// stmts;
1686 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty");
1687 assert(isa<ObjCForCollectionStmt>(Stmts.back()) &&
1846 Stmts.pop_back()
    [all...]
RewriteObjC.cpp 115 SmallVector<Stmt *, 32> Stmts;
1418 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1435 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1450 /// for ( type elem in collection) { stmts; }
1468 /// stmts;
1482 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty");
1483 assert(isa<ObjCForCollectionStmt>(Stmts.back()) &&
1639 Stmts.pop_back()
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Parse/
Parser.h 2054 StmtVector &Stmts, ParsedStmtContext StmtCtx,
2057 StmtVector &Stmts,
2072 bool ConsumeNullStmt(StmtVector &Stmts);
2090 StmtResult ParsePragmaLoopHint(StmtVector &Stmts,
2128 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDeclCXX.cpp 7955 llvm::SmallVector<Stmt*, 16> Stmts;
7961 Stmts.push_back(S.get());
7990 StmtListResult Stmts = visit();
7991 if (Stmts.IsInvalid)
8008 auto OldStmts = std::move(Stmts.Stmts);
8009 Stmts.Stmts.clear();
8015 if (RetVal.isUnset() && Stmts.Stmts.empty()
    [all...]
AnalysisBasedWarnings.cpp 2295 for (const Stmt *S : D.Stmts)
2303 for (const Stmt *S : D.Stmts) {
SemaExpr.cpp 14997 // If there are sub-stmts in the compound stmt, take the type of the last one
18711 bool Sema::DiagRuntimeBehavior(SourceLocation Loc, ArrayRef<const Stmt*> Stmts,
18727 if (!Stmts.empty() && getCurFunctionOrMethodDecl()) {
18729 push_back(sema::PossiblyUnreachableDiag(PD, Loc, Stmts));
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderStmt.cpp 154 SmallVector<Stmt *, 16> Stmts;
157 Stmts.push_back(Record.readSubStmt());
158 S->setStmts(Stmts);
1361 Stmt **Stmts = E->getTrailingObjects<Stmt *>();
1366 Stmts[I] = Record.readSubExpr();
3869 assert(StmtStack.size() > PrevNumStmts && "Read too many sub-stmts!");
ASTWriterStmt.cpp 1225 Stmt **Stmts = E->getTrailingObjects<Stmt *>();
1230 Record.AddStmt(Stmts[I]);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Stmt.h 81 // Make vanilla 'new' and 'delete' illegal for Stmts.
87 llvm_unreachable("Stmts cannot be allocated with regular 'new'.");
91 llvm_unreachable("Stmts cannot be released with regular 'delete'.");
1081 // Only allow allocation of Stmts using the allocator in ASTContext
1227 /// Skip no-op (attributed, compound) container stmts and skip captured
1406 CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB, SourceLocation RB);
1409 void setStmts(ArrayRef<Stmt *> Stmts);
1412 static CompoundStmt *Create(const ASTContext &C, ArrayRef<Stmt *> Stmts,

Completed in 255 milliseconds