Home
last modified time | relevance | path

Searched refs:getThen (Results 1 – 20 of 20) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp105 if (!S->getThen() || !Visit(S->getThen())) in VisitIfStmt()
H A DTransforms.cpp264 mark(S->getThen()); in VisitIfStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp108 const Stmt *Stmt1 = I->getThen(); in VisitIfStmt()
423 if (!isIdenticalStmt(Ctx, IStmt1->getThen(), IStmt2->getThen(), in isIdenticalStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp35 : If->getThen()); in isSemicolonRequiredAfter()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenPGO.cpp223 if (CS == If->getThen()) in TraverseIfStmt()
642 CountMap[S->getThen()] = ThenCount; in VisitIfStmt()
643 Visit(S->getThen()); in VisitIfStmt()
H A DCoverageMappingGen.cpp1187 auto Gap = findGapAreaBetween(S->getCond(), S->getThen()); in VisitIfStmt()
1191 extendRegion(S->getThen()); in VisitIfStmt()
1192 Counter OutCount = propagateCounts(ThenCount, S->getThen()); in VisitIfStmt()
1197 Gap = findGapAreaBetween(S->getThen(), Else); in VisitIfStmt()
H A DCGStmt.cpp617 const Stmt *Executed = S.getThen(); in EmitIfStmt()
644 getProfileCount(S.getThen())); in EmitIfStmt()
651 EmitStmt(S.getThen()); in EmitIfStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp130 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse(); in run()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h1774 Stmt *getThen() { return getTrailingObjects<Stmt *>()[thenOffset()]; } in getThen() function
1775 const Stmt *getThen() const { in getThen() function
1869 return getThen()->getEndLoc(); in getEndLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DJumpDiagnostics.cpp362 BuildScopeInformation(IS->getThen(), NewParentScope); in BuildScopeInformation()
H A DAnalysisBasedWarnings.cpp856 CreateIfFixit(S, IS, IS->getThen(), IS->getElse(), in DiagUninitUse()
H A DSemaDeclAttr.cpp7952 return cast<IfStmt>(Parent)->getThen() == S || in isBodyLikeChildStmt()
8256 return TraverseStmt(If->getThen()) && TraverseStmt(If->getElse()); in TraverseIfStmt()
8263 bool ShouldContinue = TraverseStmt(If->getThen()); in TraverseIfStmt()
H A DTreeTransform.h6689 Then = getDerived().TransformStmt(S->getThen()); in TransformIfStmt()
6693 Then = new (getSema().Context) NullStmt(S->getThen()->getBeginLoc()); in TransformIfStmt()
6707 Then.get() == S->getThen() && in TransformIfStmt()
H A DSemaDeclCXX.cpp1864 if (!CheckConstexprFunctionStmt(SemaRef, Dcl, If->getThen(), ReturnStmts, in CheckConstexprFunctionStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmtPrinter.cpp251 if (auto *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt()
257 PrintStmt(If->getThen()); in PrintRawIfStmt()
H A DExprConstant.cpp4057 EvalStmtResult ESR = EvaluateStmt(Result, Info, IS->getThen(), Case); in EvaluateStmt()
4162 if (const Stmt *SubStmt = Cond ? IS->getThen() : IS->getElse()) { in EvaluateStmt()
H A DASTImporter.cpp5720 S->getThen(), S->getElseLoc(), S->getElse()); in VisitIfStmt()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4106 const Stmt *const Then = Node.getThen(); in AST_MATCHER_P()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterStmt.cpp145 Record.AddStmt(S->getThen()); in VisitIfStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp2815 Stmt *Then = I->getThen(); in VisitIfStmt()