diff options
| author | John McCall <rjmccall@apple.com> | 2012-01-26 20:04:03 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2012-01-26 20:04:03 +0000 |
| commit | 18a962bab521ca6f7d0908a123c43a782ae5ee99 (patch) | |
| tree | b0dfc557e2a3b9525034e3362cb7a8229cd1df59 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | fc98d453dfecf0bcad0f23ee68c8d1b5ce1ddb19 (diff) | |
Don't suppress access-control or invalid-type diagnostics from a
declarator just because we were able to build an invalid decl
for it. The invalid-type diagnostics, in particular, are still useful
to know, and may indicate something about why the decl is invalid.
Also, recover from an illegal pointer/reference-to-unqualified-retainable
type using __strong instead of __autoreleasing; in general, a random
object is much more likely to be __strong, so this avoids unnecessary
cascading errors in the most common case.
llvm-svn: 149074
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
