diff options
author | Sean Callanan <scallanan@apple.com> | 2014-12-11 19:33:57 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2014-12-11 19:33:57 +0000 |
commit | d919698caaa57cc8ed9667f75cf3bee7b1779f0e (patch) | |
tree | ca1a36bc07b3dcc417aa06ff376a8563e94b1e9b /clang/lib/Sema/SemaChecking.cpp | |
parent | cf8112187740ebd5fc61ca6c7ed49d1ce62361fa (diff) | |
download | bcm5719-llvm-d919698caaa57cc8ed9667f75cf3bee7b1779f0e.tar.gz bcm5719-llvm-d919698caaa57cc8ed9667f75cf3bee7b1779f0e.zip |
Removed the assertion that we can find any named
Objective-C type in the runtime. This is not actually
true, it's entirely possible to say
@class DoesntExist;
@interface DoesExist {
DoesntExist *whyyyyy;
}
@end
and this code will not only compile but also run. So
this assertion will fire in situations users might
encounter.
I left the assertion enabled in debug mode, because we
could still catch a case we're not aware of (i.e., a
class that we *ought* to have found but where somehow
we mis-parsed the name).
<rdar://problem/19151914>
llvm-svn: 224038
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions