diff options
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 7d72093700..574f779b86 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -430,7 +430,7 @@ bool Decl::canBeWeakImported(bool &IsDefinition) const { // Objective-C classes, if this is the non-fragile runtime. } else if (isa<ObjCInterfaceDecl>(this) && - getASTContext().getLangOpts().ObjCRuntime.isNonFragile()) { + getASTContext().getLangOpts().ObjCRuntime.hasWeakClassImport()) { return true; // Nothing else. |