diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-14 22:10:01 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-14 22:10:01 +0000 |
commit | b3029960632ca8a3248e74770eda64d6c16f7246 (patch) | |
tree | 7f7653e42ae5198506c92b81f6864f57242440d8 /test/SemaObjC/special-dep-unavail-warning.m | |
parent | 2bbcd5ce370753c86d312d2c72a97476ac35b073 (diff) |
Use Sema::RequireCompleteType to check for the completeness of
Objective-C classes. This has two purposes: to consistently provide
"forward declaration here" notes when we hit an incomplete type, and
to give LLDB a chance to complete the type.
RequireCompleteType bits from Sean Callanan!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/special-dep-unavail-warning.m')
-rw-r--r-- | test/SemaObjC/special-dep-unavail-warning.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/special-dep-unavail-warning.m b/test/SemaObjC/special-dep-unavail-warning.m index fb0f6604e6..9164111441 100644 --- a/test/SemaObjC/special-dep-unavail-warning.m +++ b/test/SemaObjC/special-dep-unavail-warning.m @@ -27,7 +27,7 @@ @end -@class C; // expected-note 5 {{forward class is declared here}} +@class C; // expected-note 5 {{forward declaration of class here}} void test(C *c) { [c depInA]; // expected-warning {{'depInA' maybe deprecated because receiver type is unknown}} |