HomeSort by: relevance | last modified time | path
    Searched refs:CompoundStmt (Results 1 - 25 of 70) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransEmptyStatementsAndDealloc.cpp 87 bool VisitCompoundStmt(CompoundStmt *S) {
154 CompoundStmt *S = E->getSubStmt();
155 for (CompoundStmt::body_iterator
164 bool VisitCompoundStmt(CompoundStmt *S) {
184 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx,
TransAutoreleasePool.cpp 163 bool VisitCompoundStmt(CompoundStmt *S) {
226 CompoundStmt *CompoundParent;
295 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) {
Transforms.cpp 247 CompoundStmt *S = E->getSubStmt();
248 for (CompoundStmt::body_iterator
257 bool VisitCompoundStmt(CompoundStmt *S) {
TransRetainReleaseDealloc.cpp 358 auto *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild.begin());
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
IdenticalExprChecker.cpp 115 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(Stmt1)) {
161 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt1)) {
165 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt2)) {
433 const CompoundStmt *CompStmt1 = cast<CompoundStmt>(Stmt1);
434 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2)
    [all...]
CheckSecuritySyntaxOnly.cpp 90 void VisitCompoundStmt (CompoundStmt *S);
204 void WalkAST::VisitCompoundStmt(CompoundStmt *S) {
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
UncountedLocalVarsChecker.cpp 81 const CompoundStmt *guardiansClosestCompStmtAncestor = nullptr;
92 if (auto *CStmtParentAncestor = guardianAncestor.get<CompoundStmt>()) {
104 // We need to skip the first CompoundStmt to avoid situation when guardian is
114 if (auto *CStmtAncestor = guardedVarAncestor.get<CompoundStmt>()) {
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
ByteCodeStmtGen.cpp 116 return visitCompoundStmt(cast<CompoundStmt>(S));
135 const CompoundStmt *CompoundStmt) {
137 for (auto *InnerStmt : CompoundStmt->body())
ByteCodeStmtGen.h 61 bool visitCompoundStmt(const CompoundStmt *S);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
StmtCXX.h 99 CompoundStmt *getTryBlock() {
100 return cast<CompoundStmt>(getStmts()[0]);
102 const CompoundStmt *getTryBlock() const {
103 return cast<CompoundStmt>(getStmts()[0]);
266 CompoundStmt *SubStmt)
292 CompoundStmt *getSubStmt() const {
293 return reinterpret_cast<CompoundStmt *>(SubStmt);
377 /// a CompoundStmt or a TryStmt.
StmtObjC.h 297 const CompoundStmt *getSynchBody() const {
298 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]);
300 CompoundStmt *getSynchBody() {
301 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]);
Stmt.h 126 friend class CompoundStmt;
1288 /// expressions. For example, CompoundStmt mixes statements, expressions
1397 /// CompoundStmt - This represents a group of statements like { stmt stmt }.
1398 class CompoundStmt final : public Stmt,
1399 private llvm::TrailingObjects<CompoundStmt, Stmt *> {
1406 CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB, SourceLocation RB);
1407 explicit CompoundStmt(EmptyShell Empty) : Stmt(CompoundStmtClass, Empty) {}
1412 static CompoundStmt *Create(const ASTContext &C, ArrayRef<Stmt *> Stmts,
1416 explicit CompoundStmt(SourceLocation Loc)
1423 static CompoundStmt *CreateEmpty(const ASTContext &C, unsigned NumStmts)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
SourceExtraction.cpp 30 if (isa<CompoundStmt>(S))
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
CloneDetection.h 27 class CompoundStmt;
32 /// child statements inside a CompoundStmt or no statements at all.
34 /// If this object identifies a sequence of statements inside a CompoundStmt,
35 /// S points to this CompoundStmt. If this object only identifies a single
42 /// If EndIndex is non-zero, then S is a CompoundStmt and this StmtSequence
43 /// instance is representing the CompoundStmt children inside the array
52 /// in the body of the given CompoundStmt. Which statements of the body should
54 /// that describe a non-empty sub-array in the body of the given CompoundStmt.
56 /// \param Stmt A CompoundStmt that contains all statements in its body.
61 StmtSequence(const CompoundStmt *Stmt, const Decl *D, unsigned StartIndex
    [all...]
PathDiagnostic.h 295 static PathDiagnosticLocation createBeginBrace(const CompoundStmt *CS,
300 static PathDiagnosticLocation createEndBrace(const CompoundStmt *CS,
  /src/external/apache2/llvm/dist/clang/lib/AST/
Stmt.cpp 203 else if (auto CS = dyn_cast_or_null<CompoundStmt>(S)) {
364 CompoundStmt::CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB,
372 void CompoundStmt::setStmts(ArrayRef<Stmt *> Stmts) {
379 CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts,
382 C.Allocate(totalSizeToAlloc<Stmt *>(Stmts.size()), alignof(CompoundStmt));
383 return new (Mem) CompoundStmt(Stmts, LB, RB);
386 CompoundStmt *CompoundStmt::CreateEmpty(const ASTContext &C
    [all...]
StmtPrinter.cpp 110 if (auto *CS = dyn_cast<CompoundStmt>(S)) {
120 void PrintRawCompoundStmt(CompoundStmt *S);
174 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) {
201 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) {
247 if (auto *CS = dyn_cast<CompoundStmt>(If->getThen())) {
260 if (auto *CS = dyn_cast<CompoundStmt>(Else)) {
303 if (auto *CS = dyn_cast<CompoundStmt>(Node->getBody())) {
502 if (auto *TS = dyn_cast<CompoundStmt>(Node->getTryBody())) {
515 if (auto *CS = dyn_cast<CompoundStmt>(catchStmt->getCatchBody())) {
523 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(FS->getFinallyBody()))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
CloneDetection.cpp 23 StmtSequence::StmtSequence(const CompoundStmt *Stmt, const Decl *D,
63 auto CS = cast<CompoundStmt>(S);
71 auto CS = cast<CompoundStmt>(S);
247 /// If the given Stmt is a CompoundStmt, this method will also generate
257 auto CS = dyn_cast<CompoundStmt>(S);
272 // If we're in a CompoundStmt, we hash all possible combinations of child
BodyFarm.cpp 61 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
132 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) {
133 return CompoundStmt::Create(C, Stmts, SourceLocation(), SourceLocation());
536 CompoundStmt *CS = M.makeCompound(Stmts);
651 CompoundStmt *Body = M.makeCompound(Stmts);
PathDiagnostic.cpp 597 if (const auto *CS = dyn_cast<CompoundStmt>(S))
631 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS,
638 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS,
648 if (const auto *CS = dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody()))
CFG.cpp 210 /// - Before processing statements in scope (e.g. CompoundStmt) create
550 CFGBlock *VisitCompoundStmt(CompoundStmt *C, bool ExternallyDestructed);
1944 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) {
2173 return VisitCompoundStmt(cast<CompoundStmt>(S), ExternallyDestructed);
2707 CFGBlock *CFGBuilder::VisitCompoundStmt(CompoundStmt *C, bool ExternallyDestructed) {
2719 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend();
2995 if (!isa<CompoundStmt>(Else))
3018 if (!isa<CompoundStmt>(Then))
3408 if (!isa<CompoundStmt>(F->getBody())
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
ASTSelection.cpp 324 /// CompoundStmt contains-selection [#1]
331 /// CompoundStmt contains-selection [#2]
395 if (!isa<CompoundStmt>(CodeRangeStmt)) {
435 IsPrevCompound = Node.get<CompoundStmt>() != nullptr;
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
RangeSelector.cpp 277 const CompoundStmt &CS) {
284 return RelativeSelector<CompoundStmt, getStatementsRange>(std::move(ID));
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaAvailability.cpp 630 const CompoundStmt *Scope) {
794 const CompoundStmt *Scope = nullptr;
796 if (const auto *CS = dyn_cast<CompoundStmt>(S)) {
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGStmt.cpp 400 EmitCompoundStmt(cast<CompoundStmt>(*S));
436 Address CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast,
448 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S,
454 "If GetLast is true then the CompoundStmt must have a StmtExprResult");
1562 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) {
1565 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end();

Completed in 85 milliseconds

1 2 3