Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A 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 FileIDAndOffset Loc1Info = SM.getDecomposedLoc(Loc1); in onlyWhitespaceBetween()
228 FileIDAndOffset Loc2Info = SM.getDecomposedLoc(Loc2); in onlyWhitespaceBetween()
282 FileIDAndOffset Loc = SourceMgr.getDecomposedLoc(RC.getBeginLoc()); in addComment()
352 SourceMgr.getDecomposedLoc(C->getSourceRange().getEnd()).second; in getCommentEndOffset()
H A DCommentLexer.cpp907 FileIDAndOffset LocInfo = SourceMgr.getDecomposedLoc(Loc); in getSpelling()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp241 FileIDAndOffset locInfo = SM.getDecomposedLoc(loc); in canInsert()
275 FileIDAndOffset locInfo = SM.getDecomposedLoc(loc); in canInsertAfterToken()
311 FileIDAndOffset beginInfo = SM.getDecomposedLoc(range.getBegin()); in canRemoveRange()
312 FileIDAndOffset endInfo = SM.getDecomposedLoc(range.getEnd()); in canRemoveRange()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSARIFDiagnostic.cpp94 FileIDAndOffset BInfo = SM.getDecomposedLoc(B); in addLocationToResult()
95 FileIDAndOffset EInfo = SM.getDecomposedLoc(E); in addLocationToResult()
H A DTextDiagnostic.cpp1151 SM.getDecomposedLoc(SM.translateLineCol(FID, StartLineNumber, 1)).second; in highlightLines()
1360 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret()
1521 FileIDAndOffset BInfo = SM.getDecomposedLoc(BLoc); in emitParseableFixits()
1522 FileIDAndOffset EInfo = SM.getDecomposedLoc(ELoc); in emitParseableFixits()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp277 FileIDAndOffset FullSourceLoc::getDecomposedLoc() const { in getDecomposedLoc() function in FullSourceLoc
278 return SrcMgr->getDecomposedLoc(*this); in getDecomposedLoc()
H A DSourceManager.cpp911 FileIDAndOffset LocInfo = getDecomposedLoc(Loc); in getSpellingLocSlowCase()
969 FileIDAndOffset LocInfo = getDecomposedLoc(Loc); in getImmediateSpellingLoc()
1041 FileIDAndOffset DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion()
1799 auto [SpellFID, SpellRelativeOffs] = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1881 auto [FID, Offset] = getDecomposedLoc(Loc); in getMacroArgExpandedLocation()
1931 DecompLoc = getDecomposedLoc(UpperLoc); in getDecomposedIncludedLoc()
1940 auto [FID, Ignore] = getDecomposedLoc(Loc); in getUniqueLoadedASTFileID()
2028 FileIDAndOffset LOffs = getDecomposedLoc(LHS); in isBeforeInTranslationUnit()
2029 FileIDAndOffset ROffs = getDecomposedLoc(RHS); in isBeforeInTranslationUnit()
H A DDiagnostic.cpp176 FileIDAndOffset Decomp = SrcMgr.getDecomposedLoc(Loc); in append()
202 FileIDAndOffset Decomp = SrcMgr.getDecomposedLoc(Loc); in lookup()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp87 auto DecFirst = SM.getDecomposedLoc(First); in spelledForExpandedSlow()
88 auto DecLast = SM.getDecomposedLoc(Last); in spelledForExpandedSlow()
125 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Prev).getBegin()); in spelledForExpandedSlow()
130 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Next).getEnd()); in spelledForExpandedSlow()
163 std::tie(File, StartOffset) = SM.getDecomposedLoc(location()); in range()
193 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange()
205 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp71 FileIDAndOffset BeginInfo = SM.getDecomposedLoc(Range.getBegin()); in validateRange()
72 FileIDAndOffset EndInfo = SM.getDecomposedLoc(Range.getEnd()); in validateRange()
230 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp123 const FileIDAndOffset DecomposedLocation = Sources.getDecomposedLoc(Start); in setFromSourceLocation()
139 FileIDAndOffset Start = Sources.getDecomposedLoc(SpellingBegin); in getRangeSize()
140 FileIDAndOffset End = Sources.getDecomposedLoc(SpellingEnd); in getRangeSize()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp384 FileIDAndOffset locInfo = SM.getDecomposedLoc(loc); in getSpelling()
522 FileIDAndOffset LocInfo = SM.getDecomposedLoc(Loc); in getRawToken()
564 FileIDAndOffset LocInfo = SM.getDecomposedLoc(Loc); in getBeginningOfFileToken()
619 FileIDAndOffset FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
620 FileIDAndOffset BeginFileLocInfo = SM.getDecomposedLoc(BeginFileLoc); in GetBeginningOfToken()
931 auto [FID, BeginOffs] = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
1031 FileIDAndOffset beginInfo = SM.getDecomposedLoc(Range.getBegin()); in getSourceText()
1097 FileIDAndOffset ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName()
1124 FileIDAndOffset ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroNameForDiagnostics()
1158 FileIDAndOffset LocInfo = SM.getDecomposedLoc(Loc); in getIndentationForLine()
[all …]
H A DModuleMap.cpp1740 SourceMgr.getDecomposedLoc(ModuleNameLoc).first != in handleModuleDecl()
1741 SourceMgr.getDecomposedLoc(Existing->DefinitionLoc).first; in handleModuleDecl()
H A DModuleMapFile.cpp163 auto Loc = SM.getDecomposedLoc(Parser.getLocation()); in parseModuleMap()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp703 FileIDAndOffset BInfo = SM.getDecomposedLoc(BLoc); in ProcessCodeCompleteResults()
704 FileIDAndOffset EInfo = SM.getDecomposedLoc(ELoc); in ProcessCodeCompleteResults()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp136 FileIDAndOffset V = SourceMgr->getDecomposedLoc(Loc); in getLocationOffsetAndFileID()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h429 FileIDAndOffset getDecomposedLoc() const;
H A DSourceManager.h1276 FileIDAndOffset getDecomposedLoc(SourceLocation Loc) const { in getDecomposedLoc() function
1326 return getDecomposedLoc(SpellingLoc).second; in getFileOffset()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp199 auto FileIDAndOffset = FullKeyPosition.getSpellingLoc().getDecomposedLoc(); in AtomicChange()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp48 auto FileIdAndOffset = FullLoc.getSpellingLoc().getDecomposedLoc(); in IsValidEditLoc()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp326 FileIDAndOffset XOffs = XL.getDecomposedLoc(); in compareCrossTUSourceLocs()
327 FileIDAndOffset YOffs = YL.getDecomposedLoc(); in compareCrossTUSourceLocs()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp1121 FileIDAndOffset SLInfo = Mgr.getSourceManager().getDecomposedLoc(SL); in VisitObjCMessageExpr()
1129 SLInfo = Mgr.getSourceManager().getDecomposedLoc(SL); in VisitObjCMessageExpr()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp901 FileIDAndOffset LocInfo = SM.getDecomposedLoc(Loc); in visitFullComment()
H A DUSRGeneration.cpp34 const FileIDAndOffset &Decomposed = SM.getDecomposedLoc(Loc); in printLoc()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1037 FileIDAndOffset LocInfo = L.getDecomposedLoc(); in HandlePiece()

12