Home
last modified time | relevance | path

Searched refs:SrcManager (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp34 LangOpts(nullptr), SrcManager(nullptr), ActiveSourceFiles(0), in VerifyDiagnosticConsumer()
44 SrcManager = nullptr; in ~VerifyDiagnosticConsumer()
85 llvm::make_unique<VerifyFileTracker>(*this, *SrcManager)); in BeginSourceFile()
114 if (SrcManager && &Info.getSourceManager() != SrcManager) in HandleDiagnostic()
123 if (SrcManager) { in HandleDiagnostic()
128 Loc = SrcManager->getExpansionLoc(Loc); in HandleDiagnostic()
129 FileID FID = SrcManager->getFileID(Loc); in HandleDiagnostic()
131 const FileEntry *FE = SrcManager->getFileEntryForID(FID); in HandleDiagnostic()
132 if (FE && CurrentPreprocessor && SrcManager->isLoadedFileID(FID)) { in HandleDiagnostic()
140 UpdateParsedFileStatus(*SrcManager, FID, PS); in HandleDiagnostic()
[all …]
/external/clang/include/clang/Frontend/
DVerifyDiagnosticConsumer.h219 SourceManager *SrcManager; variable
226 assert((!SrcManager || SrcManager == &SM) && "SourceManager changed!"); in setSourceManager()
227 SrcManager = &SM; in setSourceManager()