Module file extensions: pass a Sema through to the extension writer.

Module file extensions are likely to need access to
Sema/Preprocessor/ASTContext, and cannot get it through other
sources.

llvm-svn: 255065
This commit is contained in:
Douglas Gregor
2015-12-08 22:43:32 +00:00
parent d16c8065ff
commit 8f64ca1529
5 changed files with 14 additions and 8 deletions

View File

@@ -19,6 +19,7 @@ using namespace clang::serialization;
TestModuleFileExtension::Writer::~Writer() { }
void TestModuleFileExtension::Writer::writeExtensionContents(
Sema &SemaRef,
llvm::BitstreamWriter &Stream) {
using namespace llvm;