| 
    clang 22.0.0git
    
   | 
 
ASTReaderListenter implementation to set SuggestedPredefines of ASTReader which is required to use a pch file. More...
#include "clang/Serialization/ASTReader.h"
Public Member Functions | |
| SimpleASTReaderListener (Preprocessor &PP) | |
| bool | ReadPreprocessorOptions (const PreprocessorOptions &PPOpts, StringRef ModuleFilename, bool ReadMacros, bool Complain, std::string &SuggestedPredefines) override | 
| Receives the preprocessor options.   | |
| Public Member Functions inherited from clang::ASTReaderListener | |
| virtual | ~ASTReaderListener () | 
| virtual bool | ReadFullVersionInformation (StringRef FullVersion) | 
| Receives the full Clang version information.   | |
| virtual void | ReadModuleName (StringRef ModuleName) | 
| virtual void | ReadModuleMapFile (StringRef ModuleMapPath) | 
| virtual bool | ReadLanguageOptions (const LangOptions &LangOpts, StringRef ModuleFilename, bool Complain, bool AllowCompatibleDifferences) | 
| Receives the language options.   | |
| virtual bool | ReadCodeGenOptions (const CodeGenOptions &CGOpts, StringRef ModuleFilename, bool Complain, bool AllowCompatibleDifferences) | 
| Receives the codegen options.   | |
| virtual bool | ReadTargetOptions (const TargetOptions &TargetOpts, StringRef ModuleFilename, bool Complain, bool AllowCompatibleDifferences) | 
| Receives the target options.   | |
| virtual bool | ReadDiagnosticOptions (DiagnosticOptions &DiagOpts, StringRef ModuleFilename, bool Complain) | 
| Receives the diagnostic options.   | |
| virtual bool | ReadFileSystemOptions (const FileSystemOptions &FSOpts, bool Complain) | 
| Receives the file system options.   | |
| virtual bool | ReadHeaderSearchOptions (const HeaderSearchOptions &HSOpts, StringRef ModuleFilename, StringRef SpecificModuleCachePath, bool Complain) | 
| Receives the header search options.   | |
| virtual bool | ReadHeaderSearchPaths (const HeaderSearchOptions &HSOpts, bool Complain) | 
| Receives the header search paths.   | |
| virtual void | ReadCounter (const serialization::ModuleFile &M, uint32_t Value) | 
| Receives COUNTER value.   | |
| virtual void | visitModuleFile (StringRef Filename, serialization::ModuleKind Kind) | 
| This is called for each AST file loaded.   | |
| virtual bool | needsInputFileVisitation () | 
Returns true if this ASTReaderListener wants to receive the input files of the AST file via visitInputFile, false otherwise.   | |
| virtual bool | needsSystemInputFileVisitation () | 
Returns true if this ASTReaderListener wants to receive the system input files of the AST file via visitInputFile, false otherwise.   | |
| virtual bool | visitInputFile (StringRef Filename, bool isSystem, bool isOverridden, bool isExplicitModule) | 
if needsInputFileVisitation returns true, this is called for each non-system input file of the AST File.   | |
| virtual bool | visitInputFileAsRequested (StringRef FilenameAsRequested, StringRef Filename, bool isSystem, bool isOverridden, bool isExplicitModule) | 
Similiar to member function of visitInputFile but should be defined when there is a distinction between the file name and the name-as-requested.   | |
| virtual bool | needsImportVisitation () const | 
Returns true if this ASTReaderListener wants to receive the imports of the AST file via visitImport, false otherwise.   | |
| virtual void | visitImport (StringRef ModuleName, StringRef Filename) | 
If needsImportVisitation returns true, this is called for each AST file imported by this AST file.   | |
| virtual void | readModuleFileExtension (const ModuleFileExtensionMetadata &Metadata) | 
| Indicates that a particular module file extension has been read.   | |
ASTReaderListenter implementation to set SuggestedPredefines of ASTReader which is required to use a pch file.
This is the replacement of PCHValidator or SimplePCHValidator when using a pch file without validating it.
Definition at line 362 of file ASTReader.h.
      
  | 
  inline | 
Definition at line 366 of file ASTReader.h.
      
  | 
  overridevirtual | 
Receives the preprocessor options.
| SuggestedPredefines | Can be filled in with the set of predefines that are suggested by the preprocessor options. Typically only used when loading a precompiled header. | 
Reimplemented from clang::ASTReaderListener.
Definition at line 932 of file ASTReader.cpp.
References checkPreprocessorOptions(), and OptionValidateNone.