reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Basic/SourceManager.h
 1292     return getDecomposedLoc(SpellingLoc).second;
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1800       std::tie(FID, Offset) = SourceMgr.getDecomposedLoc(Loc);
 1813           SourceMgr.getDecomposedLoc(Range.getBegin());
 1815           SourceMgr.getDecomposedLoc(Range.getEnd());
tools/clang/lib/ARCMigrate/TransformActions.cpp
  426   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc);
tools/clang/lib/ARCMigrate/Transforms.cpp
  140   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc);
  388   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc);
  469   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc);
tools/clang/lib/AST/ASTContext.cpp
  209       SourceMgr.getDecomposedLoc(RepresentativeLocForDecl);
  287   const FileID File = SourceMgr.getDecomposedLoc(DeclLoc).first;
  470       SourceMgr.getDecomposedLoc((*Decls.begin())->getLocation()).first;
tools/clang/lib/AST/ASTImporter.cpp
 8394   std::pair<FileID, unsigned> Decomposed = FromSM.getDecomposedLoc(FromLoc);
tools/clang/lib/AST/CommentLexer.cpp
  855   std::pair<FileID, unsigned> LocInfo = SourceMgr.getDecomposedLoc(Loc);
tools/clang/lib/AST/Expr.cpp
 1245         SM.getDecomposedLoc(StrTokSpellingLoc);
tools/clang/lib/AST/JSONNodeDumper.cpp
  206     JOS.attribute("offset", SM.getDecomposedLoc(Loc).second);
tools/clang/lib/AST/RawCommentList.cpp
  128         SourceMgr.getDecomposedLoc(Range.getBegin());
  158       SourceMgr.getDecomposedLoc(Range.getBegin());
  159   std::tie(EndFileID, EndOffset) = SourceMgr.getDecomposedLoc(Range.getEnd());
  227   std::pair<FileID, unsigned> Loc1Info = SM.getDecomposedLoc(Loc1);
  228   std::pair<FileID, unsigned> Loc2Info = SM.getDecomposedLoc(Loc2);
  283       SourceMgr.getDecomposedLoc(RC.getBeginLoc());
  353       SourceMgr.getDecomposedLoc(C->getSourceRange().getEnd()).second;
tools/clang/lib/Basic/Diagnostic.cpp
  175   std::pair<FileID, unsigned> Decomp = SrcMgr.getDecomposedLoc(Loc);
  201   std::pair<FileID, unsigned> Decomp = SrcMgr.getDecomposedLoc(Loc);
tools/clang/lib/Basic/SourceLocation.cpp
  252   return SrcMgr->getDecomposedLoc(*this);
tools/clang/lib/Basic/SourceManager.cpp
  928     std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc);
  988   std::pair<FileID, unsigned> LocInfo = getDecomposedLoc(Loc);
 1053   std::pair<FileID, unsigned> DecompLoc = getDecomposedLoc(Loc);
 1769     std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc);
 1847   std::tie(FID, Offset) = getDecomposedLoc(Loc);
 1893     DecompLoc = getDecomposedLoc(UpperLoc);
 1947   std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS);
 1948   std::pair<FileID, unsigned> ROffs = getDecomposedLoc(RHS);
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  573   auto DecToLoc = SM.getDecomposedLoc(ToLoc);
tools/clang/lib/Edit/Commit.cpp
  242   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc);
  276   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc);
  312   std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(range.getBegin());
  313   std::pair<FileID, unsigned> endInfo = SM.getDecomposedLoc(range.getEnd());
tools/clang/lib/Format/FormatTokenLexer.cpp
  559   std::tie(ID, FirstInLineOffset) = SourceMgr.getDecomposedLoc(
tools/clang/lib/Frontend/ASTUnit.cpp
 2431   std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc);
tools/clang/lib/Frontend/FrontendAction.cpp
  433       Offset = CI.getSourceManager().getDecomposedLoc(EndOfLineMarker).second;
