| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MisleadingIndentationCheck.cpp | 26 if (SM.getExpansionLineNumber(PreviousElseLoc) == in getPrecedingIf() 27 SM.getExpansionLineNumber(If->getIfLoc())) in getPrecedingIf() 42 if (SM.getExpansionLineNumber(If->getThen()->getEndLoc()) == in danglingElseCheck() 43 SM.getExpansionLineNumber(ElseLoc)) in danglingElseCheck() 88 if (SM.getExpansionLineNumber(InnerLoc) == in missingBracesCheck() 89 SM.getExpansionLineNumber(OuterLoc)) in missingBracesCheck()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | IssueHash.cpp | 141 L.getExpansionLineNumber()); in NormalizeLine() 148 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()
|
| H A D | AnalysisDeclContext.cpp | 492 Out << SM.getExpansionLineNumber(Loc); in printLocation()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | IncludeOrderCheck.cpp | 117 if (SM.getExpansionLineNumber(FileDirectives[I].Loc) != in EndOfMainFile() 118 SM.getExpansionLineNumber(FileDirectives[I - 1].Loc) + 1) in EndOfMainFile()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 226 unsigned FullSourceLoc::getExpansionLineNumber(bool *Invalid) const { in getExpansionLineNumber() function in FullSourceLoc 228 return SrcMgr->getExpansionLineNumber(*this, Invalid); in getExpansionLineNumber()
|
| H A D | Sarif.cpp | 154 json::Object Region{{"startLine", FirstTokenLoc.getExpansionLineNumber()}, in createTextRegion() 158 Region["endLine"] = LastTokenLoc.getExpansionLineNumber(); in createTextRegion()
|
| H A D | SourceManager.cpp | 1445 unsigned SourceManager::getExpansionLineNumber(SourceLocation Loc, in getExpansionLineNumber() function in SourceManager
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StackAddrEscapeChecker.cpp | 82 << SM.getExpansionLineNumber(CL->getBeginLoc()) << " returned to caller"; in genName() 89 << SM.getExpansionLineNumber(L); in genName() 95 << SM.getExpansionLineNumber(L); in genName()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 300 offsetDecl = L.getExpansionLineNumber() - FunL.getExpansionLineNumber(); in ReportDiag() 554 int LineNumber = path.back()->getLocation().asLocation().getExpansionLineNumber(); in FinalizeHTML() 592 P->getLocation().asLocation().getExpansionLineNumber(); in FinalizeHTML() 1240 unsigned StartLineNo = SM.getExpansionLineNumber(InstantiationStart); in HighlightRange() 1243 unsigned EndLineNo = SM.getExpansionLineNumber(InstantiationEnd); in HighlightRange()
|
| H A D | PlistDiagnostics.cpp | 756 << L.getExpansionLineNumber() - UFunL.getExpansionLineNumber() in FlushDiagnosticsImpl() 763 << L.getExpansionLineNumber() - FunL.getExpansionLineNumber() in FlushDiagnosticsImpl()
|
| H A D | SarifDiagnostics.cpp | 184 {"startLine", SM.getExpansionLineNumber(R.getBegin())}, in createTextRegion() 190 Region["endLine"] = SM.getExpansionLineNumber(R.getEnd()); in createTextRegion()
|
| H A D | BugReporter.cpp | 600 << getSourceManager().getExpansionLineNumber(Loc.asLocation()) in ExecutionContinues() 760 << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP() 764 << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP() 789 os << ":' at line " << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP() 808 os << "Control jumps to line " << End.asLocation().getExpansionLineNumber(); in generateDiagForGotoOP() 3143 unsigned StartLine = SM.getExpansionLineNumber(Start); in populateExecutedLinesWithFunctionSignature() 3144 unsigned EndLine = SM.getExpansionLineNumber(End); in populateExecutedLinesWithFunctionSignature() 3159 unsigned LineNo = SM.getExpansionLineNumber(ExpansionLoc); in populateExecutedLinesWithStmt()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | PlistSupport.h | 115 EmitInteger(o, Loc.getExpansionLineNumber()) << '\n'; in EmitLocation()
|
| H A D | SourceLocation.h | 398 unsigned getExpansionLineNumber(bool *Invalid = nullptr) const;
|
| H A D | SourceManager.h | 1411 unsigned getExpansionLineNumber(SourceLocation Loc, bool *Invalid = nullptr) const;
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 937 return std::make_pair(SM.getExpansionLineNumber(Begin), in findLinesForRange() 938 SM.getExpansionLineNumber(End)); in findLinesForRange() 988 unsigned StartLineNo = SM.getExpansionLineNumber(Begin); in highlightRange() 992 unsigned EndLineNo = SM.getExpansionLineNumber(End); in highlightRange()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 256 *line = SM.getExpansionLineNumber(ExpansionLoc); in clang_getExpansionLocation()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyDiagnosticConsumer.cpp | 550 unsigned LineNumber = Sources.getExpansionLineNumber(Location); in checkFilters()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | JSONNodeDumper.cpp | 245 : SM.getExpansionLineNumber(Loc); in writeBareSourceLocation()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 954 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration() 955 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration()
|
| H A D | RewriteModernObjC.cpp | 1114 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration() 1115 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 1746 EXPECT_EQ(Loc1.getExpansionLineNumber(), Loc2.getExpansionLineNumber()); in CompareSourceLocs()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 2745 SM.getExpansionLineNumber(L); in EmitAnnotationLineNo()
|