mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make module loaders owned by the AST context instead of ref-counted.
Also, create the Clang module loader directly rather than indirecting through a "get constructor" function. It's no longer a valid configuration to not have a Clang importer. Swift SVN r16862
This commit is contained in:
@@ -30,7 +30,7 @@ class NominalTypeDecl;
|
||||
enum class KnownProtocolKind : uint8_t;
|
||||
|
||||
/// \brief Abstract interface that loads named modules into the AST.
|
||||
class ModuleLoader : public llvm::RefCountedBaseVPTR {
|
||||
class ModuleLoader {
|
||||
virtual void anchor();
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user