diff options
author | Douglas Gregor <dgregor@apple.com> | 2015-12-08 22:43:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2015-12-08 22:43:32 +0000 |
commit | 8f64ca152985ac199ba8e2e6a94ebdba2ebd2db6 (patch) | |
tree | 7c41c0f664e7ad8e89319b7bee78a35a0ae8f3b6 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | d16c8065ff2e3c0030bb2e74ee6ffea80f46c7d6 (diff) | |
download | bcm5719-llvm-8f64ca152985ac199ba8e2e6a94ebdba2ebd2db6.tar.gz bcm5719-llvm-8f64ca152985ac199ba8e2e6a94ebdba2ebd2db6.zip |
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
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
-rw-r--r-- | clang/lib/Frontend/TestModuleFileExtension.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/TestModuleFileExtension.cpp b/clang/lib/Frontend/TestModuleFileExtension.cpp index c020468ce0f..d1b20c4a80b 100644 --- a/clang/lib/Frontend/TestModuleFileExtension.cpp +++ b/clang/lib/Frontend/TestModuleFileExtension.cpp @@ -19,6 +19,7 @@ using namespace clang::serialization; TestModuleFileExtension::Writer::~Writer() { } void TestModuleFileExtension::Writer::writeExtensionContents( + Sema &SemaRef, llvm::BitstreamWriter &Stream) { using namespace llvm; |