diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-29 09:02:09 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-29 09:02:09 +0000 |
commit | 4cd81c5bf5957b2b10ddf253035f6e1596082108 (patch) | |
tree | 4c82f17c205f3de1a1819c9f542d51e0c1c31af1 /lib/Parse/ParseDecl.cpp | |
parent | 52a92509aa204f64a28e05ffede63312b07ea9ef (diff) |
Implement C++11 [dcl.align]p1 and C11 6.7.5/2 rules for alignas and _Alignas.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 438c6f8cf5..20d8f711ae 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -3890,6 +3890,9 @@ bool Parser::isDeclarationSpecifier(bool DisambiguatingWithExpression) { case tok::kw_explicit: case tok::kw__Noreturn: + // alignment-specifier + case tok::kw__Alignas: + // friend keyword. case tok::kw_friend: |