Module file extensions: pass a Sema through to the extension writer.
authorDouglas Gregor <dgregor@apple.com>
Tue, 8 Dec 2015 22:43:32 +0000 (22:43 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 8 Dec 2015 22:43:32 +0000 (22:43 +0000)
commit8f64ca152985ac199ba8e2e6a94ebdba2ebd2db6
tree7c41c0f664e7ad8e89319b7bee78a35a0ae8f3b6
parentd16c8065ff2e3c0030bb2e74ee6ffea80f46c7d6
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
clang/include/clang/Serialization/ASTWriter.h
clang/include/clang/Serialization/ModuleFileExtension.h
clang/lib/Frontend/TestModuleFileExtension.cpp
clang/lib/Frontend/TestModuleFileExtension.h
clang/lib/Serialization/ASTWriter.cpp