Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp48 Loc = SM.getImmediateExpansionRange(Loc).first; in getImmediateMacroName()
58 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first); in getImmediateMacroName()
330 MacroArgLocation = IsBegin ? SM->getImmediateExpansionRange(Loc).first in retrieveMacroLocation()
331 : SM->getImmediateExpansionRange(Loc).second; in retrieveMacroLocation()
333 MacroLocation = IsBegin ? SM->getImmediateExpansionRange(Loc).first in retrieveMacroLocation()
334 : SM->getImmediateExpansionRange(Loc).second; in retrieveMacroLocation()
362 auto ExpRange = SM->getImmediateExpansionRange(Loc); in getMacroArgExpansionFileIDs()
416 Begin = SM->getImmediateExpansionRange(Begin).first; in mapDiagnosticRanges()
423 End = SM->getImmediateExpansionRange(End).second; in mapDiagnosticRanges()
575 LocationStack.push_back(SM.getImmediateExpansionRange(Loc).first); in emitMacroExpansions()
/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/clang/lib/Edit/
DEditedSource.cpp30 SourceLocation DefArgLoc = SourceMgr.getImmediateExpansionRange(Loc).first; in deconstructMacroArgLoc()
31 ExpansionLoc = SourceMgr.getImmediateExpansionRange(DefArgLoc).first; in deconstructMacroArgLoc()
/external/clang/lib/Lex/
DTokenLexer.cpp683 StartLoc = SM.getImmediateExpansionRange(StartLoc).first; in PasteTokens()
685 EndLoc = SM.getImmediateExpansionRange(EndLoc).second; in PasteTokens()
DLexer.cpp975 Loc = SM.getImmediateExpansionRange(Loc).first; in getImmediateMacroName()
1036 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/clang/lib/CodeGen/
DCoverageMappingGen.cpp122 return Loc.isMacroID() ? SM.getImmediateExpansionRange(Loc).first in getIncludeOrExpansionLoc()
135 Loc = SM.getImmediateExpansionRange(Loc).first; in getStart()
143 Loc = SM.getImmediateExpansionRange(Loc).first; in getEnd()
/external/clang/include/clang/Basic/
DSourceManager.h1068 getImmediateExpansionRange(SourceLocation Loc) const;
1579 return getImmediateExpansionRange(Loc).first; in getImmediateMacroCallerLoc()
/external/clang/lib/Sema/
DSemaType.cpp3861 AttrLoc = S.SourceMgr.getImmediateExpansionRange(AttrLoc).first; in GetFullTypeForDeclarator()
5097 AttrLoc = S.getSourceManager().getImmediateExpansionRange(AttrLoc).first; in handleObjCOwnershipTypeAttr()
DSemaInit.cpp6032 ArgLoc = S.getSourceManager().getImmediateExpansionRange(ArgLoc).first; in CheckMoveOnConstruction()
DSemaChecking.cpp7057 Loc = S.SourceMgr.getImmediateExpansionRange(Loc).first; in DiagnoseNullConversion()
DSemaDeclCXX.cpp1950 SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).first; in DiagnoseAbsenceOfOverrideControl()