aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/Lexer.l
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-11-14 09:52:30 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-11-14 09:52:30 +0000
commit0adb7b41e7715d47089a471ec2244348cd32bb68 (patch)
tree8cebb7acc3eca8f9ae8a7a5a3a0554070941dc81 /lib/AsmParser/Lexer.l
parent9de1934099f4eedaeb2f3a023411b2cd3e0e1eae (diff)
Add pure/const attributes. Documentation will follow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/Lexer.l')
-rw-r--r--lib/AsmParser/Lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l
index 0591cd99f3..98a21cabaa 100644
--- a/lib/AsmParser/Lexer.l
+++ b/lib/AsmParser/Lexer.l
@@ -275,6 +275,8 @@ noreturn { return NORETURN; }
noalias { return NOALIAS; }
byval { return BYVAL; }
nest { return NEST; }
+pure { return PURE; }
+const { return CONST; }
sext{WSNL} { // For auto-upgrade only, drop in LLVM 3.0
return SIGNEXT; }
zext{WSNL} { // For auto-upgrade only, drop in LLVM 3.0