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

Declarations

tools/clang/include/clang/Basic/SourceManager.h
 1177   CharSourceRange getImmediateExpansionRange(SourceLocation Loc) const;

References

tools/clang/include/clang/Basic/SourceManager.h
 1758     return getImmediateExpansionRange(Loc).getBegin();
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
   98       Loc = SM.getImmediateExpansionRange(Loc).getBegin();
  287                 .getImmediateExpansionRange(Loc)
tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
  284     CharSourceRange MacroRange = SM.getImmediateExpansionRange(Loc);
tools/clang/lib/Basic/SourceManager.cpp
  940       Loc = getImmediateExpansionRange(Loc).getBegin();
 1014   CharSourceRange Res = getImmediateExpansionRange(Loc);
 1019     Res.setBegin(getImmediateExpansionRange(Res.getBegin()).getBegin());
 1021     CharSourceRange EndRange = getImmediateExpansionRange(Res.getEnd());
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
  185     return Loc.isMacroID() ? SM.getImmediateExpansionRange(Loc).getBegin()
  208       Loc = SM.getImmediateExpansionRange(Loc).getBegin();
  216       Loc = SM.getImmediateExpansionRange(Loc).getBegin();
tools/clang/lib/Edit/EditedSource.cpp
   39       SourceMgr.getImmediateExpansionRange(Loc).getBegin();
   41       SourceMgr.getImmediateExpansionRange(DefArgLoc).getBegin();
   45         SourceMgr.getImmediateExpansionRange(ExpansionLoc).getBegin();
tools/clang/lib/Frontend/DiagnosticRenderer.cpp
  281     MacroArgRange = SM->getImmediateExpansionRange(Loc);
  283     MacroRange = SM->getImmediateExpansionRange(Loc);
  324       auto ExpRange = SM->getImmediateExpansionRange(Loc);
  379       Begin = SM->getImmediateExpansionRange(Begin).getBegin();
  386         auto Exp = SM->getImmediateExpansionRange(End);
  540       LocationStack.push_back(SM.getImmediateExpansionRange(L).getBegin());
tools/clang/lib/Lex/Lexer.cpp
  994     Loc = SM.getImmediateExpansionRange(Loc).getBegin();
 1027     Loc = SM.getImmediateExpansionRange(Loc).getBegin();
 1037   Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).getBegin());
 1119   CharSourceRange II = SM.getImmediateExpansionRange(FileLoc);
tools/clang/lib/Lex/TokenLexer.cpp
  907     StartLoc = SM.getImmediateExpansionRange(StartLoc).getBegin();
  909     EndLoc = SM.getImmediateExpansionRange(EndLoc).getEnd();
tools/clang/lib/Sema/SemaChecking.cpp
11332       Loc = S.SourceMgr.getImmediateExpansionRange(Loc).getBegin();
tools/clang/lib/Sema/SemaDeclCXX.cpp
 3039     SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).getBegin();
tools/clang/lib/Sema/SemaInit.cpp
 7664     ArgLoc = S.getSourceManager().getImmediateExpansionRange(ArgLoc).getBegin();
tools/clang/lib/Sema/SemaType.cpp
 4734                 S.SourceMgr.getImmediateExpansionRange(AttrLoc).getBegin();
 6099         S.getSourceManager().getImmediateExpansionRange(AttrLoc).getBegin();
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  255     Loc = SM.getImmediateExpansionRange(Loc).getBegin();
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  349     Loc = SM.getImmediateExpansionRange(Loc).getBegin();
tools/clang/tools/extra/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp
   82         Result.SourceManager->getImmediateExpansionRange(E->getLocation());
tools/clang/tools/extra/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp
   50         Result.SourceManager->getImmediateExpansionRange(Loc).getAsRange());
tools/clang/tools/extra/clang-tidy/modernize/UseNullptrCheck.cpp
  386       MacroLoc = SM.getImmediateExpansionRange(Loc).getBegin();
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
  107     Loc = expandIfMacroId(SM.getImmediateExpansionRange(Loc).getBegin(), SM);
tools/clang/tools/extra/clangd/SourceCode.cpp
  473                    : SM.getImmediateExpansionRange(Begin).getBegin()) {
  480                             : toTokenRange(SM.getImmediateExpansionRange(End),
  499       toTokenRange(SM.getImmediateExpansionRange(Loc), SM, LangOpts), SM,