/freebsd/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 | 1212 bool VisitIfStmt(const IfStmt *I); 1213 bool EndVisitIfStmt(IfStmt *I); 1214 bool TraverseIfStmt(IfStmt *x); 1316 bool PluralMisuseChecker::MethodCrawler::TraverseIfStmt(IfStmt *I) { in TraverseIfStmt() 1324 bool PluralMisuseChecker::MethodCrawler::EndVisitIfStmt(IfStmt *I) { in EndVisitIfStmt() 1336 bool PluralMisuseChecker::MethodCrawler::VisitIfStmt(const IfStmt *I) { in VisitIfStmt()
|
H A D | ErrnoChecker.cpp | 83 CondFound = (S == cast<IfStmt>(ParentS)->getCond()); in isInCondition()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 924 IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind, in IfStmt() function in IfStmt 951 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() function in IfStmt 958 IfStmt *IfStmt::Create(const ASTContext &Ctx, SourceLocation IL, in Create() 968 alignof(IfStmt)); in Create() 970 IfStmt(Ctx, IL, Kind, Init, Var, Cond, LPL, RPL, Then, EL, Else); in Create() 973 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() 978 alignof(IfStmt)); in CreateEmpty() 979 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty() 982 VarDecl *IfStmt::getConditionVariable() { in getConditionVariable() 989 void IfStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) { in setConditionVariable() [all …]
|
H A D | ParentMap.cpp | 207 return DirectChild == cast<IfStmt>(P)->getCond(); in isConsumedExpr()
|
H A D | StmtPrinter.cpp | 125 void PrintRawIfStmt(IfStmt *If); 305 void StmtPrinter::PrintRawIfStmt(IfStmt *If) { in PrintRawIfStmt() 348 } else if (auto *ElseIf = dyn_cast<IfStmt>(Else)) { in PrintRawIfStmt() 358 void StmtPrinter::VisitIfStmt(IfStmt *If) { in VisitIfStmt()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/ |
H A D | RefactoringCallbacks.cpp | 128 if (const IfStmt *Node = Result.Nodes.getNodeAs<IfStmt>(Id)) { in run()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
H A D | SourceExtraction.cpp | 33 if (const auto *If = dyn_cast<IfStmt>(S)) in isSemicolonRequiredAfter()
|
/freebsd/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 | 183 friend class IfStmt; 2141 class IfStmt final 2143 private llvm::TrailingObjects<IfStmt, Stmt *, SourceLocation> { 2191 IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind, 2196 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit); 2200 static IfStmt *Create(const ASTContext &Ctx, SourceLocation IL, 2208 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, 2267 return const_cast<IfStmt *>(this)->getConditionVariable();
|
H A D | TextNodeDumper.h | 257 void VisitIfStmt(const IfStmt *Node);
|
H A D | JSONNodeDumper.h | 333 void VisitIfStmt(const IfStmt *IS);
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | RangeSelector.cpp | 345 CharSourceRange getElseRange(const MatchResult &Result, const IfStmt &S) { in getElseRange() 353 return RelativeSelector<IfStmt, getElseRange>(std::move(ID)); in elseBranch()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAvailability.cpp | 699 return cast<IfStmt>(Parent)->getThen() == S || in isBodyLikeChildStmt() 700 cast<IfStmt>(Parent)->getElse() == S; in isBodyLikeChildStmt() 795 bool TraverseIfStmt(IfStmt *If); 989 bool DiagnoseUnguardedAvailability::TraverseIfStmt(IfStmt *If) { in TraverseIfStmt()
|
H A D | JumpDiagnostics.cpp | 370 IfStmt *IS = cast<IfStmt>(S); in BuildScopeInformation()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransEmptyStatementsAndDealloc.cpp | 95 bool VisitIfStmt(IfStmt *S) { in VisitIfStmt()
|
H A D | Transforms.cpp | 262 bool VisitIfStmt(IfStmt *S) { in VisitIfStmt()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedLocalVarsChecker.cpp | 154 bool TraverseIfStmt(IfStmt *IS) { in checkASTDecl()
|
H A D | PtrTypesSemantics.cpp | 332 bool VisitIfStmt(const IfStmt *IS) { in VisitIfStmt()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 106 IfStmt, enumerator 364 bool TraverseIfStmt(IfStmt *If) { in TraverseIfStmt() 511 return PGOHash::IfStmt; in DEFINE_NESTABLE_TRAVERSAL() 867 void VisitIfStmt(const IfStmt *S) { in VisitIfStmt()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 2145 extern const internal::VariadicDynCastAllOfMatcher<Stmt, IfStmt> ifStmt; 5526 AST_POLYMORPHIC_SUPPORTED_TYPES(FunctionDecl, IfStmt)) { in AST_POLYMORPHIC_MATCHER() argument 5548 IfStmt)) { in AST_POLYMORPHIC_MATCHER() argument 5591 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, SwitchStmt, in AST_POLYMORPHIC_MATCHER_P() argument 5607 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument 5622 AST_MATCHER_P(IfStmt, hasThen, internal::Matcher<Stmt>, InnerMatcher) { in AST_MATCHER_P() argument 5634 AST_MATCHER_P(IfStmt, hasElse, internal::Matcher<Stmt>, InnerMatcher) { in AST_MATCHER_P() argument 5684 AST_MATCHER_P(IfStmt, hasConditionVariableStatement, in AST_MATCHER_P() argument
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CalledOnceCheck.cpp | 414 if (const auto *If = dyn_cast<IfStmt>(S)) { in getCondition() 519 std::optional<Clarification> VisitIfStmt(const IfStmt *If) { in VisitIfStmt()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | TypeErasedDataflowAnalysis.cpp | 70 const Expr *VisitIfStmt(const IfStmt *S) { return S->getCond(); } in VisitIfStmt()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | StmtNodes.td | 12 def IfStmt : StmtNode<Stmt>;
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CoreEngine.cpp | 376 HandleBranch(cast<IfStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
|