Searched refs:ASTReader (Results 1 - 25 of 53) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp23 #include "clang/Serialization/ASTReader.h"
79 static ASTReader *
85 std::unique_ptr<ASTReader> Reader;
86 Reader.reset(new ASTReader(PP, CI.getModuleCache(), &CI.getASTContext(),
96 ASTReader::ARR_None)) {
97 case ASTReader::Success:
102 case ASTReader::Failure:
103 case ASTReader::Missing:
104 case ASTReader::OutOfDate:
105 case ASTReader
[all...]
H A DTestModuleFileExtension.h65 ASTReader &Reader, serialization::ModuleFile &Mod,
H A DCompilerInstance.cpp36 #include "clang/Serialization/ASTReader.h"
138 IntrusiveRefCntPtr<ASTReader> CompilerInstance::getASTReader() const {
141 void CompilerInstance::setModuleManager(IntrusiveRefCntPtr<ASTReader> Reader) {
143 "Expected ASTReader to use the same PCM cache");
186 // Check whether this is an AST file. ASTReader::isAcceptableASTFile is not
189 if (!ASTReader::readASTFileControlBlock(
506 IntrusiveRefCntPtr<ASTReader> CompilerInstance::createPCHExternalASTSource(
517 IntrusiveRefCntPtr<ASTReader> Reader(new ASTReader(
539 ASTReader
[all...]
H A DTestModuleFileExtension.cpp10 #include "clang/Serialization/ASTReader.h"
114 ASTReader &Reader, serialization::ModuleFile &Mod,
H A DFrontendAction.cpp28 #include "clang/Serialization/ASTReader.h"
56 void ReaderInitialized(ASTReader *Reader) override {
587 if (auto ASTReader = AST->getASTReader()) {
588 auto &MM = ASTReader->getModuleManager();
595 ASTReader->visitTopLevelModuleMaps(PrimaryModule,
724 if (ASTReader::isAcceptableASTFile(
839 CI.setModuleManager(static_cast<ASTReader *>(FinalReader.get()));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderInternals.h29 class ASTReader;
45 ASTReader &Reader;
87 explicit ASTDeclContextNameLookupTrait(ASTReader &Reader, ModuleFile &F)
160 ASTReader &Reader;
171 ASTIdentifierLookupTrait(ASTReader &Reader, ModuleFile &F,
181 ASTReader &getReader() const { return Reader; }
192 ASTReader &Reader;
211 ASTSelectorLookupTrait(ASTReader &Reader, ModuleFile &F)
245 ASTReader &Reader;
266 HeaderFileInfoTrait(ASTReader
[all...]
H A DASTReader.cpp1 //===- ASTReader.cpp - AST File Reader ------------------------------------===//
9 // This file defines the ASTReader class, which reads AST files.
811 void ASTReader::setDeserializationListener(ASTDeserializationListener *Listener,
907 static bool isInterestingIdentifier(ASTReader &Reader, IdentifierInfo &II,
930 static void markIdentifierFromAST(ASTReader &Reader, IdentifierInfo &II) {
1147 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M,
1197 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M,
1236 void ASTReader::Error(StringRef Msg) const {
1245 void ASTReader::Error(unsigned DiagID, StringRef Arg1, StringRef Arg2,
1253 void ASTReader
[all...]
H A DASTReaderDecl.cpp9 // This file implements the ASTReader::readDeclRecord method, which is the
81 ASTReader &Reader;
83 ASTReader::RecordLocation Loc;
87 using RecordData = ASTReader::RecordData;
173 static NamedDecl *getAnonymousDeclForMerging(ASTReader &Reader,
176 static void setAnonymousDeclForMerging(ASTReader &Reader, DeclContext *DC,
206 ASTReader &Reader;
214 FindExistingResult(ASTReader &Reader) : Reader(Reader) {}
216 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing,
244 static DeclContext *getPrimaryContextForMerging(ASTReader
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h33 class ASTReader;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTDeserializationListener.h10 // by the ASTReader whenever a type or declaration is deserialized.
23 class ASTReader;
34 /// The ASTReader was initialized.
35 virtual void ReaderInitialized(ASTReader *Reader) { }
H A DModuleFileExtension.h25 class ASTReader;
98 ASTReader &Reader, serialization::ModuleFile &Mod,
H A DASTRecordReader.h10 // the ASTReader.
19 #include "clang/Serialization/ASTReader.h"
31 ASTReader *Reader;
34 ASTReader::RecordData Record;
36 using RecordData = ASTReader::RecordData;
37 using RecordDataImpl = ASTReader::RecordDataImpl;
41 ASTRecordReader(ASTReader &Reader, ModuleFile &F)
311 return ASTReader::ReadVersionTuple(Record, Idx);
H A DASTReader.h1 //===- ASTReader.h - AST File Reader ----------------------------*- C++ -*-===//
9 // This file defines the ASTReader class, which reads AST files.
67 class ASTReader;
106 /// Abstract interface for callback invocations by the ASTReader.
108 /// While reading an AST file, the ASTReader will call the methods of the
110 /// return true to indicate to the ASTReader that the information (and
276 ASTReader &Reader;
279 PCHValidator(Preprocessor &PP, ASTReader &Reader)
300 /// ASTReader which is required to use a pch file. This is the replacement
331 /// The ASTReader clas
340 class ASTReader class in namespace:clang
[all...]
H A DASTWriter.h55 class ASTReader;
95 /// instance of the ASTReader class.
135 ASTReader *Chain = nullptr;
690 ASTReader *getChain() const { return Chain; }
694 void ReaderInitialized(ASTReader *Reader) override;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h23 class ASTReader;
69 void indexModuleFile(serialization::ModuleFile &Mod, ASTReader &Reader,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DRawCommentList.h22 class ASTReader;
173 friend class ASTReader;
219 friend class ASTReader;
H A DStmtCXX.h259 friend class ASTReader;
338 friend class ASTReader;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DUtils.h42 class ASTReader;
81 virtual void attachToASTReader(ASTReader &R);
114 /// ASTReader (for module imports), and writes it out at the end of processing
173 void attachToASTReader(ASTReader &R) override;
H A DCompilerInstance.h39 class ASTReader;
118 /// The ASTReader, if one exists.
119 IntrusiveRefCntPtr<ASTReader> TheASTReader;
517 IntrusiveRefCntPtr<ASTReader> getASTReader() const;
518 void setModuleManager(IntrusiveRefCntPtr<ASTReader> Reader);
669 static IntrusiveRefCntPtr<ASTReader> createPCHExternalASTSource(
H A DMultiplexConsumer.h34 void ReaderInitialized(ASTReader *Reader) override;
H A DASTUnit.h65 class ASTReader;
121 IntrusiveRefCntPtr<ASTReader> Reader;
481 IntrusiveRefCntPtr<ASTReader> getASTReader() const;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h18 #include "clang/Serialization/ASTReader.h"
77 void attachToASTReader(ASTReader &R) override;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenCLOptions.h137 friend class ASTReader;
H A DSourceLocation.h59 friend class ASTReader;
87 friend class ASTReader;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp135 void ModuleDepCollector::attachToASTReader(ASTReader &R) {}

Completed in 132 milliseconds

123