OSDN Git Service

reject void pointers with a nice error:
authorChris Lattner <sabre@nondot.org>
Sun, 8 Feb 2009 19:56:22 +0000 (19:56 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Feb 2009 19:56:22 +0000 (19:56 +0000)
commitb4bd16fc5e3dd416cf68e73cff93544d364159d6
treea0b2ac5eb64bfd4c688d863c71d819093ee7ec75
parent0fd4a27ec0b4c890c3c0deb36ef0896a4400ea4d
reject void pointers with a nice error:

llvm-as: t.ll:2:15: pointers to void are invalid, use i8* instead
%X = type void*
              ^

instead of asserting and dying.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64089 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp