Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/clang/lib/AST/
H A DRawCommentList.cpp130 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()
H A DCommentLexer.cpp850 std::pair<FileID, unsigned> LocInfo = SourceMgr.getDecomposedLoc(Loc); in getSpelling()
/openbsd/gnu/llvm/clang/lib/Edit/
H A 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()
/openbsd/gnu/llvm/clang/lib/Tooling/Syntax/
H A DTokens.cpp89 auto DecFirst = SM.getDecomposedLoc(First); in spelledForExpandedSlow()
90 auto DecLast = SM.getDecomposedLoc(Last); in spelledForExpandedSlow()
141 auto DecBound = SM.getDecomposedLoc(Bound); in spelledForExpandedSlow()
173 auto DecLast = SM.getDecomposedLoc(Candidate.getEnd()); in spelledForExpandedSlow()
179 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Prev).getBegin()); in spelledForExpandedSlow()
184 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Next).getEnd()); in spelledForExpandedSlow()
217 std::tie(File, StartOffset) = SM.getDecomposedLoc(location()); in range()
247 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange()
259 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange()
/openbsd/gnu/llvm/clang/tools/libclang/
H A 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()
H A 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()
H A DIndexing.cpp220 PPRec.getSourceManager().getDecomposedLoc(RegionLoc); in getRegion()
394 std::tie(FID, Offset) = SM.getDecomposedLoc(Loc); in shouldSkipFunctionBody()
H A DCXIndexDataConsumer.cpp1029 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SM.getFileLoc(Loc)); in markEntityOccurrenceInFile()
1124 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in translateLoc()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DSARIFDiagnostic.cpp94 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(B); in addLocationToResult()
95 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(E); in addLocationToResult()
H A DTextDiagnostic.cpp871 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(B); in emitDiagnosticLoc()
872 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(E); in emitDiagnosticLoc()
1150 std::pair<FileID, unsigned> LocInfo = Loc.getDecomposedLoc(); in emitSnippetAndCaret()
1184 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret()
1334 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in emitParseableFixits()
1335 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc); in emitParseableFixits()
/openbsd/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp71 std::pair<FileID, unsigned> BeginInfo = SM.getDecomposedLoc(Range.getBegin()); in validateRange()
72 std::pair<FileID, unsigned> EndInfo = SM.getDecomposedLoc(Range.getEnd()); in validateRange()
181 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc()
/openbsd/gnu/llvm/clang/lib/Basic/
H A DSourceLocation.cpp274 std::pair<FileID, unsigned> FullSourceLoc::getDecomposedLoc() const { in getDecomposedLoc() function in FullSourceLoc
275 return SrcMgr->getDecomposedLoc(*this); in getDecomposedLoc()
H A DSourceManager.cpp954 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getSpellingLocSlowCase()
1014 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getImmediateSpellingLoc()
1086 std::pair<FileID, unsigned> DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion()
1846 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1924 std::tie(FID, Offset) = getDecomposedLoc(Loc); in getMacroArgExpandedLocation()
1975 DecompLoc = getDecomposedLoc(UpperLoc); in getDecomposedIncludedLoc()
2031 std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS); in isBeforeInTranslationUnit()
2032 std::pair<FileID, unsigned> ROffs = getDecomposedLoc(RHS); in isBeforeInTranslationUnit()
H A DDiagnostic.cpp191 std::pair<FileID, unsigned> Decomp = SrcMgr.getDecomposedLoc(Loc); in append()
217 std::pair<FileID, unsigned> Decomp = SrcMgr.getDecomposedLoc(Loc); in lookup()
/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DTransforms.cpp139 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()
/openbsd/gnu/llvm/clang/lib/Tooling/Core/
H A DReplacement.cpp124 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()
/openbsd/gnu/llvm/clang/lib/Lex/
H A DLexer.cpp336 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in getSpelling()
474 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getRawToken()
516 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getBeginningOfFileToken()
571 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
573 SM.getDecomposedLoc(BeginFileLoc); in GetBeginningOfToken()
871 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
971 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(Range.getBegin()); in getSourceText()
1037 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName()
1064 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroNameForDiagnostics()
1098 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getIndentationForLine()
[all …]
/openbsd/gnu/llvm/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp700 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in ProcessCodeCompleteResults()
701 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc); in ProcessCodeCompleteResults()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DSourceLocation.h425 std::pair<FileID, unsigned> getDecomposedLoc() const;
H A DSourceManager.h1246 std::pair<FileID, unsigned> getDecomposedLoc(SourceLocation Loc) const { in getDecomposedLoc() function
1298 return getDecomposedLoc(SpellingLoc).second; in getFileOffset()
/openbsd/gnu/llvm/clang/lib/Rewrite/
H A DRewriter.cpp235 std::pair<FileID, unsigned> V = SourceMgr->getDecomposedLoc(Loc); in getLocationOffsetAndFileID()
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp200 FullKeyPosition.getSpellingLoc().getDecomposedLoc(); in AtomicChange()
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp49 FullLoc.getSpellingLoc().getDecomposedLoc(); in IsValidEditLoc()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DPathDiagnostic.cpp333 std::pair<FileID, unsigned> XOffs = XL.getDecomposedLoc(); in compareCrossTUSourceLocs()
334 std::pair<FileID, unsigned> YOffs = YL.getDecomposedLoc(); in compareCrossTUSourceLocs()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp1133 Mgr.getSourceManager().getDecomposedLoc(SL); in VisitObjCMessageExpr()
1141 SLInfo = Mgr.getSourceManager().getDecomposedLoc(SL); in VisitObjCMessageExpr()

12