tools/clang/lib/Frontend/TextDiagnostic.cpp
  879       std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(B);
  880       std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(E);
 1191         SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second;
 1341     std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc);
 1342     std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc);
tools/clang/lib/Index/CommentToXML.cpp
  879       std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
tools/clang/lib/Index/USRGeneration.cpp
   31   const std::pair<FileID, unsigned> &Decomposed = SM.getDecomposedLoc(Loc);
tools/clang/lib/Lex/Lexer.cpp
  330   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc);
  468   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
  510   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
  565   std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
  567       SM.getDecomposedLoc(BeginFileLoc);
  863   std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin);
  950   std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(Range.getBegin());
 1016   std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc);
 1041   std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc);
 1075   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
 1247   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
tools/clang/lib/Lex/ModuleMap.cpp
 1927         SourceMgr.getDecomposedLoc(ModuleNameLoc).first !=
 1928             SourceMgr.getDecomposedLoc(Existing->DefinitionLoc).first;
 3000     auto Loc = SourceMgr.getDecomposedLoc(Parser.getLocation());
tools/clang/lib/Lex/PPDirectives.cpp
  381       SourceMgr.getDecomposedLoc(HashLoc);
tools/clang/lib/Lex/Preprocessor.cpp
  505   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellingLoc);
tools/clang/lib/Rewrite/Rewriter.cpp
  234   std::pair<FileID, unsigned> V = SourceMgr->getDecomposedLoc(Loc);
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  578         std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc);
  579         std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(ELoc);
tools/clang/lib/Sema/SemaDecl.cpp
 4199   auto FNewDecLoc = SrcMgr.getDecomposedLoc(New);
 4200   auto FOldDecLoc = SrcMgr.getDecomposedLoc(Old->getLocation());
tools/clang/lib/Sema/SemaObjCProperty.cpp
  319   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(LParenLoc);
tools/clang/lib/Serialization/ASTReader.cpp
 6256       auto IDAndOffset = SourceMgr.getDecomposedLoc(Loc);
 9804             SourceMgr.getDecomposedLoc(CommentLoc);
tools/clang/lib/Serialization/ASTWriter.cpp
 5742   std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc);
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
 1129       Mgr.getSourceManager().getDecomposedLoc(SL);
 1137     SLInfo = Mgr.getSourceManager().getDecomposedLoc(SL);
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  256   std::pair<FileID, unsigned> TLInfo = SM.getDecomposedLoc(Loc);
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
 1059   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(ExpanLoc);
tools/clang/lib/Tooling/Core/Replacement.cpp
  124       Sources.getDecomposedLoc(Start);
  139   std::pair<FileID, unsigned> Start = Sources.getDecomposedLoc(SpellingBegin);
  140   std::pair<FileID, unsigned> End = Sources.getDecomposedLoc(SpellingEnd);
tools/clang/lib/Tooling/Syntax/Tokens.cpp
   60   std::tie(File, StartOffset) = SM.getDecomposedLoc(location());
   89   std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc);
  101   std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc);
  492     std::tie(FID, Offset) = SM.getDecomposedLoc(L);
