Home
last modified time | relevance | path

Searched refs:FileIDAndOffset (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp270 FileIDAndOffset LocInfo = getDecomposedExpansionLoc(Loc); in AddLineNote()
911 FileIDAndOffset LocInfo = getDecomposedLoc(Loc); in getSpellingLocSlowCase()
928 FileIDAndOffset SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase()
945 FileIDAndOffset
969 FileIDAndOffset LocInfo = getDecomposedLoc(Loc); in getImmediateSpellingLoc()
1041 FileIDAndOffset DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion()
1118 FileIDAndOffset LocInfo = getDecomposedSpellingLoc(SL); in getCharacterData()
1197 FileIDAndOffset LocInfo = getDecomposedSpellingLoc(Loc); in getSpellingColumnNumber()
1204 FileIDAndOffset LocInfo = getDecomposedExpansionLoc(Loc); in getExpansionColumnNumber()
1405 FileIDAndOffset LocInfo = getDecomposedSpellingLoc(Loc); in getSpellingLineNumber()
[all …]
H A DSourceLocation.cpp167 FileIDAndOffset FullSourceLoc::getDecomposedExpansionLoc() const { in getDecomposedExpansionLoc()
277 FileIDAndOffset FullSourceLoc::getDecomposedLoc() const { in getDecomposedLoc()
H A DDiagnostic.cpp176 FileIDAndOffset Decomp = SrcMgr.getDecomposedLoc(Loc); in append()
202 FileIDAndOffset Decomp = SrcMgr.getDecomposedLoc(Loc); in lookup()
229 FileIDAndOffset Decomp = SrcMgr.getDecomposedIncludedLoc(ID); in getFile()
266 FileIDAndOffset Decomp = SrcMgr.getDecomposedIncludedLoc(ID); in dump()
H A DSarif.cpp120 FileIDAndOffset LocInfo = Loc.getDecomposedExpansionLoc(); in adjustColumnPos()
/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/include/clang/Basic/
H A DSourceManager.h802 mutable llvm::DenseMap<FileID, FileIDAndOffset> IncludedLocMap;
1276 FileIDAndOffset getDecomposedLoc(SourceLocation Loc) const { in getDecomposedLoc()
1288 FileIDAndOffset getDecomposedExpansionLoc(SourceLocation Loc) const { in getDecomposedExpansionLoc()
1305 FileIDAndOffset getDecomposedSpellingLoc(SourceLocation Loc) const { in getDecomposedSpellingLoc()
1319 FileIDAndOffset getDecomposedIncludedLoc(FileID FID) const;
1687 isInTheSameTranslationUnit(FileIDAndOffset &LOffs,
1688 FileIDAndOffset &ROffs) const;
1696 bool isInTheSameTranslationUnitImpl(const FileIDAndOffset &LOffs,
1697 const FileIDAndOffset &ROffs) const;
1982 FileIDAndOffset
[all …]
H A DSourceLocation.h73 using FileIDAndOffset = std::pair<FileID, unsigned>; variable
408 FileIDAndOffset getDecomposedExpansionLoc() const;
429 FileIDAndOffset getDecomposedLoc() const;
/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.cpp1015 FileIDAndOffset HintLocInfo = in buildFixItInsertionLine()
1521 FileIDAndOffset BInfo = SM.getDecomposedLoc(BLoc); in emitParseableFixits()
1522 FileIDAndOffset EInfo = SM.getDecomposedLoc(ELoc); in emitParseableFixits()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DMacroInfo.cpp71 FileIDAndOffset startInfo = SM.getDecomposedExpansionLoc(macroStart); in getDefinitionLengthSlow()
72 FileIDAndOffset endInfo = SM.getDecomposedExpansionLoc(macroEnd); in getDefinitionLengthSlow()
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()
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()
1332 FileIDAndOffset LocInfo = SM.getDecomposedLoc(Loc); in findNextToken()
H A DPreprocessor.cpp512 FileIDAndOffset LocInfo = SM.getDecomposedLoc(SpellingLoc); in SplitToken()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp227 FileIDAndOffset Loc1Info = SM.getDecomposedLoc(Loc1); in onlyWhitespaceBetween()
228 FileIDAndOffset Loc2Info = SM.getDecomposedLoc(Loc2); in onlyWhitespaceBetween()
282 FileIDAndOffset Loc = SourceMgr.getDecomposedLoc(RC.getBeginLoc()); in addComment()
H A DCommentLexer.cpp907 FileIDAndOffset LocInfo = SourceMgr.getDecomposedLoc(Loc); in getSpelling()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp199 auto FileIDAndOffset = FullKeyPosition.getSpellingLoc().getDecomposedLoc(); in AtomicChange() local
200 OptionalFileEntryRef FE = SM.getFileEntryRefForID(FileIDAndOffset.first); in AtomicChange()
203 Key = FilePath + ":" + std::to_string(FileIDAndOffset.second); in AtomicChange()
/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/Tooling/Transformer/
H A DSourceCode.cpp71 FileIDAndOffset BeginInfo = SM.getDecomposedLoc(Range.getBegin()); in validateRange()
72 FileIDAndOffset EndInfo = SM.getDecomposedLoc(Range.getEnd()); in validateRange()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp383 FileIDAndOffset ExpAsmLoc = SrcMgr.getDecomposedExpansionLoc(EndLoc); in ParseMicrosoftAsmStatement()
410 FileIDAndOffset ExpSemiLoc = SrcMgr.getDecomposedExpansionLoc(TokLoc); in ParseMicrosoftAsmStatement()
417 FileIDAndOffset ExpLoc = SrcMgr.getDecomposedExpansionLoc(TokLoc); in ParseMicrosoftAsmStatement()
/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/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp898 FileIDAndOffset LPosInfo = SM.getDecomposedExpansionLoc(Pos); in HandlePiece()
1037 FileIDAndOffset LocInfo = L.getDecomposedLoc(); in HandlePiece()
/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/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/Checkers/
H A DLocalizationChecker.cpp1121 FileIDAndOffset SLInfo = Mgr.getSourceManager().getDecomposedLoc(SL); in VisitObjCMessageExpr()

12