Home
last modified time | relevance | path

Searched refs:getExpansionLoc (Results 1 – 25 of 105) sorted by relevance

12345

/external/clang/lib/Basic/
DSourceLocation.cpp57 SM.getExpansionLoc(*this).print(OS, SM); in print()
86 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() function in FullSourceLoc
88 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc()
/external/clang/include/clang/Basic/
DPlistSupport.h23 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID()
33 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
94 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp129 path.front()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag()
147 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag()
149 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getLocStart()), SMgr); in ReportDiag()
241 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in ReportDiag()
371 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
488 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
605 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin()); in HighlightRange()
608 SourceLocation InstantiationEnd = SM.getExpansionLoc(Range.getEnd()); in HighlightRange()
DPlistDiagnostics.cpp110 SM.getExpansionLoc(I->getStart().asRange().getBegin())); in ReportControlFlow()
115 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); in ReportControlFlow()
396 FullSourceLoc L(SM->getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl()
445 FullSourceLoc UFunL(SM->getExpansionLoc( in FlushDiagnosticsImpl()
453 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM); in FlushDiagnosticsImpl()
/external/llvm-project/clang/include/clang/Basic/
DPlistSupport.h40 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID()
52 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
111 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
DJsonSupport.h125 printSourceLocationAsJson(Out, SM.getExpansionLoc(Loc), SM, false);
/external/llvm-project/clang/lib/Basic/
DSourceLocation.cpp73 SM.getExpansionLoc(*this).print(OS, SM); in print()
120 auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous); in PrintDifference()
156 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() function in FullSourceLoc
158 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc()
/external/clang/lib/ARCMigrate/
DTransformActions.cpp72 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange()
75 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange()
76 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange()
387 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsert()
400 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsertAfterToken()
422 loc = SM.getExpansionLoc(loc); in canReplaceText()
483 loc = SM.getExpansionLoc(loc); in commitReplaceText()
497 SM.getExpansionLoc(parentIndent))); in commitIncreaseIndentation()
507 loc = SM.getExpansionLoc(loc); in addInsertion()
DTransBlockObjCVariable.cpp143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()), in traverseBody()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp219 FileID ReportFile = path.front()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag()
232 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag()
234 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag()
304 FileID FID = I->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML()
360 path.back()->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML()
569 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in FinalizeHTML()
796 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
921 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
1038 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin()); in HighlightRange()
1041 SourceLocation InstantiationEnd = SM.getExpansionLoc(Range.getEnd()); in HighlightRange()
DPlistDiagnostics.cpp275 SM.getExpansionLoc(I->getStart().asRange().getBegin())); in ReportControlFlow()
280 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); in ReportControlFlow()
695 FullSourceLoc L(SM.getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl()
745 SM.getExpansionLoc( in FlushDiagnosticsImpl()
754 FullSourceLoc FunL(SM.getExpansionLoc(Body->getBeginLoc()), SM); in FlushDiagnosticsImpl()
1014 getMacroExpansionInfo(PrevParamMap, SM.getExpansionLoc(MacroLoc), PP); in getMacroNameAndPrintExpansion()
/external/llvm-project/clang/lib/ARCMigrate/
DTransformActions.cpp71 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange()
74 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange()
75 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange()
388 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsert()
401 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsertAfterToken()
423 loc = SM.getExpansionLoc(loc); in canReplaceText()
484 loc = SM.getExpansionLoc(loc); in commitReplaceText()
498 SM.getExpansionLoc(parentIndent))); in commitIncreaseIndentation()
508 loc = SM.getExpansionLoc(loc); in addInsertion()
DTransBlockObjCVariable.cpp142 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()), in traverseBody()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
199 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp115 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
200 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DElseAfterReturnCheck.cpp120 return Context.getSourceManager().getExpansionLoc(Loc); in removeElseAndBrackets()
192 SourceLocation ExpandedStartLoc = SM.getExpansionLoc(StartLoc); in hasPreprocessorBranchEndBetweenLocations()
193 SourceLocation ExpandedEndLoc = SM.getExpansionLoc(EndLoc); in hasPreprocessorBranchEndBetweenLocations()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp35 B = SM.getExpansionLoc(B); in HighlightRange()
36 E = SM.getExpansionLoc(E); in HighlightRange()
546 SM.getExpansionLoc(Tok.getLocation()) == LLoc.first) { in HighlightMacros()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DGlobalNamesInHeadersCheck.cpp56 Result.SourceManager->getExpansionLoc(D->getBeginLoc()))) { in check()
/external/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp35 B = SM.getExpansionLoc(B); in HighlightRange()
36 E = SM.getExpansionLoc(E); in HighlightRange()
633 SM.getExpansionLoc(Tok.getLocation()) == LLoc.getBegin()) { in HighlightMacros()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllMacros.cpp41 if (!MD || !SM->isInMainFile(SM->getExpansionLoc(Name.getLocation()))) in MacroUsed()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp203 SourceMgr->getFileID(SourceMgr->getExpansionLoc(Expanded->location()))); in spelledForExpandedToken()
577 Range.setBegin(SM.getExpansionLoc(Range.getBegin())); in MacroExpands()
688 : SM.getExpansionLoc( in discard()
735 SourceLocation Expansion = SM.getExpansionLoc(Tok.location()); in advance()
765 SM.getExpansionLoc( in advance()
794 auto FID = SM.getFileID(SM.getExpansionLoc(Tok.location())); in buildSpelledTokens()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DFileExtensionsUtils.cpp19 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in isExpansionLocInHeaderFile()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DRedundantVoidArgCheck.cpp107 End = Result.SourceManager->getExpansionLoc(End); in processFunctionDecl()
205 Result.SourceManager->getExpansionLoc(Var->getInit()->getBeginLoc()) in processVarDecl()
/external/clang/lib/Frontend/
DDependencyGraph.cpp82 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
DDependencyFile.cpp50 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
284 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()

12345