]> granicus.if.org Git - clang/commit
PR19966: don't crash/assert when __underlying_type is applied to an incomplete
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 12 Jun 2014 00:01:45 +0000 (00:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 12 Jun 2014 00:01:45 +0000 (00:01 +0000)
commitd27916ef6fac3d2250b6d15c404976f0c33f85b4
tree031833698405c5bb2efb72490556236feccea541
parent518ff651ebca885b7fc97869872671cca41d3619
PR19966: don't crash/assert when __underlying_type is applied to an incomplete
enumeration type. I've also filed a LWG issue pointing out that this should be
ill-formed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210723 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaType.cpp
test/SemaCXX/underlying_type.cpp