| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | RawCommentList.cpp | 130 SourceMgr.getDecomposedLoc(Range.getBegin()); in RawComment() 160 SourceMgr.getDecomposedLoc(Range.getBegin()); in getRawTextSlow() 161 std::tie(EndFileID, EndOffset) = SourceMgr.getDecomposedLoc(Range.getEnd()); in getRawTextSlow() 229 std::pair<FileID, unsigned> Loc1Info = SM.getDecomposedLoc(Loc1); in onlyWhitespaceBetween() 230 std::pair<FileID, unsigned> Loc2Info = SM.getDecomposedLoc(Loc2); in onlyWhitespaceBetween() 285 SourceMgr.getDecomposedLoc(RC.getBeginLoc()); in addComment() 355 SourceMgr.getDecomposedLoc(C->getSourceRange().getEnd()).second; in getCommentEndOffset()
|
| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | Commit.cpp | 242 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsert() 276 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsertAfterToken() 312 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(range.getBegin()); in canRemoveRange() 313 std::pair<FileID, unsigned> endInfo = SM.getDecomposedLoc(range.getEnd()); in canRemoveRange()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Syntax/ |
| H A D | Tokens.cpp | 90 auto DecFirst = SM.getDecomposedLoc(First); in spelledForExpandedSlow() 91 auto DecLast = SM.getDecomposedLoc(Last); in spelledForExpandedSlow() 142 auto DecBound = SM.getDecomposedLoc(Bound); in spelledForExpandedSlow() 174 auto DecLast = SM.getDecomposedLoc(Candidate.getEnd()); in spelledForExpandedSlow() 180 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Prev).getBegin()); in spelledForExpandedSlow() 185 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Next).getEnd()); in spelledForExpandedSlow() 218 std::tie(File, StartOffset) = SM.getDecomposedLoc(location()); in range() 248 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange() 260 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 260 *offset = SM.getDecomposedLoc(ExpansionLoc).second; in clang_getExpansionLocation() 323 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellLoc); in clang_getSpellingLocation() 359 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc); in clang_getFileLocation()
|
| H A D | CIndexHigh.cpp | 195 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in findFileIdRefVisit() 290 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in findFileMacroRefVisit() 362 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in visit()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 68 std::pair<FileID, unsigned> BeginInfo = SM.getDecomposedLoc(Range.getBegin()); in validateEditRange() 69 std::pair<FileID, unsigned> EndInfo = SM.getDecomposedLoc(Range.getEnd()); in validateEditRange() 137 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTrailingReturnTypeCheck.cpp | 145 std::pair<FileID, unsigned> Loc = SM.getDecomposedLoc(Result); in findTrailingReturnTypeSourceLocation() 226 std::pair<FileID, unsigned> Loc = SM.getDecomposedLoc(BeginF); in classifyTokensBeforeFunctionName() 353 SM.getDecomposedLoc(ReturnTypeCVRange.getBegin()).second; in keepSpecifiers() 367 unsigned int TOffset = SM.getDecomposedLoc(CT.T.getLocation()).second; in keepSpecifiers()
|
| H A D | UseNullptrCheck.cpp | 333 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(ArgLoc); in getMacroAndArgLocations() 386 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in expandsFrom()
|
| H A D | UseOverrideCheck.cpp | 49 Sources.getDecomposedLoc(Range.getBegin()); in parseTokens()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ArgumentCommentCheck.cpp | 86 std::pair<FileID, unsigned> BeginLoc = SM.getDecomposedLoc(Range.getBegin()), in getCommentsInRange() 87 EndLoc = SM.getDecomposedLoc(Range.getEnd()); in getCommentsInRange() 112 SM.getDecomposedLoc(Tok.getLocation()); in getCommentsInRange()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 270 std::pair<FileID, unsigned> FullSourceLoc::getDecomposedLoc() const { in getDecomposedLoc() function in FullSourceLoc 271 return SrcMgr->getDecomposedLoc(*this); in getDecomposedLoc()
|
| H A D | SourceManager.cpp | 947 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getSpellingLocSlowCase() 1007 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getImmediateSpellingLoc() 1079 std::pair<FileID, unsigned> DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion() 1837 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp() 1915 std::tie(FID, Offset) = getDecomposedLoc(Loc); in getMacroArgExpandedLocation() 1966 DecompLoc = getDecomposedLoc(UpperLoc); in getDecomposedIncludedLoc() 2020 std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS); in isBeforeInTranslationUnit() 2021 std::pair<FileID, unsigned> ROffs = getDecomposedLoc(RHS); in isBeforeInTranslationUnit()
|
| H A D | Sarif.cpp | 121 std::pair<FileID, unsigned> LocInfo = Loc.getDecomposedLoc(); in adjustColumnPos()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SemanticSelection.cpp | 44 const auto Begin = SM.getDecomposedLoc(SR.getBegin()), in toFoldingRange() 45 End = SM.getDecomposedLoc(SR.getEnd()); in toFoldingRange()
|
| H A D | SourceCode.cpp | 246 std::tie(BeginFID, BeginOffset) = Mgr.getDecomposedLoc(R.getBegin()); in isValidFileRange() 250 std::tie(EndFID, EndOffset) = Mgr.getDecomposedLoc(R.getEnd()); in isValidFileRange() 946 std::tie(File, Offset) = SM.getDecomposedLoc(SpelledLoc); in touching()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 871 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(B); in emitDiagnosticLoc() 872 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(E); in emitDiagnosticLoc() 1149 std::pair<FileID, unsigned> LocInfo = Loc.getDecomposedLoc(); in emitSnippetAndCaret() 1183 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret() 1333 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in emitParseableFixits() 1334 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc); in emitParseableFixits()
|
| /llvm-project-15.0.7/clang-tools-extra/include-cleaner/unittests/ |
| H A D | WalkASTTest.cpp | 47 auto NDLoc = SM.getDecomposedLoc(SM.getFileLoc(ND.getLocation())); in testWalk()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 139 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in findSemiAfterLocation() 387 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute() 468 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 124 Sources.getDecomposedLoc(Start); in setFromSourceLocation() 139 std::pair<FileID, unsigned> Start = Sources.getDecomposedLoc(SpellingBegin); in getRangeSize() 140 std::pair<FileID, unsigned> End = Sources.getDecomposedLoc(SpellingEnd); in getRangeSize()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ParsedASTTests.cpp | 360 : HashOffset(SM.getDecomposedLoc(HashLoc).second), IncTok(IncludeTok), in TEST() 362 FileNameOffset(SM.getDecomposedLoc(FilenameRange.getBegin()).second), in TEST() 462 EXPECT_EQ(SM.getDecomposedLoc(SkippedFiles[I].location()).second, in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/ |
| H A D | ChangeNamespace.cpp | 97 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getLexerStartingFromLoc() 123 return SM.getLocForEndOfFile(SM.getDecomposedLoc(Loc).first) == End in getStartOfNextLine() 159 if (SM.getDecomposedLoc(Start).first != SM.getDecomposedLoc(End).first) { in createReplacement()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | Lexer.cpp | 337 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in getSpelling() 475 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getRawToken() 517 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getBeginningOfFileToken() 572 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken() 574 SM.getDecomposedLoc(BeginFileLoc); in GetBeginningOfToken() 872 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs() 972 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(Range.getBegin()); in getSourceText() 1038 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName() 1063 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroNameForDiagnostics() 1097 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getIndentationForLine() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MagicNumbersCheck.cpp | 208 SourceManager->getDecomposedLoc(Literal->getLocation()); in isSyntheticValue()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | LexerUtils.cpp | 121 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Range.getBegin()); in getQualifyingToken()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 700 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in ProcessCodeCompleteResults() 701 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc); in ProcessCodeCompleteResults()
|