Remove old backwards compatibility support from the parser for autoupgrading
authorChris Lattner <sabre@nondot.org>
Fri, 17 Jun 2011 03:16:47 +0000 (03:16 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 17 Jun 2011 03:16:47 +0000 (03:16 +0000)
commitf3a789d931de6b5be729c33ff476fb20f0badbb1
treea47514624ce732144d86f8bd5f47b244b9787015
parent26b0000166ca3d00f2a1990b43a1f45cdac4e9b6
Remove old backwards compatibility support from the parser for autoupgrading
the old malloc/free instructions, and for 'sext' and 'zext' as function
attributes (they are spelled signext/zeroext now), and support for result
value attributes being specified after a function.

Additionally, diagnose invalid attributes on functions with an error message
instead of an abort in the verifier.

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