Emit an error message instead of crashing when dereferencing an incomplete pointer...
authorBill Wendling <isanbard@gmail.com>
Mon, 25 Mar 2013 21:09:49 +0000 (21:09 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 25 Mar 2013 21:09:49 +0000 (21:09 +0000)
commitc4fc3a2ba52d24195ab06388c662b118a2664358
tree4139da3dca6baebf14abc1dc4326880dfcfd8871
parent8c0d63c120cc76fefdb128d0b07b8b1cdf183c26
Emit an error message instead of crashing when dereferencing an incomplete pointer type.

If the ASM statement is dereferencing an incomplete pointer type, issue an error
instead of crashing.
<rdar://problem/12700799>

llvm-svn: 177915
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaStmtAsm.cpp
clang/test/CodeGen/x86_32-inline-asm.c
clang/test/Sema/asm.c