Skip to content

Commit b255b8a

Browse files
committed
Fix compile error
1 parent 07eec26 commit b255b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckAttr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2451,7 +2451,7 @@ TypeChecker::diagnosticIfDeclCannotBePotentiallyUnavailable(const Decl *D) {
24512451
}
24522452

24532453
void TypeChecker::addImplicitDynamicAttribute(Decl *D) {
2454-
if (!decl->getModuleContext()->isImplicitDynamicEnabled())
2454+
if (!D->getModuleContext()->isImplicitDynamicEnabled())
24552455
return;
24562456

24572457
// Add the attribute if the decl kind allows it and it is not an accessor

0 commit comments

Comments
 (0)