Home
last modified time | relevance | path

Searched refs:FullSourceLoc (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceLocation.cpp141 FileID FullSourceLoc::getFileID() const { in getFileID()
146 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc()
151 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc()
156 FullSourceLoc FullSourceLoc::getFileLoc() const { in getFileLoc()
168 bool FullSourceLoc::isMacroArgExpansion(FullSourceLoc *StartLoc) const { in isMacroArgExpansion()
173 FullSourceLoc FullSourceLoc::getImmediateMacroCallerLoc() const { in getImmediateMacroCallerLoc()
178 std::pair<FullSourceLoc, StringRef> FullSourceLoc::getModuleImportLoc() const { in getModuleImportLoc()
188 unsigned FullSourceLoc::getFileOffset() const { in getFileOffset()
203 const FileEntry *FullSourceLoc::getFileEntry() const { in getFileEntry()
228 bool FullSourceLoc::isInSystemHeader() const { in isInSystemHeader()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h83 virtual void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
87 virtual void emitCodeContext(FullSourceLoc Loc,
93 virtual void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
105 void emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc,
107 void emitIncludeStackRecursively(FullSourceLoc Loc);
108 void emitImportStack(FullSourceLoc Loc);
111 void emitCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
113 void emitSingleMacroExpansion(FullSourceLoc Loc,
153 void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
156 void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
[all …]
H A DTextDiagnostic.h78 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
83 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
87 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitCodeContext()
93 void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) override;
95 void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
98 void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
104 void emitSnippetAndCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
H A DLogDiagnosticPrinter.h58 FullSourceLoc LastLoc;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp88 void DiagnosticRenderer::emitDiagnostic(FullSourceLoc Loc, in emitDiagnostic()
116 FullSourceLoc UnexpandedLoc = Loc; in emitDiagnostic()
168 FullSourceLoc IncludeLoc = in emitIncludeStack()
169 PLoc.isInvalid() ? FullSourceLoc() in emitIncludeStack()
213 FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager())); in emitIncludeStackRecursively()
220 void DiagnosticRenderer::emitImportStack(FullSourceLoc Loc) { in emitImportStack()
418 void DiagnosticRenderer::emitCaret(FullSourceLoc Loc, in emitCaret()
430 FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitSingleMacroExpansion()
434 FullSourceLoc SpellingLoc = Loc.getSpellingLoc(); in emitSingleMacroExpansion()
484 static bool checkRangesForMacroArgExpansion(FullSourceLoc Loc, in checkRangesForMacroArgExpansion()
[all …]
H A DSerializedDiagnosticPrinter.cpp66 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
71 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, in emitDiagnosticLoc()
75 void emitNote(FullSourceLoc Loc, StringRef Message) override;
77 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
189 void EmitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
214 void AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc,
218 void AddLocToRecord(FullSourceLoc Loc, RecordDataImpl &Record, in AddLocToRecord()
361 AddLocToRecord(FullSourceLoc(Range.getBegin(), SM), Record); in AddCharSourceRangeToRecord()
367 AddLocToRecord(FullSourceLoc(Range.getEnd(), SM), Record, TokSize); in AddCharSourceRangeToRecord()
594 EmitDiagnosticMessage(FullSourceLoc(), PresumedLoc(), DiagLevel, in HandleDiagnostic()
[all …]
H A DTextDiagnostic.cpp676 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, in emitDiagnosticMessage()
786 void TextDiagnostic::emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, in emitDiagnosticLoc()
875 FullSourceLoc BF(B, SM), EF(E, SM); in emitDiagnosticLoc()
889 void TextDiagnostic::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) { in emitIncludeLocation()
897 void TextDiagnostic::emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, in emitImportLocation()
906 void TextDiagnostic::emitBuildingModuleLocation(FullSourceLoc Loc, in emitBuildingModuleLocation()
1121 FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitSnippetAndCaret()
H A DTextDiagnosticPrinter.cpp154 FullSourceLoc(Info.getLocation(), Info.getSourceManager()), Level, in HandleDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h340 class FullSourceLoc : public SourceLocation {
345 FullSourceLoc() = default;
364 FullSourceLoc getExpansionLoc() const;
365 FullSourceLoc getSpellingLoc() const;
366 FullSourceLoc getFileLoc() const;
369 FullSourceLoc getImmediateMacroCallerLoc() const;
370 std::pair<FullSourceLoc, StringRef> getModuleImportLoc() const;
406 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { in isBeforeInTranslationUnitThan()
414 bool operator()(const FullSourceLoc& lhs, const FullSourceLoc& rhs) const { in operator()
425 operator==(const FullSourceLoc &LHS, const FullSourceLoc &RHS) {
[all …]
H A DDiagnostic.h1440 FullSourceLoc Loc;
1451 StringRef Message, FullSourceLoc Loc,
1460 const FullSourceLoc &getLocation() const { return Loc; } in getLocation()
1463 void setLocation(FullSourceLoc Loc) { this->Loc = Loc; } in setLocation()
H A DPlistSupport.h112 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
H A DSourceManager.h568 using ModuleBuildStack = ArrayRef<std::pair<std::string, FullSourceLoc>>;
742 SmallVector<std::pair<std::string, FullSourceLoc>, 2> StoredModuleBuildStack;
784 void pushModuleBuildStack(StringRef moduleName, FullSourceLoc importLoc) { in pushModuleBuildStack()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/
H A DIssueHash.h17 class FullSourceLoc; variable
39 FullSourceLoc &IssueLoc,
46 std::string GetIssueString(const SourceManager &SM, FullSourceLoc &IssueLoc,
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp326 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall()
327 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall()
334 FullSourceLoc X_CRL = X.callReturn.asLocation(); in compareCall()
335 FullSourceLoc Y_CRL = Y.callReturn.asLocation(); in compareCall()
346 FullSourceLoc XL = X.getLocation().asLocation(); in comparePiece()
347 FullSourceLoc YL = Y.getLocation().asLocation(); in comparePiece()
402 static bool compareCrossTUSourceLocs(FullSourceLoc XL, FullSourceLoc YL) { in compareCrossTUSourceLocs()
421 FullSourceLoc XL = X.getLocation().asLocation(); in compare()
422 FullSourceLoc YL = Y.getLocation().asLocation(); in compare()
866 FullSourceLoc L = PDL.asLocation(); in createSingleLocation()
[all …]
H A DIssueHash.cpp135 static std::string NormalizeLine(const SourceManager &SM, FullSourceLoc &L, in NormalizeLine()
184 FullSourceLoc &IssueLoc, in GetIssueString()
198 FullSourceLoc &IssueLoc, in GetIssueHash()
H A DHTMLDiagnostics.cpp203 FullSourceLoc L( in ReportDiag()
206 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag()
541 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in FinalizeHTML()
655 FullSourceLoc Pos = P.getLocation().asLocation(); in HandlePiece()
797 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
H A DPlistDiagnostics.cpp283 FullSourceLoc L = P.getLocation().asLocation(); in ReportEvent()
350 FullSourceLoc L = P->getLocation().asLocation(); in ReportMacroExpansions()
383 FullSourceLoc L = P.getLocation().asLocation(); in ReportNote()
598 FullSourceLoc L(SM.getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl()
647 FullSourceLoc UFunL( in FlushDiagnosticsImpl()
657 FullSourceLoc FunL(SM.getExpansionLoc(Body->getBeginLoc()), SM); in FlushDiagnosticsImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransformActions.cpp66 FullSourceLoc Begin, End;
72 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange()
73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange()
75 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange()
76 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange()
107 typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare>
515 Inserts[FullSourceLoc(loc, SM)].push_back(text); in addInsertion()
H A DARCMT.cpp37 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic()
66 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp336 const FullSourceLoc
380 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, in ConvertBackendLocation()
404 return FullSourceLoc(NewLoc, CSM); in ConvertBackendLocation()
422 FullSourceLoc Loc; in InlineAsmDiagHandler2()
519 FullSourceLoc Loc; in InlineAsmDiagHandler()
544 const FullSourceLoc BackendConsumer::getBestLocationFromDebugLoc( in getBestLocationFromDebugLoc()
569 FullSourceLoc Loc(DILoc, SourceMgr); in getBestLocationFromDebugLoc()
593 FullSourceLoc Loc = in UnsupportedDiagHandler()
616 FullSourceLoc Loc = in EmitOptimizationMessage()
796 FullSourceLoc Loc; in DiagnosticHandlerImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DLiteralSupport.cpp60 FullSourceLoc TokLoc, in MakeCharSourceRange()
79 const LangOptions &Features, FullSourceLoc TokLoc, in Diag()
94 FullSourceLoc Loc, unsigned CharWidth, in ProcessCharEscape()
277 FullSourceLoc Loc, DiagnosticsEngine *Diags, in ProcessUCNEscape()
355 FullSourceLoc Loc; in MeasureUCNEscape()
384 FullSourceLoc Loc, unsigned CharByteWidth, in EncodeUCNEscape()
1328 FullSourceLoc(Loc, PP.getSourceManager()), in CharLiteralParser()
1342 FullSourceLoc(Loc,PP.getSourceManager()), in CharLiteralParser()
1675 FullSourceLoc(StringToks[i].getLocation(), SM), in init()
1776 FullSourceLoc SourceLoc(Tok.getLocation(), SM); in CopyStringFragment()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h163 FullSourceLoc Loc;
169 FullSourceLoc genLocation(
298 FullSourceLoc asLocation() const { in asLocation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp82 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); in WriteFixedFiles()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp218 FullSourceLoc FullLoc(Point, SourceMgr); in FindSymbol()
H A DRenamingAction.cpp211 FullSourceLoc FullLoc(Occurrence.getNameRanges()[0].getBegin(), in HandleOneRename()

12