summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-init.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-05-27 01:19:52 +0000
committerDouglas Gregor <dgregor@apple.com>2011-05-27 01:19:52 +0000
commita9d84933107df34f08c201ef6a6f16b354f730da (patch)
treea2042360ce553e21018b9d05a0af89401b38813a /clang/test/SemaTemplate/instantiate-init.cpp
parente217f89420856f9292744dceedbf75e9b6990178 (diff)
downloadbcm5719-llvm-a9d84933107df34f08c201ef6a6f16b354f730da.tar.gz
bcm5719-llvm-a9d84933107df34f08c201ef6a6f16b354f730da.zip
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
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-init.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud