Home
last modified time | relevance | path

Searched refs:getDecomposedLoc (Results 1 – 25 of 104) sorted by relevance

12345

/external/llvm-project/clang/lib/AST/
DRawCommentList.cpp129 SourceMgr.getDecomposedLoc(Range.getBegin()); in RawComment()
159 SourceMgr.getDecomposedLoc(Range.getBegin()); in getRawTextSlow()
160 std::tie(EndFileID, EndOffset) = SourceMgr.getDecomposedLoc(Range.getEnd()); in getRawTextSlow()
228 std::pair<FileID, unsigned> Loc1Info = SM.getDecomposedLoc(Loc1); in onlyWhitespaceBetween()
229 std::pair<FileID, unsigned> Loc2Info = SM.getDecomposedLoc(Loc2); in onlyWhitespaceBetween()
284 SourceMgr.getDecomposedLoc(RC.getBeginLoc()); in addComment()
354 SourceMgr.getDecomposedLoc(C->getSourceRange().getEnd()).second; in getCommentEndOffset()
/external/clang/lib/AST/
DRawCommentList.cpp128 SourceMgr.getDecomposedLoc(Range.getBegin()); in RawComment()
158 SourceMgr.getDecomposedLoc(Range.getBegin()); in getRawTextSlow()
159 std::tie(EndFileID, EndOffset) = SourceMgr.getDecomposedLoc(Range.getEnd()); in getRawTextSlow()
227 std::pair<FileID, unsigned> Loc1Info = SM.getDecomposedLoc(Loc1); in onlyWhitespaceBetween()
228 std::pair<FileID, unsigned> Loc2Info = SM.getDecomposedLoc(Loc2); in onlyWhitespaceBetween()
/external/clang/lib/Basic/
DSourceLocation.cpp140 std::pair<FileID, unsigned> FullSourceLoc::getDecomposedLoc() const { in getDecomposedLoc() function in FullSourceLoc
141 return SrcMgr->getDecomposedLoc(*this); in getDecomposedLoc()
DSourceManager.cpp908 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getSpellingLocSlowCase()
968 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getImmediateSpellingLoc()
1026 std::pair<FileID, unsigned> DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion()
1861 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1940 std::tie(FID, Offset) = getDecomposedLoc(Loc); in getMacroArgExpandedLocation()
1986 DecompLoc = getDecomposedLoc(UpperLoc); in getDecomposedIncludedLoc()
2040 std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS); in isBeforeInTranslationUnit()
2041 std::pair<FileID, unsigned> ROffs = getDecomposedLoc(RHS); in isBeforeInTranslationUnit()
/external/llvm-project/clang/lib/Edit/
DCommit.cpp242 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()
/external/clang/lib/Edit/
DCommit.cpp238 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsert()
273 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsertAfterToken()
311 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(range.getBegin()); in canRemoveRange()
312 std::pair<FileID, unsigned> endInfo = SM.getDecomposedLoc(range.getEnd()); in canRemoveRange()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseTrailingReturnTypeCheck.cpp139 std::pair<FileID, unsigned> Loc = SM.getDecomposedLoc(Result); in findTrailingReturnTypeSourceLocation()
220 std::pair<FileID, unsigned> Loc = SM.getDecomposedLoc(BeginF); in classifyTokensBeforeFunctionName()
297 std::pair<FileID, unsigned> Loc = SM.getDecomposedLoc(End); in findReturnTypeAndCVSourceRange()
375 SM.getDecomposedLoc(ReturnTypeCVRange.getBegin()).second; in keepSpecifiers()
389 unsigned int TOffset = SM.getDecomposedLoc(CT.T.getLocation()).second; in keepSpecifiers()
DUseNullptrCheck.cpp318 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(ArgLoc); in getMacroAndArgLocations()
371 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in expandsFrom()
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCode.cpp68 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()
/external/llvm-project/clang/tools/libclang/
DCXSourceLocation.cpp260 *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()
DCIndexHigh.cpp195 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()
/external/clang/tools/libclang/
DCXSourceLocation.cpp269 *offset = SM.getDecomposedLoc(ExpansionLoc).second; in clang_getExpansionLocation()
332 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellLoc); in clang_getSpellingLocation()
368 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc); in clang_getFileLocation()
DCIndexHigh.cpp198 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in findFileIdRefVisit()
293 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in findFileMacroRefVisit()
365 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in visit()
/external/llvm-project/clang-tools-extra/clangd/
DSemanticSelection.cpp42 const auto Begin = SM.getDecomposedLoc(SR.getBegin()), in toFoldingRange()
43 End = SM.getDecomposedLoc(SR.getEnd()); in toFoldingRange()
/external/llvm-project/clang/lib/Basic/
DSourceLocation.cpp262 std::pair<FileID, unsigned> FullSourceLoc::getDecomposedLoc() const { in getDecomposedLoc() function in FullSourceLoc
263 return SrcMgr->getDecomposedLoc(*this); in getDecomposedLoc()
DSourceManager.cpp942 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getSpellingLocSlowCase()
1002 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getImmediateSpellingLoc()
1074 std::pair<FileID, unsigned> DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion()
1786 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1864 std::tie(FID, Offset) = getDecomposedLoc(Loc); in getMacroArgExpandedLocation()
1915 DecompLoc = getDecomposedLoc(UpperLoc); in getDecomposedIncludedLoc()
1969 std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS); in isBeforeInTranslationUnit()
1970 std::pair<FileID, unsigned> ROffs = getDecomposedLoc(RHS); in isBeforeInTranslationUnit()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DArgumentCommentCheck.cpp82 std::pair<FileID, unsigned> BeginLoc = SM.getDecomposedLoc(Range.getBegin()), in getCommentsInRange()
83 EndLoc = SM.getDecomposedLoc(Range.getEnd()); in getCommentsInRange()
108 SM.getDecomposedLoc(Tok.getLocation()); in getCommentsInRange()
/external/llvm-project/clang/lib/Frontend/
DTextDiagnostic.cpp881 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(B); in emitDiagnosticLoc()
882 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(E); in emitDiagnosticLoc()
1159 std::pair<FileID, unsigned> LocInfo = Loc.getDecomposedLoc(); in emitSnippetAndCaret()
1193 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret()
1343 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in emitParseableFixits()
1344 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc); in emitParseableFixits()
/external/clang/lib/Tooling/Core/
DReplacement.cpp109 Sources.getDecomposedLoc(Start); in setFromSourceLocation()
124 std::pair<FileID, unsigned> Start = Sources.getDecomposedLoc(SpellingBegin); in getRangeSize()
125 std::pair<FileID, unsigned> End = Sources.getDecomposedLoc(SpellingEnd); in getRangeSize()
/external/clang/lib/Index/
DIndexingContext.cpp74 std::tie(FID, Offset) = SM.getDecomposedLoc(Loc); in importedModule()
251 std::tie(FID, Offset) = SM.getDecomposedLoc(Loc); in handleDeclOccurrence()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DAvoidConstParamsInDecls.cpp54 Sources.getDecomposedLoc(Range.getBegin()); in ConstTok()
/external/llvm-project/clang/lib/ARCMigrate/
DTransforms.cpp141 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in findSemiAfterLocation()
389 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute()
470 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute()
/external/clang/lib/ARCMigrate/
DTransforms.cpp146 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in findSemiAfterLocation()
393 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute()
474 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DParsedASTTests.cpp359 : HashOffset(SM.getDecomposedLoc(HashLoc).second), IncTok(IncludeTok), in TEST()
361 FileNameOffset(SM.getDecomposedLoc(FilenameRange.getBegin()).second), in TEST()
456 EXPECT_EQ(SM.getDecomposedLoc(SkippedFiles[I].location()).second, in TEST()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp855 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(B); in emitDiagnosticLoc()
856 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(E); in emitDiagnosticLoc()
1087 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in emitSnippetAndCaret()
1254 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in emitParseableFixits()
1255 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc); in emitParseableFixits()

12345