summaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLToken.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-17 03:16:47 +0000
committerChris Lattner <sabre@nondot.org>2011-06-17 03:16:47 +0000
commitf3a789d931de6b5be729c33ff476fb20f0badbb1 (patch)
treea47514624ce732144d86f8bd5f47b244b9787015 /lib/AsmParser/LLToken.h
parent26b0000166ca3d00f2a1990b43a1f45cdac4e9b6 (diff)
downloadllvm-f3a789d931de6b5be729c33ff476fb20f0badbb1.tar.gz
llvm-f3a789d931de6b5be729c33ff476fb20f0badbb1.tar.bz2
llvm-f3a789d931de6b5be729c33ff476fb20f0badbb1.tar.xz
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
Diffstat (limited to 'lib/AsmParser/LLToken.h')
-rw-r--r--lib/AsmParser/LLToken.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLToken.h b/lib/AsmParser/LLToken.h
index 3b193dc8dc..ea01264cce 100644
--- a/lib/AsmParser/LLToken.h
+++ b/lib/AsmParser/LLToken.h
@@ -122,7 +122,7 @@ namespace lltok {
kw_ret, kw_br, kw_switch, kw_indirectbr, kw_invoke, kw_unwind,
kw_unreachable,
- kw_malloc, kw_alloca, kw_free, kw_load, kw_store, kw_getelementptr,
+ kw_alloca, kw_load, kw_store, kw_getelementptr,
kw_extractelement, kw_insertelement, kw_shufflevector, kw_getresult,
kw_extractvalue, kw_insertvalue, kw_blockaddress,