Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisleadingIndentationCheck.cpp25 SourceLocation PreviousElseLoc = PrecedingIf->getElseLoc(); in getPrecedingIf()
37 SourceLocation ElseLoc = If->getElseLoc(); in danglingElseCheck()
DBracesAroundStatementsCheck.cpp159 bool BracedIf = checkStmt(Result, S->getThen(), StartLoc, S->getElseLoc()); in check()
165 checkStmt(Result, Else, S->getElseLoc()); in check()
DFunctionCognitiveComplexityCheck.cpp304 CC.account(Node->getElseLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt()
DElseAfterReturnCheck.cpp245 SourceLocation ElseLoc = If->getElseLoc(); in check()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMultipleStatementMacroCheck.cpp77 OuterLoc = cast<IfStmt>(Outer)->getElseLoc(); in check()
DBranchCloneCheck.cpp87 diag(IS->getElseLoc(), "else branch starts here", DiagnosticIDs::Note); in check()
/external/llvm-project/clang/lib/Tooling/Transformer/
DRangeSelector.cpp311 CharSourceRange::getTokenRange(S.getElseLoc(), S.getEndLoc()), in getElseRange()
/external/llvm-project/clang/lib/Tooling/Syntax/
DBuildTree.cpp1430 Builder.markChildToken(S->getElseLoc(), syntax::NodeRole::ElseKeyword); in WalkUpFromIfStmt()
/external/clang/include/clang/AST/
DStmt.h930 SourceLocation getElseLoc() const { return ElseLoc; } in getElseLoc() function
/external/llvm-project/clang/include/clang/AST/
DStmt.h2066 SourceLocation getElseLoc() const { in getElseLoc() function
/external/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp158 Record.AddSourceLocation(S->getElseLoc()); in VisitIfStmt()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp138 Record.AddSourceLocation(S->getElseLoc()); in VisitIfStmt()
/external/clang/lib/AST/
DASTImporter.cpp4996 SourceLocation ToElseLoc = Importer.Import(S->getElseLoc()); in VisitIfStmt()
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp6131 auto ToElseLoc = importChecked(Err, S->getElseLoc()); in VisitIfStmt()
/external/clang/lib/Sema/
DTreeTransform.h6313 Init.get(), Then.get(), S->getElseLoc(), in TransformIfStmt()
/external/llvm-project/clang/lib/Sema/
DTreeTransform.h7300 S->getRParenLoc(), Init.get(), Then.get(), S->getElseLoc(), Else.get()); in TransformIfStmt()