Fix treatment of case which came up on std-proposals@: 'void' is permitted in core...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 1 Oct 2012 20:36:17 +0000 (20:36 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 1 Oct 2012 20:36:17 +0000 (20:36 +0000)
commitcdd1da209dfc542b69ab7db539688c2ed7bc00d7
tree82cfec16c05d0eb9cb7c2d31a535ecf8a936494f
parent1620ebd98f6c3cafebcf87ca06ec1d084cab51d8
Fix treatment of case which came up on std-proposals@: 'void' is permitted in core constant expressions, despite not being a literal type.

llvm-svn: 164968
clang/lib/AST/ExprConstant.cpp
clang/test/SemaCXX/constant-expression-cxx11.cpp