]> granicus.if.org Git - clang/commit
sizeof(void) etc. should be a hard error in C++.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 13 Aug 2013 22:26:42 +0000 (22:26 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 13 Aug 2013 22:26:42 +0000 (22:26 +0000)
commitc99b90edb85ea0a5be6ce567a8c0147b76534e15
tree6bfdcdfe329927de4c9299dfcf6fdd25cd0569ae
parent73052bf669d3fe4c202cff2792cfe215cf5727be
sizeof(void) etc. should be a hard error in C++.

PR16872.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188324 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/CXX/expr/expr.post/expr.call/p7-0x.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p2.cpp
test/CXX/expr/expr.unary/expr.sizeof/p1.cpp
test/SemaCXX/alignof-sizeof-reference.cpp
test/SemaCXX/attr-cxx0x.cpp
test/SemaCXX/dcl_ambig_res.cpp
test/SemaTemplate/constexpr-instantiate.cpp
test/SemaTemplate/resolve-single-template-id.cpp