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 | 320aee24e022d8b0fc381736e6e86565fd022b16 (patch) | |
tree | c85a4c6f0f77af0b2c38630280241f9975665dc0 /lib/Frontend/TestModuleFileExtension.cpp | |
parent | 543c2ee4e169a0192650da497b414e63c48981ed (diff) | |
download | clang-320aee24e022d8b0fc381736e6e86565fd022b16.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/TestModuleFileExtension.cpp')
-rw-r--r-- | lib/Frontend/TestModuleFileExtension.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/TestModuleFileExtension.cpp b/lib/Frontend/TestModuleFileExtension.cpp index c020468ce0..d1b20c4a80 100644 --- a/lib/Frontend/TestModuleFileExtension.cpp +++ b/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; |