Home
last modified time | relevance | path

Searched refs:body_begin (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisleadingIndentationCheck.cpp60 const Stmt *CurrentStmt = CStmt->body_begin()[i]; in missingBracesCheck()
92 const Stmt *NextStmt = CStmt->body_begin()[i + 1]; in missingBracesCheck()
DSimplifyBooleanExprCheck.cpp648 CompoundStmt::const_body_iterator Current = Compound->body_begin(); in replaceCompoundReturnWithCondition()
649 CompoundStmt::const_body_iterator After = Compound->body_begin(); in replaceCompoundReturnWithCondition()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp118 const IfStmt *InnerIf = dyn_cast<IfStmt>(*CS->body_begin()); in VisitIfStmt()
435 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin(); in isIdenticalStmt()
436 CompoundStmt::const_body_iterator I2 = CompStmt2->body_begin(); in isIdenticalStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp117 const IfStmt *InnerIf = dyn_cast<IfStmt>(*CS->body_begin()); in VisitIfStmt()
439 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin(); in isIdenticalStmt()
440 CompoundStmt::const_body_iterator I2 = CompStmt2->body_begin(); in isIdenticalStmt()
/external/llvm-project/clang/include/clang/AST/
DStmt.h1431 body_range body() { return body_range(body_begin(), body_end()); } in body()
1432 body_iterator body_begin() { return getTrailingObjects<Stmt *>(); } in body_begin() function
1433 body_iterator body_end() { return body_begin() + size(); } in body_end()
1434 Stmt *body_front() { return !body_empty() ? body_begin()[0] : nullptr; } in body_front()
1437 return !body_empty() ? body_begin()[size() - 1] : nullptr; in body_back()
1444 return body_const_range(body_begin(), body_end()); in body()
1447 const_body_iterator body_begin() const { in body_begin() function
1451 const_body_iterator body_end() const { return body_begin() + size(); } in body_end()
1454 return !body_empty() ? body_begin()[0] : nullptr; in body_front()
1458 return !body_empty() ? body_begin()[size() - 1] : nullptr; in body_back()
[all …]
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTStructExtractor.cpp64 for (CompoundStmt::const_body_iterator bi = body_compound_stmt->body_begin(), in ExtractFromFunctionDecl()
DASTResultSynthesizer.cpp215 if (last_stmt_ptr != Body->body_begin()) { in SynthesizeBodyResult()
/external/llvm-project/clang/lib/Analysis/
DCloneDetection.cpp64 return CS->body_begin() + StartIndex; in begin()
72 return CS->body_begin() + EndIndex; in end()
DPathDiagnostic.cpp650 SourceLocation Loc = (*CS->body_begin())->getBeginLoc(); in createDeclBegin()
/external/llvm-project/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp156 I = S->body_begin(), E = S->body_end(); I != E; ++I) { in TraverseStmtExpr()
DTransAutoreleasePool.cpp167 I = S->body_begin(), E = S->body_end(); I != E; ++I) { in VisitCompoundStmt()
DTransforms.cpp249 I = S->body_begin(), E = S->body_end(); I != E; ++I) { in TraverseStmtExpr()
/external/clang/include/clang/AST/
DStmt.h581 body_range body() { return body_range(body_begin(), body_end()); } in body()
582 body_iterator body_begin() { return Body; } in body_begin() function
596 return body_const_range(body_begin(), body_end()); in body()
598 const_body_iterator body_begin() const { return Body; } in body_begin() function
612 return reverse_body_iterator(body_begin()); in body_rend()
623 return const_reverse_body_iterator(body_begin()); in body_rend()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp158 I = S->body_begin(), E = S->body_end(); I != E; ++I) { in TraverseStmtExpr()
DTransAutoreleasePool.cpp168 I = S->body_begin(), E = S->body_end(); I != E; ++I) { in VisitCompoundStmt()
DTransforms.cpp254 I = S->body_begin(), E = S->body_end(); I != E; ++I) { in TraverseStmtExpr()
/external/clang/lib/CodeGen/
DCGStmt.cpp340 for (CompoundStmt::const_body_iterator I = S.body_begin(), in EmitCompoundStmtWithoutScope()
1329 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end(); in CollectStatementsForCase()
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp644 SourceLocation Loc = (*CS->body_begin())->getLocStart(); in createDeclBegin()
/external/llvm-project/clang/lib/AST/
DStmt.cpp376 std::copy(Stmts.begin(), Stmts.end(), body_begin()); in setStmts()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.def365 HANDLE_DW_AT(0x2105, body_begin, 0, GNU)
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3565 return CS && matchesFirstInPointerRange(InnerMatcher, CS->body_begin(), in AST_POLYMORPHIC_MATCHER_P()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DDwarf.def378 HANDLE_DW_AT(0x2105, body_begin, 0, GNU)
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp1537 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end(); in CollectStatementsForCase()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h5071 return CS && matchesFirstInPointerRange(InnerMatcher, CS->body_begin(), in AST_POLYMORPHIC_MATCHER_P()
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp2173 *cast<CompoundStmt>(ToD->getBody())->body_begin()) in TEST_P()

12