| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 34 return isSemicolonRequiredAfter(If->getElse() ? If->getElse() in isSemicolonRequiredAfter()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 108 const Stmt *Stmt2 = I->getElse(); in VisitIfStmt() 148 Else = I2->getElse(); in VisitIfStmt() 427 if (!isIdenticalStmt(Ctx, IStmt1->getElse(), IStmt2->getElse(), in isIdenticalStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransEmptyStatementsAndDealloc.cpp | 105 return !S->getElse() || Visit(S->getElse()); in VisitIfStmt()
|
| H A D | Transforms.cpp | 263 mark(S->getElse()); in VisitIfStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 372 return IS->getElse() ? visitStmt(IS->getElse()) : true; in visitIfStmt() 385 if (const Stmt *Else = IS->getElse()) { in visitIfStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 371 else if (CS == If->getElse()) in TraverseIfStmt() 782 const Stmt *Stm = S->isNegatedConsteval() ? S->getThen() : S->getElse(); in VisitIfStmt() 801 if (S->getElse()) { in VisitIfStmt() 803 CountMap[S->getElse()] = ElseCount; in VisitIfStmt() 804 Visit(S->getElse()); in VisitIfStmt()
|
| H A D | CGStmt.cpp | 774 const Stmt *Executed = S.isNegatedConsteval() ? S.getThen() : S.getElse(); in EmitIfStmt() 799 const Stmt *Skipped = S.getElse(); in EmitIfStmt() 821 if (S.getElse()) in EmitIfStmt() 839 LH = Stmt::getLikelihood(S.getThen(), S.getElse()); in EmitIfStmt() 864 if (const Stmt *Else = S.getElse()) { in EmitIfStmt()
|
| H A D | CoverageMappingGen.cpp | 1788 const auto *Else = S->getElse(); in coverIfConsteval() 1848 const auto *Else = S->getElse(); in coverIfConstexpr() 1900 if (const Stmt *Else = S->getElse()) { in VisitIfStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 623 cast<IfStmt>(Parent)->getElse() == S; in isBodyLikeChildStmt() 912 return TraverseStmt(If->getThen()) && TraverseStmt(If->getElse()); in TraverseIfStmt() 922 return ShouldContinue && TraverseStmt(If->getElse()); in TraverseIfStmt()
|
| H A D | SemaExceptionSpec.cpp | 1564 CanThrowResult Else = IS->getElse() ? canThrow(IS->getElse()) : CT_Cannot; in canThrow()
|
| H A D | JumpDiagnostics.cpp | 393 if (Stmt *Else = IS->getElse()) { in BuildScopeInformation()
|
| H A D | AnalysisBasedWarnings.cpp | 903 CreateIfFixit(S, IS, IS->getThen(), IS->getElse(), in DiagUninitUse()
|
| H A D | TreeTransform.h | 7759 Else = getDerived().TransformStmt(S->getElse()); in TransformIfStmt() 7762 } else if (S->getElse() && ConstexprConditionValue && in TransformIfStmt() 7768 CompoundStmt(S->getElse()->getBeginLoc(), S->getElse()->getEndLoc()); in TransformIfStmt() 7775 Else.get() == S->getElse()) in TransformIfStmt()
|
| H A D | SemaOpenMP.cpp | 12080 if (S->getElse()) { in checkCondUpdateStmt() 12082 ErrorInfo.ErrorLoc = ErrorInfo.NoteLoc = S->getElse()->getBeginLoc(); in checkCondUpdateStmt() 12083 ErrorInfo.ErrorRange = ErrorInfo.NoteRange = S->getElse()->getSourceRange(); in checkCondUpdateStmt() 12358 if (!S->getElse()) { in checkForm3() 12365 auto *Else = S->getElse(); in checkForm3() 12486 if (S2->getElse()) { in checkForm45() 12489 auto *Else = S2->getElse(); in checkForm45()
|
| H A D | SemaDeclCXX.cpp | 2163 if (If->getElse() && in CheckConstexprFunctionStmt() 2164 !CheckConstexprFunctionStmt(SemaRef, Dcl, If->getElse(), ReturnStmts, in CheckConstexprFunctionStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 129 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse(); in run()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtPrinter.cpp | 310 if (Stmt *Else = If->getElse()) { in PrintRawIfStmt() 331 OS << (If->getElse() ? " " : NL); in PrintRawIfStmt() 335 if (If->getElse()) Indent(); in PrintRawIfStmt() 338 if (Stmt *Else = If->getElse()) { in PrintRawIfStmt() 350 PrintStmt(If->getElse()); in PrintRawIfStmt()
|
| H A D | Stmt.cpp | 1009 return !getCond()->EvaluateKnownConstInt(Ctx) ? getElse() : getThen(); in getNondiscardedCase()
|
| H A D | ExprConstant.cpp | 5192 if (!IS->getElse()) in EvaluateStmt() 5195 ESR = EvaluateStmt(Result, Info, IS->getElse(), Case); in EvaluateStmt() 5365 if (const Stmt *SubStmt = Cond ? IS->getThen() : IS->getElse()) { in EvaluateStmt()
|
| H A D | ASTImporter.cpp | 6834 auto ToElse = importChecked(Err, S->getElse()); in VisitIfStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 825 if (S->getElse() && !TraverseStmt(S->getElse())) in TraverseIfStmt() 1470 Builder.markStmtChild(S->getElse(), syntax::NodeRole::ElseStatement); in WalkUpFromIfStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Stmt.h | 2234 Stmt *getElse() { in getElse() function 2239 const Stmt *getElse() const { in getElse() function 2350 if (getElse()) in getEndLoc() 2351 return getElse()->getEndLoc(); in getEndLoc()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 203 bool HasElse = S->getElse() != nullptr; in VisitIfStmt() 216 Record.AddStmt(S->getElse()); in VisitIfStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5611 const Stmt *const Else = Node.getElse(); in AST_MATCHER_P()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 3108 if (Stmt *Else = I->getElse()) { in VisitIfStmt()
|