llvm-project/clang/tools
Douglas Gregor a9d8493310 Objective-C doesn't consider the use of incomplete types as method
parameter types to be ill-formed. However, it relies on the
completeness of method parameter types when producing metadata, e.g.,
for a protocol, leading IR generating to crash in such cases.

Since there's no real way to tighten down the semantics of Objective-C
here without breaking existing code, do something safe but lame:
suppress the generation of metadata when this happens.

Fixes <rdar://problem/9123036>.

llvm-svn: 132171
2011-05-27 01:19:52 +00:00
..
c-index-test Add c-index-test printing and tests for static and virtual method 2011-05-13 15:54:42 +00:00
driver Support -fatal-warnings for the assembler frontend 2011-05-19 18:42:29 +00:00
libclang Objective-C doesn't consider the use of incomplete types as method 2011-05-27 01:19:52 +00:00
scan-build Update regex in scan-build for parsing statistics. 2011-04-27 23:43:27 +00:00
scan-view Fix call to send_error() in scan-view. An int error code is expected but a string was being sent. Patch by Andrew Price! 2011-02-21 19:26:48 +00:00
CMakeLists.txt Rename 'CIndex' to 'libclang', since it has basically become our stable public 2010-04-30 21:51:10 +00:00
Makefile libclang and c-index-test can be built on Cygming. 2010-11-09 03:25:21 +00:00