Searched refs:getIfLoc (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MisleadingIndentationCheck.cpp | 27 SM.getExpansionLineNumber(If->getIfLoc())) in getPrecedingIf() 36 SourceLocation IfLoc = If->getIfLoc(); in danglingElseCheck() 49 IfLoc = PrecedingIf->getIfLoc(); in danglingElseCheck()
|
| H A D | ElseAfterReturnCheck.cpp | 273 SourceRange(If->getIfLoc()), in check() 284 tooling::fixit::getText(If->getIfLoc(), *Result.Context)) in check() 286 Diag << tooling::fixit::createReplacement(SourceRange(If->getIfLoc()), in check() 308 SourceRange(If->getIfLoc()), in check() 311 tooling::fixit::getText(If->getIfLoc(), *Result.Context)) in check()
|
| H A D | FunctionCognitiveComplexityCheck.cpp | 266 CC.account(Node->getIfLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 2099 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc() function 2145 SourceLocation getBeginLoc() const { return getIfLoc(); } in getBeginLoc()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 1463 Builder.markChildToken(S->getIfLoc(), syntax::NodeRole::IntroducerKeyword); in WalkUpFromIfStmt()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 157 Record.AddSourceLocation(S->getIfLoc()); in VisitIfStmt()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | TreeTransform.h | 7478 S->getIfLoc(), S->getConditionVariable(), S->getCond(), in TransformIfStmt() 7516 S->getIfLoc(), S->getStatementKind(), S->getLParenLoc(), Cond, in TransformIfStmt()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 6441 auto ToIfLoc = importChecked(Err, S->getIfLoc()); in VisitIfStmt()
|