Home
last modified time | relevance | path

Searched refs:getExpansionRange (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DReplaceDisallowCopyAndAssignMacroCheck.cpp56 PP.getSourceManager().getExpansionRange(Range), Replacement); in MacroExpands()
DUseNullptrCheck.cpp333 MacroLoc = SM.getExpansionRange(ArgLoc).getBegin(); in getMacroAndArgLocations()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1170 CharSourceRange getExpansionRange(SourceLocation Loc) const;
1174 CharSourceRange getExpansionRange(SourceRange Range) const { in getExpansionRange() function
1175 SourceLocation Begin = getExpansionRange(Range.getBegin()).getBegin(); in getExpansionRange()
1176 CharSourceRange End = getExpansionRange(Range.getEnd()); in getExpansionRange()
1183 CharSourceRange getExpansionRange(CharSourceRange Range) const { in getExpansionRange() function
1184 CharSourceRange Expansion = getExpansionRange(Range.getAsRange()); in getExpansionRange()
/external/clang/lib/ARCMigrate/
DPlistReporter.cpp110 CharSourceRange ExpansionRange(SM.getExpansionRange(R.getAsRange()), in writeARCDiagsToPlist()
DTransformActions.cpp593 loc = SM.getExpansionRange(loc).second; in getLocForEndOfToken()
/external/llvm-project/clang/lib/ARCMigrate/
DPlistReporter.cpp109 CharSourceRange ExpansionRange = SM.getExpansionRange(R); in writeARCDiagsToPlist()
DTransformActions.cpp595 CharSourceRange Exp = SM.getExpansionRange(loc); in getLocForEndOfToken()
/external/clang/include/clang/Basic/
DSourceManager.h1081 getExpansionRange(SourceLocation Loc) const;
1085 SourceRange getExpansionRange(SourceRange Range) const { in getExpansionRange() function
1086 return SourceRange(getExpansionRange(Range.getBegin()).first, in getExpansionRange()
1087 getExpansionRange(Range.getEnd()).second); in getExpansionRange()
/external/clang/unittests/Lex/
DLexerTest.cpp296 macroPair = SourceMgr.getExpansionRange(lsqrLoc); in TEST_F()
343 macroPair = SourceMgr.getExpansionRange(macroLsqrLoc); in TEST_F()
/external/llvm-project/clang/unittests/Lex/
DLexerTest.cpp290 CharSourceRange macroRange = SourceMgr.getExpansionRange(lsqrLoc); in TEST_F()
337 macroRange = SourceMgr.getExpansionRange(macroLsqrLoc); in TEST_F()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc598 return rewriter_.getSourceMgr().getExpansionRange(range).getAsRange(); in expansionRange()
600 return rewriter_.getSourceMgr().getExpansionRange(range); in expansionRange()
1065 return rewriter_.getSourceMgr().getExpansionRange(range).getAsRange(); in expansionRange()
1067 return rewriter_.getSourceMgr().getExpansionRange(range); in expansionRange()
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCode.cpp132 CharSourceRange ExpansionRange = SM.getExpansionRange(EntityLast); in getEntityEndLoc()
DRangeSelector.cpp325 return Result.SourceManager->getExpansionRange(*SRange); in expansion()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp523 SM.getExpansionRange(Tok.getLocation()); in HighlightMacros()
/external/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp610 CharSourceRange LLoc = SM.getExpansionRange(Tok.getLocation()); in HighlightMacros()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineInline.cpp473 SM.getExpansionRange(CharSourceRange::getCharRange(getBeginLoc(Source), in apply()
/external/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp169 Lexer::getAsCharRange(SM.getExpansionRange(R), SM, LangOpts), in ReportEvent()
/external/llvm-project/clang-tools-extra/clangd/
DPreamble.cpp153 DirectiveRange = SM.getExpansionRange(DirectiveRange); in spellDirective()
/external/llvm-project/clang/lib/Sema/
DSemaAvailability.cpp822 SM.getExpansionRange( in DiagnoseDeclAvailability()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp96 return SM.getExpansionRange(CharSourceRange(Res, true)).getAsRange(); in findCommonRangeForMacroArgs()
/external/llvm-project/clang-tools-extra/clang-move/
DMove.cpp284 auto EndExpansionLoc = SM.getExpansionRange(D->getEndLoc()).getEnd(); in getLocForEndOfDecl()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp853 E = SM.getExpansionRange(RI->getEnd()).second; in emitDiagnosticLoc()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp200 Lexer::getAsCharRange(SM.getExpansionRange(R), SM, LangOpts), in EmitRanges()
/external/llvm-project/clang/lib/Frontend/
DTextDiagnostic.cpp877 CharSourceRange ERange = SM.getExpansionRange(RI->getEnd()); in emitDiagnosticLoc()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp1576 Loc = SourceMgr.getExpansionRange(Loc).second; in ExpandBuiltinMacro()

12