llvm/lib/AsmParser
Chris Lattner 355ad1f3af Remove a bunch of cruft and dead code for handling the case when types were
defined in function constant pools.  The assembler grammar has long
disallowed functions from having constant pools, so all of this stuff is
dead.

This makes it an immediate error for functions to refer to nonexisting
types, fixing Regression/Verifier/2005-03-21-UndefinedTypeReference.ll.

Before, references to non-existing types in functions would only be
detected when the subsequent function was parsed, due to the call to
"ResolveTypes".  "ResolveTypes" has not resolved any types for a long time,
instead it emitted an error message if no resolved types are left.  Since
the only caller of this method is in the module code, just inline it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20726 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-21 06:27:42 +00:00
..
.cvsignore
Lexer.l Silence VS warnings. 2005-01-08 20:07:03 +00:00
llvmAsmParser.y Remove a bunch of cruft and dead code for handling the case when types were 2005-03-21 06:27:42 +00:00
Makefile Apparently := confuses makellvm 2005-02-01 01:47:12 +00:00
Parser.cpp Fine-grainify namespacification, prune #include 2004-07-13 08:42:12 +00:00
ParserInternals.h Parse undef and unreachable 2004-10-16 18:17:13 +00:00