]> granicus.if.org Git - clang/commit
Use Sema::RequireCompleteType to check for the completeness of
authorDouglas Gregor <dgregor@apple.com>
Mon, 14 Nov 2011 22:10:01 +0000 (22:10 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 14 Nov 2011 22:10:01 +0000 (22:10 +0000)
commitb3029960632ca8a3248e74770eda64d6c16f7246
tree7f7653e42ae5198506c92b81f6864f57242440d8
parent2bbcd5ce370753c86d312d2c72a97476ac35b073
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
18 files changed:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/SemaType.cpp
test/Analysis/rdar-6540084.m
test/SemaObjC/arc.m
test/SemaObjC/category-1.m
test/SemaObjC/class-impl-1.m
test/SemaObjC/class-proto-1.m
test/SemaObjC/exprs.m
test/SemaObjC/forward-class-1.m
test/SemaObjC/forward-class-receiver.m
test/SemaObjC/property-9.m
test/SemaObjC/property-missing.m
test/SemaObjC/sizeof-interface.m
test/SemaObjC/special-dep-unavail-warning.m
test/SemaObjC/undef-superclass-1.m