]> granicus.if.org Git - clang/commit
Produce a diagnostic if alignas is applied to an expression. Neither C11 nor
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jan 2013 10:18:18 +0000 (10:18 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jan 2013 10:18:18 +0000 (10:18 +0000)
commita0109e284457c996d4eb8f231e01dda303d1a345
tree9265c30c711de7f921f9bdd5f8c2f72aceac71d4
parentd03de6aaa312d57dcd6e2bc76bed1e89f5c5019d
Produce a diagnostic if alignas is applied to an expression. Neither C11 nor
C++11 allows that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173789 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseExpr.cpp
test/SemaCXX/alignof-sizeof-reference.cpp
test/SemaCXX/attr-cxx0x.cpp