Skip to content

Commit a42b940

Browse files
committed
Merge pull request #2678 from compnerd/forward-declarations-are-insufficient
ClangImporter: pull in a complete definition rather than forward declare
2 parents 4558b50 + 68dc37a commit a42b940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ImporterImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "ImportEnumInfo.h"
2121
#include "SwiftLookupTable.h"
2222
#include "swift/ClangImporter/ClangImporter.h"
23+
#include "swift/ClangImporter/ClangModule.h"
2324
#include "swift/AST/ASTContext.h"
2425
#include "swift/AST/LazyResolver.h"
2526
#include "swift/AST/Module.h"
@@ -65,7 +66,6 @@ class TypedefNameDecl;
6566
namespace swift {
6667

6768
class ASTContext;
68-
class ClangModuleUnit;
6969
class ClassDecl;
7070
class ConstructorDecl;
7171
class Decl;

0 commit comments

Comments
 (0)