| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 191 FileID ReportFile = path.front()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag() 204 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag() 206 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag() 276 FileID FID = I->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML() 332 path.back()->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML() 541 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in FinalizeHTML() 673 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece() 797 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece() 908 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin()); in HighlightRange() 911 SourceLocation InstantiationEnd = SM.getExpansionLoc(Range.getEnd()); in HighlightRange()
|
| H A D | PlistDiagnostics.cpp | 240 SM.getExpansionLoc(I->getStart().asRange().getBegin())); in ReportControlFlow() 245 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); in ReportControlFlow() 598 FullSourceLoc L(SM.getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl() 648 SM.getExpansionLoc( in FlushDiagnosticsImpl() 657 FullSourceLoc FunL(SM.getExpansionLoc(Body->getBeginLoc()), SM); in FlushDiagnosticsImpl() 844 MacroNameAndArgs Info = getMacroNameAndArgs(SM.getExpansionLoc(MacroLoc), PP); in getMacroNameAndPrintExpansion()
|
| H A D | BugReporter.cpp | 1491 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine() 1888 FullSourceLoc Loc = P->getLocation().asLocation().getExpansionLoc(); in updateExecutedLinesWithDiagnosticPieces() 2470 SM.getExpansionLoc(Loc) : in CompactMacroExpandedPieces() 2492 SM.getExpansionLoc(Loc) : in CompactMacroExpandedPieces() 3017 FileID FID = SM.getFileID(SM.getExpansionLoc(Start)); in populateExecutedLinesWithFunctionSignature() 3028 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in populateExecutedLinesWithStmt()
|
| H A D | PathDiagnostic.cpp | 245 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 257 SourceLocation L = SMgr.getExpansionLoc(I.getBegin()); in HandlePathDiagnostic() 262 L = SMgr.getExpansionLoc(I.getEnd()); in HandlePathDiagnostic()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 63 SM.getExpansionLoc(*this).print(OS, SM); in print() 110 auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous); in PrintDifference() 146 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() function in FullSourceLoc 148 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc()
|
| H A D | DiagnosticIDs.cpp | 489 Diag.getSourceManager().getExpansionLoc(Loc))) in getDiagnosticSeverity()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | PlistSupport.h | 41 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID() 53 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID() 112 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
|
| H A D | SourceLocation.h | 364 FullSourceLoc getExpansionLoc() const;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A 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()
|
| H A D | TransBlockObjCVariable.cpp | 143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()), in traverseBody()
|
| H A D | TransGCAttrs.cpp | 171 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteMacros.cpp | 115 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput() 200 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
|
| H A D | RewriteObjC.cpp | 653 Loc = SM->getExpansionLoc(Loc); in HandleTopLevelSingleDecl() 2207 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl() 2213 X = SM->getExpansionLoc(X); in RewriteTypeOfDecl() 4181 X = SM->getExpansionLoc(X); in RewriteByRefVar() 4276 startLoc = SM->getExpansionLoc(startLoc); in RewriteByRefVar()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/ |
| H A D | HTMLRewrite.cpp | 36 B = SM.getExpansionLoc(B); in HighlightRange() 37 E = SM.getExpansionLoc(E); in HighlightRange() 616 SM.getExpansionLoc(Tok.getLocation()) == LLoc.getBegin()) { in HighlightMacros()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | DependencyFile.cpp | 49 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged() 296 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
|
| H A D | DependencyGraph.cpp | 85 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
|
| H A D | TextDiagnostic.cpp | 846 FileID CaretFileID = Loc.getExpansionLoc().getFileID(); in emitDiagnosticLoc() 856 SourceLocation B = SM.getExpansionLoc(RI->getBegin()); in emitDiagnosticLoc()
|
| H A D | VerifyDiagnosticConsumer.cpp | 155 Loc = SrcManager->getExpansionLoc(Loc); in HandleDiagnostic()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 1006 unsigned Begin = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(BeginLoc)); in getSourceRangeOffsets() 1007 unsigned End = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(EndLoc)); in getSourceRangeOffsets()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 248 SourceManager.getExpansionLoc(Node.getBeginLoc())); in AST_POLYMORPHIC_MATCHER() 268 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER() 294 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_P()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 680 SL = SM.getExpansionLoc(SL); in getModeForDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | TokenLexer.cpp | 73 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
|
| H A D | PPDirectives.cpp | 586 FileID IDOfIncl = SourceMgr.getFileID(SourceMgr.getExpansionLoc(Loc)); in getModuleForLocation() 622 auto ID = SM.getFileID(SM.getExpansionLoc(Loc)); in getModuleHeaderToIncludeForDiagnostics()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | Sema.cpp | 1096 SourceMgr.getExpansionLoc(FD->getLocation()))) in ActOnEndOfTranslationUnit() 1339 loc = getSourceManager().getExpansionLoc(loc); in findMacroSpelling()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 31 Loc = SM.getExpansionLoc(Loc); in printLoc()
|