File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -959,6 +959,9 @@ class DeclAndTypePrinter::Implementation
959
959
960
960
// / Returns true if \p clangTy is the typedef for NSUInteger.
961
961
bool isNSUInteger (clang::QualType clangTy) {
962
+ if (const auto * elaboratedTy = dyn_cast<clang::ElaboratedType>(clangTy)) {
963
+ clangTy = elaboratedTy->desugar ();
964
+ }
962
965
const auto *typedefTy = dyn_cast<clang::TypedefType>(clangTy);
963
966
if (!typedefTy)
964
967
return false ;
Original file line number Diff line number Diff line change 49
49
// CHECK-NEXT: - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull){{[a-zA-Z]+}} OBJC_DESIGNATED_INITIALIZER;
50
50
// CHECK-NEXT: @end
51
51
52
- // REQUIRES: rdar102629628
53
-
54
52
import Foundation
55
53
56
54
Original file line number Diff line number Diff line change 15
15
16
16
// REQUIRES: objc_interop
17
17
18
- // REQUIRES: rdar102629628
19
-
20
18
import OverrideBase
21
19
// No errors from Clang until we get to the FixMe class.
22
20
// CLANG-NOT: error
You can’t perform that action at this time.
0 commit comments