tools/clang/lib/Tooling/Transformer/SourceCode.cpp
   58   std::pair<FileID, unsigned> BeginInfo = SM.getDecomposedLoc(Range.getBegin());
   59   std::pair<FileID, unsigned> EndInfo = SM.getDecomposedLoc(Range.getEnd());
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  103   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
  129   return SM.getLocForEndOfFile(SM.getDecomposedLoc(Loc).first) == End
  165   if (SM.getDecomposedLoc(Start).first != SM.getDecomposedLoc(End).first) {
  165   if (SM.getDecomposedLoc(Start).first != SM.getDecomposedLoc(End).first) {
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  259     return tooling::Range(SM.getDecomposedLoc(BeginLoc).second,
tools/clang/tools/extra/clang-move/Move.cpp
  285   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(EndExpansionLoc);
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
   67   std::pair<FileID, unsigned> BeginLoc = SM.getDecomposedLoc(Range.getBegin()),
   68                               EndLoc = SM.getDecomposedLoc(Range.getEnd());
   93           SM.getDecomposedLoc(Tok.getLocation());
tools/clang/tools/extra/clang-tidy/modernize/UseNullptrCheck.cpp
  316       std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(ArgLoc);
  369       std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp
   51       Sources.getDecomposedLoc(Range.getBegin());
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
  132   std::pair<FileID, unsigned> Loc = SM.getDecomposedLoc(Result);
  212   std::pair<FileID, unsigned> Loc = SM.getDecomposedLoc(BeginF);
  338       SM.getDecomposedLoc(ReturnTypeCVRange.getBegin()).second;
  352     unsigned int TOffset = SM.getDecomposedLoc(CT.T.getLocation()).second;
tools/clang/tools/extra/clang-tidy/modernize/UseUsingCheck.cpp
   35   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(StartLoc);
tools/clang/tools/extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp
   54       Sources.getDecomposedLoc(Range.getBegin());
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.cpp
  158       SourceManager->getDecomposedLoc(Literal->getLocation());
tools/clang/tools/extra/clang-tidy/utils/LexerUtils.cpp
   98   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Range.getBegin());
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  236       SM.getDecomposedLoc(Unresolved.getBeginLoc()).first, &Invalid);
tools/clang/tools/extra/clangd/Selection.cpp
  320     auto B = SM.getDecomposedLoc(S.getBegin());
  321     auto E = SM.getDecomposedLoc(S.getEnd());
  397     auto B = SM.getDecomposedLoc(Range->getBegin());
  398     auto E = SM.getDecomposedLoc(Range->getEnd());
tools/clang/tools/extra/clangd/SourceCode.cpp
  353   std::tie(BeginFID, BeginOffset) = Mgr.getDecomposedLoc(R.getBegin());
  357   std::tie(EndFID, EndOffset) = Mgr.getDecomposedLoc(R.getEnd());
  368   std::tie(BeginFID, BeginOffset) = Mgr.getDecomposedLoc(R.getBegin());
  373   std::tie(LFid, LOffset) = Mgr.getDecomposedLoc(L);
tools/clang/tools/extra/clangd/unittests/FindTargetTests.cpp
  558       std::tie(File, Offset) = SM.getDecomposedLoc(Pos);
tools/clang/tools/extra/modularize/Modularize.cpp
  394     std::pair<FileID, unsigned> Decomposed = SM.getDecomposedLoc(Loc);
tools/clang/tools/libclang/CIndex.cpp
  260     Begin = SM.getDecomposedLoc(SM.getFileLoc(RegionOfInterest.getBegin())), 
  261     End = SM.getDecomposedLoc(SM.getFileLoc(RegionOfInterest.getEnd())); 
 6791   std::pair<FileID, unsigned> DecomposedEnd = SM.getDecomposedLoc(Begin);
tools/clang/tools/libclang/CIndexHigh.cpp
  195     std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
  290   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
  362     std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
 1017   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SM.getFileLoc(Loc));
 1112   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
tools/clang/tools/libclang/CXSourceLocation.cpp
  259     *offset = SM.getDecomposedLoc(ExpansionLoc).second;
  322   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellLoc);
  358   std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc);
tools/clang/tools/libclang/Indexing.cpp
  220         PPRec.getSourceManager().getDecomposedLoc(RegionLoc);
  393     std::tie(FID, Offset) = SM.getDecomposedLoc(Loc);
tools/clang/unittests/Format/CleanupTest.cpp
  334         Context.Sources.getDecomposedLoc(Context.getLocation(ID, Line, Column));
tools/clang/unittests/Lex/LexerTest.cpp
  463         SourceMgr.getDecomposedLoc(Tok.getLocation());