Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisleadingIndentationCheck.cpp27 SM.getExpansionLineNumber(If->getIfLoc())) in getPrecedingIf()
36 SourceLocation IfLoc = If->getIfLoc(); in danglingElseCheck()
49 IfLoc = PrecedingIf->getIfLoc(); in danglingElseCheck()
DElseAfterReturnCheck.cpp274 SourceRange(If->getIfLoc()), in check()
285 tooling::fixit::getText(If->getIfLoc(), *Result.Context)) in check()
287 Diag << tooling::fixit::createReplacement(SourceRange(If->getIfLoc()), in check()
309 SourceRange(If->getIfLoc()), in check()
312 tooling::fixit::getText(If->getIfLoc(), *Result.Context)) in check()
DFunctionCognitiveComplexityCheck.cpp260 CC.account(Node->getIfLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt()
/external/llvm-project/clang/include/clang/AST/
DStmt.h2063 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc() function
2086 SourceLocation getBeginLoc() const { return getIfLoc(); } in getBeginLoc()
/external/llvm-project/clang/lib/Tooling/Syntax/
DBuildTree.cpp1428 Builder.markChildToken(S->getIfLoc(), syntax::NodeRole::IntroducerKeyword); in WalkUpFromIfStmt()
/external/clang/include/clang/AST/
DStmt.h928 SourceLocation getIfLoc() const { return IfLoc; } in getIfLoc() function
/external/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp154 Record.AddSourceLocation(S->getIfLoc()); in VisitIfStmt()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp137 Record.AddSourceLocation(S->getIfLoc()); in VisitIfStmt()
/external/clang/lib/Sema/
DTreeTransform.h6276 S->getIfLoc(), S->getConditionVariable(), S->getCond(), in TransformIfStmt()
6312 return getDerived().RebuildIfStmt(S->getIfLoc(), S->isConstexpr(), Cond, in TransformIfStmt()
/external/llvm-project/clang/lib/Sema/
DTreeTransform.h7262 S->getIfLoc(), S->getConditionVariable(), S->getCond(), in TransformIfStmt()
7299 S->getIfLoc(), S->isConstexpr(), S->getLParenLoc(), Cond, in TransformIfStmt()
/external/clang/lib/AST/
DASTImporter.cpp4979 SourceLocation ToIfLoc = Importer.Import(S->getIfLoc()); in VisitIfStmt()
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp6124 auto ToIfLoc = importChecked(Err, S->getIfLoc()); in VisitIfStmt()