Skip to content

Commit 06014e6

Browse files
authored
Merge pull request #28897 from dan-zheng/derivative-attr-qualified-decl
[AutoDiff] Fix build error.
2 parents d61de7d + 2692abb commit 06014e6

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
@@ -3555,7 +3555,7 @@ static bool typeCheckDerivativeAttr(ASTContext &Ctx, Decl *D,
35553555
baseType = resolution.resolveType(baseTypeRepr, options);
35563556
}
35573557
if (baseType && baseType->hasError())
3558-
return;
3558+
return true;
35593559
auto lookupOptions = attr->getBaseTypeRepr()
35603560
? defaultMemberLookupOptions
35613561
: defaultUnqualifiedLookupOptions;

0 commit comments

Comments
 (0)