summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/Parser.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-04-15 00:35:57 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-04-15 00:35:57 +0000
commit3d9cbdc3e66e274d5d3cb94ce81a65478d9baae0 (patch)
tree13a98c673af7fe0eb3f9912f050e3bc21b6b1bc5 /clang/lib/Parse/Parser.cpp
parent91147596414d94e39c2d04a2f91a13bda877093c (diff)
downloadbcm5719-llvm-3d9cbdc3e66e274d5d3cb94ce81a65478d9baae0.tar.gz
bcm5719-llvm-3d9cbdc3e66e274d5d3cb94ce81a65478d9baae0.zip
C1X: implement static asserts
llvm-svn: 129555
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
-rw-r--r--clang/lib/Parse/Parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp
index c5d5ef536df..492b8f53097 100644
--- a/clang/lib/Parse/Parser.cpp
+++ b/clang/lib/Parse/Parser.cpp
@@ -557,6 +557,7 @@ Parser::ParseExternalDeclaration(ParsedAttributesWithRange &attrs,
case tok::kw_template:
case tok::kw_export: // As in 'export template'
case tok::kw_static_assert:
+ case tok::kw__Static_assert:
// A function definition cannot start with a these keywords.
{
SourceLocation DeclEnd;
OpenPOWER on IntegriCloud