clang 20.0.0git
|
A module file extension used for testing purposes. More...
Public Member Functions | |
TestModuleFileExtension (StringRef BlockName, unsigned MajorVersion, unsigned MinorVersion, bool Hashed, StringRef UserInfo) | |
~TestModuleFileExtension () override | |
ModuleFileExtensionMetadata | getExtensionMetadata () const override |
void | hashExtension (ExtensionHashBuilder &HBuilder) const override |
std::unique_ptr< ModuleFileExtensionWriter > | createExtensionWriter (ASTWriter &Writer) override |
std::unique_ptr< ModuleFileExtensionReader > | createExtensionReader (const ModuleFileExtensionMetadata &Metadata, ASTReader &Reader, serialization::ModuleFile &Mod, const llvm::BitstreamCursor &Stream) override |
std::string | str () const |
Static Public Attributes | |
static char | ID = 0 |
A module file extension used for testing purposes.
Definition at line 20 of file TestModuleFileExtension.h.
|
inline |
Definition at line 49 of file TestModuleFileExtension.h.
|
override |
Definition at line 89 of file TestModuleFileExtension.cpp.
|
override |
Definition at line 112 of file TestModuleFileExtension.cpp.
References clang::ModuleFileExtensionMetadata::BlockName, clang::ASTReader::getDiags(), clang::serialization::ModuleFile::ImportLoc, clang::ModuleFileExtensionMetadata::MajorVersion, clang::ModuleFileExtensionMetadata::MinorVersion, and clang::DiagnosticsEngine::Report().
|
override |
Definition at line 107 of file TestModuleFileExtension.cpp.
|
override |
Definition at line 92 of file TestModuleFileExtension.cpp.
|
override |
Definition at line 96 of file TestModuleFileExtension.cpp.
std::string TestModuleFileExtension::str | ( | ) | const |
Definition at line 131 of file TestModuleFileExtension.cpp.
|
static |
Definition at line 47 of file TestModuleFileExtension.h.