We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c91da5 commit 562e6f5Copy full SHA for 562e6f5
lib/ClangImporter/ImportType.cpp
@@ -1453,7 +1453,7 @@ ImportedType ClangImporter::Implementation::importType(
1453
// This bans some trickery that the redefinition types enable, but is a more
1454
// sane model overall.
1455
auto &clangContext = getClangASTContext();
1456
- if (clangContext.getLangOpts().ObjC1) {
+ if (clangContext.getLangOpts().ObjC) {
1457
if (clangContext.hasSameUnqualifiedType(
1458
type, clangContext.getObjCIdRedefinitionType()) &&
1459
!clangContext.hasSameUnqualifiedType(
0 commit comments