| /freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
| HD | 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()
|
| HD | PathDiagnostic.cpp | 168 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 180 SourceLocation L = SMgr.getExpansionLoc(I.getBegin()); in HandlePathDiagnostic() 185 L = SMgr.getExpansionLoc(I.getEnd()); in HandlePathDiagnostic()
|
| /freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
| HD | PlistSupport.h | 40 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID() 52 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID() 110 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
|
| HD | JsonSupport.h | 123 printSourceLocationAsJson(Out, SM.getExpansionLoc(Loc), SM, false);
|
| HD | SourceLocation.h | 390 FullSourceLoc getExpansionLoc() const;
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/ |
| HD | SourceLocation.cpp | 81 SM.getExpansionLoc(*this).print(OS, SM); in print() 128 auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous); in PrintDifference() 164 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() function in FullSourceLoc 166 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc()
|
| HD | Sarif.cpp | 216 OptionalFileEntryRef FE = Start.getExpansionLoc().getFileEntryRef(); in createPhysicalLocation()
|
| HD | DiagnosticIDs.cpp | 587 Diag.getSourceManager().getExpansionLoc(Loc))) in getDiagnosticSeverity()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
| HD | 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()
|
| HD | TransBlockObjCVariable.cpp | 142 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()), in traverseBody()
|
| HD | TransGCAttrs.cpp | 173 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| HD | HTMLDiagnostics.cpp | 255 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in getIssueHash() 300 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag() 302 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag() 337 path.back()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag() 385 FileID FID = I->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML() 441 path.back()->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML() 661 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in FinalizeHTML() 911 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece() 1036 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece() 1250 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin()); in HighlightRange() [all …]
|
| HD | PlistDiagnostics.cpp | 268 SM.getExpansionLoc(I->getStart().asRange().getBegin())); in ReportControlFlow() 273 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); in ReportControlFlow() 384 P->getLocation().asLocation().getExpansionLoc(); in ReportMacroExpansions() 701 FullSourceLoc L(SM.getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl() 751 SM.getExpansionLoc( in FlushDiagnosticsImpl() 760 FullSourceLoc FunL(SM.getExpansionLoc(Body->getBeginLoc()), SM); in FlushDiagnosticsImpl()
|
| HD | BugReporter.cpp | 1587 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine() 1981 FullSourceLoc Loc = P->getLocation().asLocation().getExpansionLoc(); in updateExecutedLinesWithDiagnosticPieces() 2718 SM.getExpansionLoc(Loc) : in CompactMacroExpandedPieces() 2740 SM.getExpansionLoc(Loc) : in CompactMacroExpandedPieces() 3191 FileID FID = SM.getFileID(SM.getExpansionLoc(Start)); in populateExecutedLinesWithFunctionSignature() 3202 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in populateExecutedLinesWithStmt()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
| HD | DependencyGraph.cpp | 83 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective() 101 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in EmbedDirective()
|
| HD | SARIFDiagnostic.cpp | 81 FileID CaretFileID = Loc.getExpansionLoc().getFileID(); in addLocationToResult() 89 SourceLocation B = SM.getExpansionLoc(Range.getBegin()); in addLocationToResult()
|
| HD | TextDiagnostic.cpp | 845 FileID CaretFileID = Loc.getExpansionLoc().getFileID(); in emitDiagnosticLoc() 854 SourceLocation B = SM.getExpansionLoc(R.getBegin()); in emitDiagnosticLoc()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| HD | RewriteMacros.cpp | 114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput() 199 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| HD | Tokens.cpp | 277 SourceMgr->getFileID(SourceMgr->getExpansionLoc(Expanded->location()))); in spelledForExpandedToken() 655 Range.setBegin(SM.getExpansionLoc(Range.getBegin())); in MacroExpands() 766 : SM.getExpansionLoc( in discard() 813 SourceLocation Expansion = SM.getExpansionLoc(Tok.location()); in advance() 843 SM.getExpansionLoc( in advance() 872 auto FID = SM.getFileID(SM.getExpansionLoc(Tok.location())); in buildSpelledTokens()
|
| HD | ComputeReplacements.cpp | 84 SM, SM.getExpansionLoc(Expanded.begin()->location()), /*Length=*/0); in rangeOfExpanded()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Rewrite/ |
| HD | HTMLRewrite.cpp | 37 B = SM.getExpansionLoc(B); in HighlightRange() 38 E = SM.getExpansionLoc(E); in HighlightRange() 698 SM.getExpansionLoc(Tok.getLocation()) == LLoc.getBegin()) { in HighlightMacrosImpl()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/APINotes/ |
| HD | APINotesManager.cpp | 352 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in findAPINotes()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
| HD | ASTDiff.cpp | 1003 unsigned Begin = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(BeginLoc)); in getSourceRangeOffsets() 1004 unsigned End = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(EndLoc)); in getSourceRangeOffsets()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| HD | AnalysisConsumer.cpp | 644 return SM.getExpansionLoc(SL); in getModeForDecl()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| HD | RewriteRule.cpp | 459 return Result.SourceManager->getExpansionLoc( in getRuleMatchLoc()
|