aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-02 20:52:40 +0000
committerDevang Patel <dpatel@apple.com>2008-09-02 20:52:40 +0000
commitd49808184f1b01339921f3fa22077f0fabce407c (patch)
tree924cd3913c87e6cad4b7c7d704294e615b779c49 /lib/AsmParser/LLLexer.cpp
parent81b2ab8a249c3652133a1dcc0209343cde9b499f (diff)
Parse function notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLLexer.cpp')
-rw-r--r--lib/AsmParser/LLLexer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp
index ce53f0d2a9..6af0ab4c84 100644
--- a/lib/AsmParser/LLLexer.cpp
+++ b/lib/AsmParser/LLLexer.cpp
@@ -497,6 +497,12 @@ int LLLexer::LexIdentifier() {
KEYWORD("readnone", READNONE);
KEYWORD("readonly", READONLY);
+ KEYWORD("notes", FNNOTE);
+ KEYWORD("inline", INLINE);
+ KEYWORD("always", ALWAYS);
+ KEYWORD("never", NEVER);
+ KEYWORD("optimizeforsize", OPTIMIZEFORSIZE);
+
KEYWORD("type", TYPE);
KEYWORD("opaque", OPAQUE);