| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 49 bool VisitIfStmt(const IfStmt *I); 106 bool FindIdenticalExprVisitor::VisitIfStmt(const IfStmt *I) { in VisitIfStmt() 117 const IfStmt *InnerIf = dyn_cast<IfStmt>(*CS->body_begin()); in VisitIfStmt() 138 while (const IfStmt *I2 = dyn_cast_or_null<IfStmt>(Else)) { in VisitIfStmt() 418 const IfStmt *IStmt1 = cast<IfStmt>(Stmt1); in isIdenticalStmt() 419 const IfStmt *IStmt2 = cast<IfStmt>(Stmt2); in isIdenticalStmt()
|
| H A D | LocalizationChecker.cpp | 1217 bool VisitIfStmt(const IfStmt *I); 1218 bool EndVisitIfStmt(IfStmt *I); 1219 bool TraverseIfStmt(IfStmt *x); 1321 bool PluralMisuseChecker::MethodCrawler::TraverseIfStmt(IfStmt *I) { in TraverseIfStmt() 1329 bool PluralMisuseChecker::MethodCrawler::EndVisitIfStmt(IfStmt *I) { in EndVisitIfStmt() 1341 bool PluralMisuseChecker::MethodCrawler::VisitIfStmt(const IfStmt *I) { in VisitIfStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 915 IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, bool IsConstexpr, in IfStmt() function in IfStmt 942 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() function in IfStmt 949 IfStmt *IfStmt::Create(const ASTContext &Ctx, SourceLocation IL, in Create() 959 alignof(IfStmt)); in Create() 964 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() 969 alignof(IfStmt)); in CreateEmpty() 970 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty() 973 VarDecl *IfStmt::getConditionVariable() { in getConditionVariable() 994 bool IfStmt::isObjCAvailabilityCheck() const { in isObjCAvailabilityCheck() 1005 IfStmt::getNondiscardedCase(const ASTContext &Ctx) const { in getNondiscardedCase() [all …]
|
| H A D | ParentMap.cpp | 203 return DirectChild == cast<IfStmt>(P)->getCond(); in isConsumedExpr()
|
| H A D | StmtPrinter.cpp | 124 void PrintRawIfStmt(IfStmt *If); 238 void StmtPrinter::PrintRawIfStmt(IfStmt *If) { in PrintRawIfStmt() 265 } else if (auto *ElseIf = dyn_cast<IfStmt>(Else)) { in PrintRawIfStmt() 275 void StmtPrinter::VisitIfStmt(IfStmt *If) { in VisitIfStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 122 return visitIfStmt(cast<IfStmt>(S)); in visitStmt() 189 bool ByteCodeStmtGen<Emitter>::visitIfStmt(const IfStmt *IS) { in visitIfStmt()
|
| H A D | ByteCodeStmtGen.h | 64 bool visitIfStmt(const IfStmt *IS);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 128 if (const IfStmt *Node = Result.Nodes.getNodeAs<IfStmt>(Id)) { in run()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 32 if (const auto *If = dyn_cast<IfStmt>(S)) in isSemicolonRequiredAfter()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | EvaluatedExprVisitor.h | 109 void VisitIfStmt(PTR(IfStmt) If) { in VisitIfStmt()
|
| H A D | Stmt.h | 159 friend class IfStmt; in alignas() local 1903 class IfStmt final 1905 private llvm::TrailingObjects<IfStmt, Stmt *, SourceLocation> { 1953 IfStmt(const ASTContext &Ctx, SourceLocation IL, bool IsConstexpr, Stmt *Init, 1958 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit); 1962 static IfStmt *Create(const ASTContext &Ctx, SourceLocation IL, 1970 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, 2029 return const_cast<IfStmt *>(this)->getConditionVariable(); in getConditionVariable()
|
| H A D | TextNodeDumper.h | 243 void VisitIfStmt(const IfStmt *Node);
|
| H A D | JSONNodeDumper.h | 314 void VisitIfStmt(const IfStmt *IS);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RangeSelector.cpp | 318 CharSourceRange getElseRange(const MatchResult &Result, const IfStmt &S) { in getElseRange() 326 return RelativeSelector<IfStmt, getElseRange>(std::move(ID)); in elseBranch()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 583 return cast<IfStmt>(Parent)->getThen() == S || in isBodyLikeChildStmt() 584 cast<IfStmt>(Parent)->getElse() == S; in isBodyLikeChildStmt() 680 bool TraverseIfStmt(IfStmt *If); 866 bool DiagnoseUnguardedAvailability::TraverseIfStmt(IfStmt *If) { in TraverseIfStmt()
|
| H A D | JumpDiagnostics.cpp | 379 IfStmt *IS = cast<IfStmt>(S); in BuildScopeInformation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLocalVarsChecker.cpp | 43 grandParent.begin()->get<IfStmt>() || in isDeclaredInForOrIf()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 101 IfStmt, enumerator 231 bool TraverseIfStmt(IfStmt *If) { in TraverseIfStmt() 294 return PGOHash::IfStmt; in DEFINE_NESTABLE_TRAVERSAL() 650 void VisitIfStmt(const IfStmt *S) { in VisitIfStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 464 IfStmt::Create(C, SourceLocation(), in create_call_once() 550 auto *If = IfStmt::Create(C, SourceLocation(), in create_dispatch_once() 661 IfStmt::Create(C, SourceLocation(), in create_OSAtomicCompareAndSwap()
|
| H A D | CalledOnceCheck.cpp | 414 if (const auto *If = dyn_cast<IfStmt>(S)) { in getCondition() 519 llvm::Optional<Clarification> VisitIfStmt(const IfStmt *If) { in VisitIfStmt()
|
| H A D | Consumed.cpp | 935 static void splitVarStateForIf(const IfStmt *IfNode, const VarTestResult &Test, in splitVarStateForIf() 1235 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) { in splitState()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransEmptyStatementsAndDealloc.cpp | 95 bool VisitIfStmt(IfStmt *S) { in VisitIfStmt()
|
| H A D | Transforms.cpp | 263 bool VisitIfStmt(IfStmt *S) { in VisitIfStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2068 extern const internal::VariadicDynCastAllOfMatcher<Stmt, IfStmt> ifStmt; 5109 IfStmt)) { in AST_POLYMORPHIC_MATCHER() argument 5135 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, SwitchStmt, in AST_POLYMORPHIC_MATCHER_P() argument 5151 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument 5166 AST_MATCHER_P(IfStmt, hasThen, internal::Matcher<Stmt>, InnerMatcher) { in AST_MATCHER_P() argument 5178 AST_MATCHER_P(IfStmt, hasElse, internal::Matcher<Stmt>, InnerMatcher) { in AST_MATCHER_P() argument 5228 AST_MATCHER_P(IfStmt, hasConditionVariableStatement, in AST_MATCHER_P() argument
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 12 def IfStmt : StmtNode<Stmt>;
|