mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ClangModuleLoader] Provide a function to allow access to the clang::CompilerInstance, NFC.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
namespace clang {
|
||||
class ASTContext;
|
||||
class CompilerInstance;
|
||||
class Preprocessor;
|
||||
class Sema;
|
||||
} // namespace clang
|
||||
@@ -32,6 +33,7 @@ public:
|
||||
virtual clang::ASTContext &getClangASTContext() const = 0;
|
||||
virtual clang::Preprocessor &getClangPreprocessor() const = 0;
|
||||
virtual clang::Sema &getClangSema() const = 0;
|
||||
virtual const clang::CompilerInstance &getClangInstance() const = 0;
|
||||
virtual void printStatistics() const = 0;
|
||||
|
||||
/// Returns the module that contains imports and declarations from all loaded
|
||||
|
||||
Reference in New Issue
Block a user