Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp33 return isSemicolonRequiredAfter(If->getElse() ? If->getElse() in isSemicolonRequiredAfter()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp108 const Stmt *Stmt2 = I->getElse(); in VisitIfStmt()
148 Else = I2->getElse(); in VisitIfStmt()
427 if (!isIdenticalStmt(Ctx, IStmt1->getElse(), IStmt2->getElse(), in isIdenticalStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp105 return !S->getElse() || Visit(S->getElse()); in VisitIfStmt()
H A DTransforms.cpp265 mark(S->getElse()); in VisitIfStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenPGO.cpp243 else if (CS == If->getElse()) in TraverseIfStmt()
665 if (S->getElse()) { in VisitIfStmt()
667 CountMap[S->getElse()] = ElseCount; in VisitIfStmt()
668 Visit(S->getElse()); in VisitIfStmt()
H A DCGStmt.cpp726 const Stmt *Skipped = S.getElse(); in EmitIfStmt()
748 if (S.getElse()) in EmitIfStmt()
757 LH = Stmt::getLikelihood(S.getThen(), S.getElse()); in EmitIfStmt()
770 if (const Stmt *Else = S.getElse()) { in EmitIfStmt()
H A DCoverageMappingGen.cpp1386 if (const Stmt *Else = S->getElse()) { in VisitIfStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp202 if (const Stmt *Else = IS->getElse()) { in visitIfStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaAvailability.cpp584 cast<IfStmt>(Parent)->getElse() == S; in isBodyLikeChildStmt()
887 return TraverseStmt(If->getThen()) && TraverseStmt(If->getElse()); in TraverseIfStmt()
897 return ShouldContinue && TraverseStmt(If->getElse()); in TraverseIfStmt()
H A DSemaExceptionSpec.cpp1535 CanThrowResult Else = IS->getElse() ? canThrow(IS->getElse()) : CT_Cannot; in canThrow()
H A DJumpDiagnostics.cpp398 if (Stmt *Else = IS->getElse()) { in BuildScopeInformation()
H A DAnalysisBasedWarnings.cpp876 CreateIfFixit(S, IS, IS->getThen(), IS->getElse(), in DiagUninitUse()
H A DTreeTransform.h7377 Else = getDerived().TransformStmt(S->getElse()); in TransformIfStmt()
7386 Else.get() == S->getElse()) in TransformIfStmt()
H A DSemaDeclCXX.cpp2081 if (If->getElse() && in CheckConstexprFunctionStmt()
2082 !CheckConstexprFunctionStmt(SemaRef, Dcl, If->getElse(), ReturnStmts, in CheckConstexprFunctionStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp129 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse(); in run()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmtPrinter.cpp250 OS << (If->getElse() ? " " : NL); in PrintRawIfStmt()
254 if (If->getElse()) Indent(); in PrintRawIfStmt()
257 if (Stmt *Else = If->getElse()) { in PrintRawIfStmt()
269 PrintStmt(If->getElse()); in PrintRawIfStmt()
H A DStmt.cpp995 return !getCond()->EvaluateKnownConstInt(Ctx) ? getElse() : getThen(); in getNondiscardedCase()
H A DExprConstant.cpp5038 if (!IS->getElse()) in EvaluateStmt()
5041 ESR = EvaluateStmt(Result, Info, IS->getElse(), Case); in EvaluateStmt()
5199 if (const Stmt *SubStmt = Cond ? IS->getThen() : IS->getElse()) { in EvaluateStmt()
H A DASTImporter.cpp6209 auto ToElse = importChecked(Err, S->getElse()); in VisitIfStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp820 if (S->getElse() && !TraverseStmt(S->getElse())) in TraverseIfStmt()
1465 Builder.markStmtChild(S->getElse(), syntax::NodeRole::ElseStatement); in WalkUpFromIfStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h2003 Stmt *getElse() { in getElse() function
2008 const Stmt *getElse() const { in getElse() function
2092 if (getElse()) in getEndLoc()
2093 return getElse()->getEndLoc(); in getEndLoc()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterStmt.cpp137 bool HasElse = S->getElse() != nullptr; in VisitIfStmt()
149 Record.AddStmt(S->getElse()); in VisitIfStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5167 const Stmt *const Else = Node.getElse(); in AST_MATCHER_P()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp2986 if (Stmt *Else = I->getElse()) { in VisitIfStmt()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp2744 AddStmt(If->getElse()); in VisitIfStmt()