Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Frontend/
H A 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()
547 LocationStack.push_back(SM.getImmediateExpansionRange(L).getBegin()); in emitMacroExpansions()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp82 Result.SourceManager->getImmediateExpansionRange(E->getLocation()); in check()
H A DMultipleStatementMacroCheck.cpp50 Result.SourceManager->getImmediateExpansionRange(Loc).getAsRange()); in getExpansionRanges()
/llvm-project-15.0.7/clang/lib/Edit/
H A DEditedSource.cpp39 SourceMgr.getImmediateExpansionRange(Loc).getBegin(); in deconstructMacroArgLoc()
41 SourceMgr.getImmediateExpansionRange(DefArgLoc).getBegin(); in deconstructMacroArgLoc()
45 SourceMgr.getImmediateExpansionRange(ExpansionLoc).getBegin(); in deconstructMacroArgLoc()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp98 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in handleAttr()
286 .getImmediateExpansionRange(Loc) in checkAllAtProps()
H A DTransUnbridgedCasts.cpp284 CharSourceRange MacroRange = SM.getImmediateExpansionRange(Loc); in getBlockMacroRanges()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp353 EndLoc = SM.getImmediateExpansionRange(EndLoc).getEnd(); in mayHit()
374 Loc = Loc.isMacroID() ? SM.getImmediateExpansionRange(Loc).getEnd() in computeMaybeSelectedExpandedTokens()
383 Loc = Loc.isMacroID() ? SM.getImmediateExpansionRange(Loc).getBegin() in computeMaybeSelectedExpandedTokens()
527 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in getExpansionStart()
H A DSourceCode.cpp346 : SM.getImmediateExpansionRange(Begin).getBegin()) { in rangeInCommonFile()
353 : toTokenRange(SM.getImmediateExpansionRange(End), in rangeInCommonFile()
372 toTokenRange(SM.getImmediateExpansionRange(Loc), SM, LangOpts), SM, in getExpansionTokenRangeInSameFile()
H A DFindSymbols.cpp442 MacroBody = SM.getFileID(SM.getImmediateExpansionRange(Loc).getBegin()); in possibleMacroContainer()
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceManager.cpp959 Loc = getImmediateExpansionRange(Loc).getBegin(); in getFileLocSlowCase()
1022 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange() function in SourceManager
1040 CharSourceRange Res = getImmediateExpansionRange(Loc); in getExpansionRange()
1045 Res.setBegin(getImmediateExpansionRange(Res.getBegin()).getBegin()); in getExpansionRange()
1047 CharSourceRange EndRange = getImmediateExpansionRange(Res.getEnd()); in getExpansionRange()
/llvm-project-15.0.7/clang/lib/Lex/
H A DTokenLexer.cpp905 StartLoc = SM.getImmediateExpansionRange(StartLoc).getBegin(); in pasteTokens()
907 EndLoc = SM.getImmediateExpansionRange(EndLoc).getEnd(); in pasteTokens()
H A DLexer.cpp1016 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in getImmediateMacroName()
1049 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in getImmediateMacroNameForDiagnostics()
1059 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).getBegin()); in getImmediateMacroNameForDiagnostics()
1141 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DNoLintDirectiveHandler.cpp269 DiagLoc = SrcMgr.getImmediateExpansionRange(DiagLoc).getBegin(); in diagHasNoLintInMacro()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseNullptrCheck.cpp403 MacroLoc = SM.getImmediateExpansionRange(Loc).getBegin(); in expandsFrom()
H A DUseTrailingReturnTypeCheck.cpp120 Loc = expandIfMacroId(SM.getImmediateExpansionRange(Loc).getBegin(), SM); in expandIfMacroId()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h1182 CharSourceRange getImmediateExpansionRange(SourceLocation Loc) const;
1774 return getImmediateExpansionRange(Loc).getBegin(); in getImmediateMacroCallerLoc()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp251 return Loc.isMacroID() ? SM.getImmediateExpansionRange(Loc).getBegin() in getIncludeOrExpansionLoc()
274 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in getStart()
282 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in getEnd()
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dgenerator.cc637 loc = ClangAPI::range_begin(SM.getImmediateExpansionRange(loc)); in callback_takes_argument()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DTokens.cpp151 SourceRange Exp = SM.getImmediateExpansionRange(Bound).getAsRange(); in spelledForExpandedSlow()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp281 Loc = SM.getImmediateExpansionRange(Loc).getBegin(); in isFunctionMacroExpansion()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp5263 S.SourceMgr.getImmediateExpansionRange(AttrLoc).getBegin(); in GetFullTypeForDeclarator()
6762 S.getSourceManager().getImmediateExpansionRange(AttrLoc).getBegin(); in handleObjCOwnershipTypeAttr()
H A DSemaInit.cpp7966 ArgLoc = S.getSourceManager().getImmediateExpansionRange(ArgLoc).getBegin(); in CheckMoveOnConstruction()
H A DSemaDeclCXX.cpp3148 SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).getBegin(); in DiagnoseAbsenceOfOverrideControl()
H A DSemaChecking.cpp13368 Loc = S.SourceMgr.getImmediateExpansionRange(Loc).getBegin(); in DiagnoseNullConversion()