commit | 1dba27cd49427a935d6f74b5cb1c4cf497438261 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Jan 29 09:02:09 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Jan 29 09:02:09 2013 +0000 |
tree | 2e090a56a660f3765c25bc660e485f4f44b88020 | |
parent | 9aa2e4f5c41c76ea8d7941cfa73c8cd4df45cdf6 [diff] [blame] |
Implement C++11 [dcl.align]p1 and C11 6.7.5/2 rules for alignas and _Alignas. llvm-svn: 173779
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 438c6f8..20d8f71 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp
@@ -3890,6 +3890,9 @@ case tok::kw_explicit: case tok::kw__Noreturn: + // alignment-specifier + case tok::kw__Alignas: + // friend keyword. case tok::kw_friend: