Home
last modified time | relevance | path

Searched refs:getImmediateExpansionRange (Results 1 – 25 of 36) sorted by relevance

12

/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp289 MacroArgLocation = IsBegin ? SM->getImmediateExpansionRange(Loc).first in retrieveMacroLocation()
290 : SM->getImmediateExpansionRange(Loc).second; in retrieveMacroLocation()
292 MacroLocation = IsBegin ? SM->getImmediateExpansionRange(Loc).first in retrieveMacroLocation()
293 : SM->getImmediateExpansionRange(Loc).second; in retrieveMacroLocation()
321 auto ExpRange = SM->getImmediateExpansionRange(Loc); in getMacroArgExpansionFileIDs()
375 Begin = SM->getImmediateExpansionRange(Begin).first; in mapDiagnosticRanges()
382 End = SM->getImmediateExpansionRange(End).second; in mapDiagnosticRanges()
535 LocationStack.push_back(SM.getImmediateExpansionRange(Loc).first); in emitMacroExpansions()
/external/llvm-project/clang/lib/Frontend/
DDiagnosticRenderer.cpp281 MacroArgRange = SM->getImmediateExpansionRange(Loc); in retrieveMacroLocation()
283 MacroRange = SM->getImmediateExpansionRange(Loc); in retrieveMacroLocation()
324 auto ExpRange = SM->getImmediateExpansionRange(Loc); in getMacroArgExpansionFileIDs()
379 Begin = SM->getImmediateExpansionRange(Begin).getBegin(); in mapDiagnosticRanges()
386 auto Exp = SM->getImmediateExpansionRange(End); in mapDiagnosticRanges()
540 LocationStack.push_back(SM.getImmediateExpansionRange(L).getBegin()); in emitMacroExpansions()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DLambdaFunctionNameCheck.cpp82 Result.SourceManager->getImmediateExpansionRange(E->getLocation()); in check()
DMultipleStatementMacroCheck.cpp50 Result.SourceManager->getImmediateExpansionRange(Loc).getAsRange()); in getExpansionRanges()
/external/llvm-project/clang/lib/Edit/
DEditedSource.cpp39 SourceMgr.getImmediateExpansionRange(Loc).getBegin(); in deconstructMacroArgLoc()
41 SourceMgr.getImmediateExpansionRange(DefArgLoc).getBegin(); in deconstructMacroArgLoc()
45 SourceMgr.getImmediateExpansionRange(ExpansionLoc).getBegin(); in deconstructMacroArgLoc()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp95 Loc = SM.getImmediateExpansionRange(Loc).first; in handleAttr()
290 .getImmediateExpansionRange(Loc).first; in checkAllAtProps()
DTransUnbridgedCasts.cpp287 std::tie(MacroBegin, MacroEnd) = SM.getImmediateExpansionRange(Loc); in getBlockMacroRanges()
/external/llvm-project/clang/lib/ARCMigrate/
DTransGCAttrs.cpp98 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in handleAttr()
286 .getImmediateExpansionRange(Loc) in checkAllAtProps()
DTransUnbridgedCasts.cpp284 CharSourceRange MacroRange = SM.getImmediateExpansionRange(Loc); in getBlockMacroRanges()
/external/clang/lib/Edit/
DEditedSource.cpp30 SourceLocation DefArgLoc = SourceMgr.getImmediateExpansionRange(Loc).first; in deconstructMacroArgLoc()
31 ExpansionLoc = SourceMgr.getImmediateExpansionRange(DefArgLoc).first; in deconstructMacroArgLoc()
/external/llvm-project/polly/lib/External/isl/m4/
Dax_detect_clang.m487 AC_EGREP_HEADER([getImmediateExpansionRange], [clang/Basic/SourceManager.h],
89 [AC_DEFINE([getImmediateExpansionRange], definition
/external/llvm-project/polly/lib/External/isl/interface/
Disl_config.h.in142 #undef getImmediateExpansionRange
Dgenerator.cc623 loc = ClangAPI::range_begin(SM.getImmediateExpansionRange(loc)); in callback_takes_argument()
/external/clang/lib/Lex/
DTokenLexer.cpp684 StartLoc = SM.getImmediateExpansionRange(StartLoc).first; in PasteTokens()
686 EndLoc = SM.getImmediateExpansionRange(EndLoc).second; in PasteTokens()
DLexer.cpp977 Loc = SM.getImmediateExpansionRange(Loc).first; in getImmediateMacroName()
1010 Loc = SM.getImmediateExpansionRange(Loc).first; in getImmediateMacroNameForDiagnostics()
1020 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first); in getImmediateMacroNameForDiagnostics()
1063 SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc()
/external/clang/lib/Basic/
DSourceManager.cpp920 Loc = getImmediateExpansionRange(Loc).first; in getFileLocSlowCase()
977 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange() function in SourceManager
990 getImmediateExpansionRange(Loc); in getExpansionRange()
995 Res.first = getImmediateExpansionRange(Res.first).first; in getExpansionRange()
997 Res.second = getImmediateExpansionRange(Res.second).second; in getExpansionRange()
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp954 Loc = getImmediateExpansionRange(Loc).getBegin(); in getFileLocSlowCase()
1017 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange() function in SourceManager
1035 CharSourceRange Res = getImmediateExpansionRange(Loc); in getExpansionRange()
1040 Res.setBegin(getImmediateExpansionRange(Res.getBegin()).getBegin()); in getExpansionRange()
1042 CharSourceRange EndRange = getImmediateExpansionRange(Res.getEnd()); in getExpansionRange()
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp349 : SM.getImmediateExpansionRange(Begin).getBegin()) { in rangeInCommonFile()
356 : toTokenRange(SM.getImmediateExpansionRange(End), in rangeInCommonFile()
375 toTokenRange(SM.getImmediateExpansionRange(Loc), SM, LangOpts), SM, in getExpansionTokenRangeInSameFile()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp124 return Loc.isMacroID() ? SM.getImmediateExpansionRange(Loc).first in getIncludeOrExpansionLoc()
147 Loc = SM.getImmediateExpansionRange(Loc).first; in getStart()
155 Loc = SM.getImmediateExpansionRange(Loc).first; in getEnd()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNullptrCheck.cpp388 MacroLoc = SM.getImmediateExpansionRange(Loc).getBegin(); in expandsFrom()
DUseTrailingReturnTypeCheck.cpp114 Loc = expandIfMacroId(SM.getImmediateExpansionRange(Loc).getBegin(), SM); in expandIfMacroId()
/external/llvm-project/clang/lib/Lex/
DTokenLexer.cpp907 StartLoc = SM.getImmediateExpansionRange(StartLoc).getBegin(); in pasteTokens()
909 EndLoc = SM.getImmediateExpansionRange(EndLoc).getEnd(); in pasteTokens()
/external/clang/include/clang/Basic/
DSourceManager.h1076 getImmediateExpansionRange(SourceLocation Loc) const;
1587 return getImmediateExpansionRange(Loc).first; in getImmediateMacroCallerLoc()
/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.cpp241 return Loc.isMacroID() ? SM.getImmediateExpansionRange(Loc).getBegin() in getIncludeOrExpansionLoc()
264 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in getStart()
272 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in getEnd()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1166 CharSourceRange getImmediateExpansionRange(SourceLocation Loc) const;
1742 return getImmediateExpansionRange(Loc).getBegin(); in getImmediateMacroCallerLoc()

12