Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/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()
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/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.cpp1154 SM.getDecomposedLoc(SM.translateLineCol(FID, StartLineNumber, 1)).second; in highlightLines()
1363 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret()
1524 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in emitParseableFixits()
1525 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc); in emitParseableFixits()
/src/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp89 auto DecFirst = SM.getDecomposedLoc(First); in spelledForExpandedSlow()
90 auto DecLast = SM.getDecomposedLoc(Last); in spelledForExpandedSlow()
127 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Prev).getBegin()); in spelledForExpandedSlow()
132 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Next).getEnd()); in spelledForExpandedSlow()
165 std::tie(File, StartOffset) = SM.getDecomposedLoc(location()); in range()
195 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange()
207 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange()
/src/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp279 std::pair<FileID, unsigned> FullSourceLoc::getDecomposedLoc() const { in getDecomposedLoc() function in FullSourceLoc
280 return SrcMgr->getDecomposedLoc(*this); in getDecomposedLoc()
H A DSourceManager.cpp904 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getSpellingLocSlowCase()
964 std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc); in getImmediateSpellingLoc()
1036 std::pair<FileID, unsigned> DecompLoc = getDecomposedLoc(Loc); in isAtStartOfImmediateMacroExpansion()
1795 std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc); in associateFileChunkWithMacroArgExp()
1879 std::tie(FID, Offset) = getDecomposedLoc(Loc); in getMacroArgExpandedLocation()
1930 DecompLoc = getDecomposedLoc(UpperLoc); in getDecomposedIncludedLoc()
1939 auto [FID, Ignore] = getDecomposedLoc(Loc); in getUniqueLoadedASTFileID()
2029 std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS); in isBeforeInTranslationUnit()
2030 std::pair<FileID, unsigned> ROffs = getDecomposedLoc(RHS); in isBeforeInTranslationUnit()
H A DDiagnostic.cpp187 std::pair<FileID, unsigned> Decomp = SrcMgr.getDecomposedLoc(Loc); in append()
213 std::pair<FileID, unsigned> Decomp = SrcMgr.getDecomposedLoc(Loc); in lookup()
/src/contrib/llvm-project/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()
230 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc()
/src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp140 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in findSemiAfterLocation()
388 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute()
469 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute()
H A DObjCMT.cpp1784 std::tie(FID, Offset) = SourceMgr.getDecomposedLoc(Loc); in writeLoc()
1797 SourceMgr.getDecomposedLoc(Range.getBegin()); in writeRemove()
1799 SourceMgr.getDecomposedLoc(Range.getEnd()); in writeRemove()
H A DTransformActions.cpp426 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canReplaceText()
/src/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp124 Sources.getDecomposedLoc(Start); in setFromSourceLocation()
140 std::pair<FileID, unsigned> Start = Sources.getDecomposedLoc(SpellingBegin); in getRangeSize()
141 std::pair<FileID, unsigned> End = Sources.getDecomposedLoc(SpellingEnd); in getRangeSize()
/src/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp385 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in getSpelling()
523 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getRawToken()
565 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getBeginningOfFileToken()
620 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
622 SM.getDecomposedLoc(BeginFileLoc); in GetBeginningOfToken()
935 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
1035 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(Range.getBegin()); in getSourceText()
1101 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName()
1128 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroNameForDiagnostics()
1162 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in getIndentationForLine()
[all …]
H A DModuleMap.cpp2076 SourceMgr.getDecomposedLoc(ModuleNameLoc).first != in parseModuleDecl()
2077 SourceMgr.getDecomposedLoc(Existing->DefinitionLoc).first; in parseModuleDecl()
3154 auto Loc = SourceMgr.getDecomposedLoc(Parser.getLocation()); in parseModuleMapFile()
/src/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp707 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in ProcessCodeCompleteResults()
708 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc); in ProcessCodeCompleteResults()
/src/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h427 std::pair<FileID, unsigned> getDecomposedLoc() const;
H A DSourceManager.h1272 std::pair<FileID, unsigned> getDecomposedLoc(SourceLocation Loc) const { in getDecomposedLoc() function
1324 return getDecomposedLoc(SpellingLoc).second; in getFileOffset()
/src/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp231 std::pair<FileID, unsigned> V = SourceMgr->getDecomposedLoc(Loc); in getLocationOffsetAndFileID()
/src/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp200 FullKeyPosition.getSpellingLoc().getDecomposedLoc(); in AtomicChange()
/src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp49 FullLoc.getSpellingLoc().getDecomposedLoc(); in IsValidEditLoc()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp331 std::pair<FileID, unsigned> XOffs = XL.getDecomposedLoc(); in compareCrossTUSourceLocs()
332 std::pair<FileID, unsigned> YOffs = YL.getDecomposedLoc(); in compareCrossTUSourceLocs()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp1127 Mgr.getSourceManager().getDecomposedLoc(SL); in VisitObjCMessageExpr()
1135 SLInfo = Mgr.getSourceManager().getDecomposedLoc(SL); in VisitObjCMessageExpr()
/src/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp902 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in visitFullComment()

12