| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | MacroExpansionContext.cpp | 37 SourceLocation MacroNameBegin = SM.getExpansionLoc(MacroName.getLocation()); in MacroExpands() 38 assert(MacroNameBegin == SM.getExpansionLoc(Range.getBegin())); in MacroExpands() 43 return SM.getExpansionLoc( in MacroExpands() 47 return SM.getExpansionLoc(Range.getEnd()).getLocWithOffset(1); in MacroExpands() 215 SourceLocation CurrExpansionLoc = SM->getExpansionLoc(SLoc); in onTokenLexed()
|
| H A D | PathDiagnostic.cpp | 163 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 175 SourceLocation L = SMgr.getExpansionLoc(I.getBegin()); in HandlePathDiagnostic() 180 L = SMgr.getExpansionLoc(I.getEnd()); in HandlePathDiagnostic()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | PlistSupport.h | 37 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID() 49 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID() 107 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
|
| H A D | JsonSupport.h | 123 printSourceLocationAsJson(Out, SM.getExpansionLoc(Loc), SM, false);
|
| H A D | SourceLocation.h | 392 FullSourceLoc getExpansionLoc() const;
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 79 SM.getExpansionLoc(*this).print(OS, SM); in print() 126 auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous); in PrintDifference() 162 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() function in FullSourceLoc 164 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc()
|
| H A D | Sarif.cpp | 215 OptionalFileEntryRef FE = Start.getExpansionLoc().getFileEntryRef(); in createPhysicalLocation()
|
| H A D | DiagnosticIDs.cpp | 549 SM.isInSystemHeader(SM.getExpansionLoc(Loc))) { in getDiagnosticSeverity()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 253 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in getIssueHash() 298 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag() 300 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag() 335 path.back()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag() 383 FileID FID = I->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML() 439 path.back()->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML() 659 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in FinalizeHTML() 909 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece() 1034 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece() 1249 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin()); in HighlightRange() [all …]
|
| H A D | PlistDiagnostics.cpp | 265 SM.getExpansionLoc(I->getStart().asRange().getBegin())); in ReportControlFlow() 270 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); in ReportControlFlow() 381 P->getLocation().asLocation().getExpansionLoc(); in ReportMacroExpansions() 698 FullSourceLoc L(SM.getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl() 748 SM.getExpansionLoc( in FlushDiagnosticsImpl() 757 FullSourceLoc FunL(SM.getExpansionLoc(Body->getBeginLoc()), SM); in FlushDiagnosticsImpl()
|
| H A D | BugReporter.cpp | 1604 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine() 1998 FullSourceLoc Loc = P->getLocation().asLocation().getExpansionLoc(); in updateExecutedLinesWithDiagnosticPieces() 2762 SM.getExpansionLoc(Loc) : in CompactMacroExpandedPieces() 2784 SM.getExpansionLoc(Loc) : in CompactMacroExpandedPieces() 3239 FileID FID = SM.getFileID(SM.getExpansionLoc(Start)); in populateExecutedLinesWithFunctionSignature() 3250 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in populateExecutedLinesWithStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | DependencyGraph.cpp | 83 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective() 101 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in EmbedDirective()
|
| H A D | SARIFDiagnostic.cpp | 81 FileID CaretFileID = Loc.getExpansionLoc().getFileID(); in addLocationToResult() 89 SourceLocation B = SM.getExpansionLoc(Range.getBegin()); in addLocationToResult()
|
| H A D | HeaderIncludeGen.cpp | 423 SourceLocation Loc = SM.getExpansionLoc(HashLoc); in InclusionDirective() 439 SourceLocation Loc = SM.getExpansionLoc(ImportLoc); in moduleImport()
|
| H A D | TextDiagnostic.cpp | 843 FileID CaretFileID = Loc.getExpansionLoc().getFileID(); in emitDiagnosticLoc() 852 SourceLocation B = SM.getExpansionLoc(R.getBegin()); in emitDiagnosticLoc()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteMacros.cpp | 113 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput() 198 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Tokens.cpp | 275 SourceMgr->getFileID(SourceMgr->getExpansionLoc(Expanded->location()))); in spelledForExpandedToken() 653 Range.setBegin(SM.getExpansionLoc(Range.getBegin())); in MacroExpands() 764 : SM.getExpansionLoc( in discard() 811 SourceLocation Expansion = SM.getExpansionLoc(Tok.location()); in advance() 841 SM.getExpansionLoc( in advance() 870 auto FID = SM.getFileID(SM.getExpansionLoc(Tok.location())); in buildSpelledTokens()
|
| H A D | ComputeReplacements.cpp | 84 SM, SM.getExpansionLoc(Expanded.begin()->location()), /*Length=*/0); in rangeOfExpanded()
|
| /freebsd/contrib/llvm-project/clang/lib/Rewrite/ |
| H A D | HTMLRewrite.cpp | 36 B = SM.getExpansionLoc(B); in HighlightRange() 37 E = SM.getExpansionLoc(E); in HighlightRange() 697 SM.getExpansionLoc(Tok.getLocation()) == LLoc.getBegin()) { in HighlightMacrosImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/APINotes/ |
| H A D | APINotesManager.cpp | 351 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in findAPINotes()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RewriteRule.cpp | 458 return Result.SourceManager->getExpansionLoc( in getRuleMatchLoc()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 678 return SM.getExpansionLoc(SL); in getModeForDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | TokenLexer.cpp | 74 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
|
| H A D | PPExpressions.cpp | 903 SourceLocation ExprStartLoc = SourceMgr.getExpansionLoc(Tok.getLocation()); in EvaluateDirectiveExpression()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 253 SourceManager.getExpansionLoc(Node.getBeginLoc())); in AST_POLYMORPHIC_MATCHER() 273 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER() 300 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_REGEX()
|