|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/AST/Stmt.h 2004 return getThen()->getEndLoc();
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 4300 const Stmt *const Then = Node.getThen();
tools/clang/lib/AST/ExprConstant.cpp 4512 EvalStmtResult ESR = EvaluateStmt(Result, Info, IS->getThen(), Case);
4663 if (const Stmt *SubStmt = Cond ? IS->getThen() : IS->getElse()) {
tools/clang/lib/AST/Interp/ByteCodeStmtGen.cpp 209 if (!visitStmt(IS->getThen()))
221 if (!visitStmt(IS->getThen()))
tools/clang/lib/CodeGen/CGStmt.cpp 649 const Stmt *Executed = S.getThen();
676 getProfileCount(S.getThen()));
683 EmitStmt(S.getThen());
tools/clang/lib/CodeGen/CodeGenPGO.cpp 641 CountMap[S->getThen()] = ThenCount;
642 Visit(S->getThen());
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 1186 auto Gap = findGapAreaBetween(S->getCond(), S->getThen());
1190 extendRegion(S->getThen());
1191 Counter OutCount = propagateCounts(ThenCount, S->getThen());
1196 Gap = findGapAreaBetween(S->getThen(), Else);
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 874 CreateIfFixit(S, IS, IS->getThen(), IS->getElse(),
tools/clang/lib/Sema/SemaDeclAttr.cpp 8133 return cast<IfStmt>(Parent)->getThen() == S ||
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp 107 const Stmt *Stmt1 = I->getThen();
422 if (!isIdenticalStmt(Ctx, IStmt1->getThen(), IStmt2->getThen(),
422 if (!isIdenticalStmt(Ctx, IStmt1->getThen(), IStmt2->getThen(),
tools/clang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp 34 : If->getThen());
tools/clang/lib/Tooling/RefactoringCallbacks.cpp 129 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse();
tools/clang/tools/extra/clang-tidy/bugprone/BranchCloneCheck.cpp 74 const Stmt *Then = IS->getThen();
96 Branches.push_back(Cur->getThen());
tools/clang/tools/extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp 155 ForceBracesStmts.insert(S->getThen());
156 bool BracedIf = checkStmt(Result, S->getThen(), StartLoc, S->getElseLoc());
tools/clang/tools/extra/clang-tidy/readability/DeleteNullPointerCheck.cpp 66 utils::lexer::getPreviousToken(IfWithDelete->getThen()->getBeginLoc(),
tools/clang/tools/extra/clang-tidy/readability/MisleadingIndentationCheck.cpp 42 if (SM.getExpansionLineNumber(If->getThen()->getEndLoc()) ==
67 CurrentIf->getElse() ? CurrentIf->getElse() : CurrentIf->getThen();
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp 285 if (const auto *Ret = dyn_cast<ReturnStmt>(IfRet->getThen()))
288 if (const auto *Compound = dyn_cast<CompoundStmt>(IfRet->getThen())) {
578 getText(Result, *IfStatement->getThen()));
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp 357 return Inner == IS->getThen() || Inner == IS->getElse();
tools/clang/tools/extra/clangd/refactor/tweaks/SwapIfBranches.cpp 60 return If && dyn_cast_or_null<CompoundStmt>(If->getThen()) &&
69 If->getThen()->getSourceRange());
tools/clang/tools/libclang/CIndex.cpp 2622 AddStmt(If->getThen());