summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2016-04-01 21:41:15 +0000
committerManman Ren <manman.ren@gmail.com>2016-04-01 21:41:15 +0000
commit9bfd0d03e92d4bbb0ebf6171f5e0692edf9820c3 (patch)
tree9a24f292b9df7e108e4a60d458c5668a2409157d /llvm/lib/AsmParser/LLLexer.cpp
parenta3d15f3a5e645e75093f2f5f2b2065bca396c16e (diff)
downloadbcm5719-llvm-9bfd0d03e92d4bbb0ebf6171f5e0692edf9820c3.tar.gz
bcm5719-llvm-9bfd0d03e92d4bbb0ebf6171f5e0692edf9820c3.zip
Swift Calling Convention: add swifterror attribute.
A ``swifterror`` attribute can be applied to a function parameter or an AllocaInst. This commit does not include any target-specific change. The target-specific optimization will come as a follow-up patch. Differential Revision: http://reviews.llvm.org/D18092 llvm-svn: 265189
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index 5ad5ddd52a0..0f4a6eb8109 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/lib/AsmParser/LLLexer.cpp
@@ -648,6 +648,7 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(sanitize_address);
KEYWORD(sanitize_thread);
KEYWORD(sanitize_memory);
+ KEYWORD(swifterror);
KEYWORD(swiftself);
KEYWORD(uwtable);
KEYWORD(zeroext);
OpenPOWER on IntegriCloud