]> granicus.if.org Git - clang/commit
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)
commit14df23bd114919abc374b2bcd2b2e16b79936584
treea22a1cf11020e856e94c49ae84fe76c35f8a4982
parent1f1df1f48e4c804d80d996fa6e38dee9de633dea
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>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177915 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaStmtAsm.cpp
test/CodeGen/x86_32-inline-asm.c
test/Sema/asm.c