/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 57 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/ |
D | PlistSupport.h | 23 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/ |
D | HTMLDiagnostics.cpp | 129 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()
|
D | PlistDiagnostics.cpp | 110 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/ |
D | PlistSupport.h | 40 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()
|
D | JsonSupport.h | 125 printSourceLocationAsJson(Out, SM.getExpansionLoc(Loc), SM, false);
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceLocation.cpp | 73 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/ |
D | TransformActions.cpp | 72 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()
|
D | TransBlockObjCVariable.cpp | 143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()), in traverseBody()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 219 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()
|
D | PlistDiagnostics.cpp | 275 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/ |
D | TransformActions.cpp | 71 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()
|
D | TransBlockObjCVariable.cpp | 142 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()), in traverseBody()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput() 199 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 115 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/ |
D | ElseAfterReturnCheck.cpp | 120 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/ |
D | HTMLRewrite.cpp | 35 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/ |
D | GlobalNamesInHeadersCheck.cpp | 56 Result.SourceManager->getExpansionLoc(D->getBeginLoc()))) { in check()
|
/external/llvm-project/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 35 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/ |
D | FindAllMacros.cpp | 41 if (!MD || !SM->isInMainFile(SM->getExpansionLoc(Name.getLocation()))) in MacroUsed()
|
/external/llvm-project/clang/lib/Tooling/Syntax/ |
D | Tokens.cpp | 203 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/ |
D | FileExtensionsUtils.cpp | 19 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in isExpansionLocInHeaderFile()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | RedundantVoidArgCheck.cpp | 107 End = Result.SourceManager->getExpansionLoc(End); in processFunctionDecl() 205 Result.SourceManager->getExpansionLoc(Var->getInit()->getBeginLoc()) in processVarDecl()
|
/external/clang/lib/Frontend/ |
D | DependencyGraph.cpp | 82 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
|
D | DependencyFile.cpp | 50 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged() 284 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
|