Home
last modified time | relevance | path

Searched refs:getElseLoc (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DMisleadingIndentationCheck.cpp25 SourceLocation PreviousElseLoc = PrecedingIf->getElseLoc(); in getPrecedingIf()
37 SourceLocation ElseLoc = If->getElseLoc(); in danglingElseCheck()
H A DBracesAroundStatementsCheck.cpp139 bool BracedIf = checkStmt(Result, S->getThen(), StartLoc, S->getElseLoc()); in check()
145 checkStmt(Result, Else, S->getElseLoc()); in check()
H A DElseAfterReturnCheck.cpp244 SourceLocation ElseLoc = If->getElseLoc(); in check()
H A DFunctionCognitiveComplexityCheck.cpp310 CC.account(Node->getElseLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DMultipleStatementMacroCheck.cpp77 OuterLoc = cast<IfStmt>(Outer)->getElseLoc(); in check()
H A DBranchCloneCheck.cpp97 diag(IS->getElseLoc(), "else branch starts here", DiagnosticIDs::Note); in check()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp320 CharSourceRange::getTokenRange(S.getElseLoc(), S.getEndLoc()), in getElseRange()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1469 Builder.markChildToken(S->getElseLoc(), syntax::NodeRole::ElseKeyword); in WalkUpFromIfStmt()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h2102 SourceLocation getElseLoc() const { in getElseLoc() function
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp161 Record.AddSourceLocation(S->getElseLoc()); in VisitIfStmt()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp6448 auto ToElseLoc = importChecked(Err, S->getElseLoc()); in VisitIfStmt()
/llvm-project-15.0.7/clang/lib/Sema/
H A DTreeTransform.h7517 S->getRParenLoc(), Init.get(), Then.get(), S->getElseLoc(), Else.get()); in TransformIfStmt()