#include "TestModuleFileExtension.h"
#include "clang/Frontend/FrontendDiagnostic.h"
#include "clang/Serialization/ASTReader.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/Bitstream/BitstreamWriter.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdio>
usingnamespaceclang;
usingnamespaceclang::serialization;
char TestModuleFileExtension::ID = …;
TestModuleFileExtension::Writer::~Writer() { … }
void TestModuleFileExtension::Writer::writeExtensionContents(
Sema &SemaRef,
llvm::BitstreamWriter &Stream) { … }
TestModuleFileExtension::Reader::Reader(ModuleFileExtension *Ext,
const llvm::BitstreamCursor &InStream)
: … { … }
TestModuleFileExtension::Reader::~Reader() { … }
TestModuleFileExtension::~TestModuleFileExtension() { … }
ModuleFileExtensionMetadata
TestModuleFileExtension::getExtensionMetadata() const { … }
void TestModuleFileExtension::hashExtension(
ExtensionHashBuilder &HBuilder) const { … }
std::unique_ptr<ModuleFileExtensionWriter>
TestModuleFileExtension::createExtensionWriter(ASTWriter &) { … }
std::unique_ptr<ModuleFileExtensionReader>
TestModuleFileExtension::createExtensionReader(
const ModuleFileExtensionMetadata &Metadata,
ASTReader &Reader, serialization::ModuleFile &Mod,
const llvm::BitstreamCursor &Stream)
{ … }
std::string TestModuleFileExtension::str() const { … }