llvm-6502/lib/AsmParser
Nick Lewycky a5f54a06b0 Create FunctionType::isValidArgumentType to go along with isValidReturnType.
Also create isValidElementType for ArrayType, PointerType, StructType and
VectorType.

Make LLParser use them. This closes up some holes like an assertion failure on:

  %x = type {label}

but largely doesn't change any semantics. The only thing we accept now which
we didn't before is vectors of opaque type such as "<4 x opaque>". The opaque
can be resolved to an int or float when linking.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73016 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-07 07:26:46 +00:00
..
CMakeLists.txt
LLLexer.cpp Add new function attribute - noimplicitfloat 2009-06-05 21:57:13 +00:00
LLLexer.h
LLParser.cpp Create FunctionType::isValidArgumentType to go along with isValidReturnType. 2009-06-07 07:26:46 +00:00
LLParser.h
LLToken.h Add new function attribute - noimplicitfloat 2009-06-05 21:57:13 +00:00
Makefile
Parser.cpp