summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2016-10-12 09:36:35 +0000
committerAlex Lorenz <arphaman@gmail.com>2016-10-12 09:36:35 +0000
commit757a69b76017994e9f049c70c42a88f07ff15917 (patch)
treebea63e67734588eec7d670da3cf3a9034d4e553a /libcxx/test/std/language.support
parent883cc25d9f251165ea99556cd8234d2711eb9052 (diff)
downloadbcm5719-llvm-757a69b76017994e9f049c70c42a88f07ff15917.tar.gz
bcm5719-llvm-757a69b76017994e9f049c70c42a88f07ff15917.zip
[Sema] Handle transparent_union attributes in C mode only
This commit marks the transparent_union attributes as C only because clang doesn't support them in C++ mode. Prior to this commit, clang still tried to verify these attributes in C++, leading to crashes when analyzing templated transparent_union unions that have dependent field types. This commit ensures that such crashes won't happen again. As a result of this commit clang now displays a warning every time it encounters a transparent_union attribute in C++ mode. Differential Revision: https://reviews.llvm.org/D25308 llvm-svn: 283995
Diffstat (limited to 'libcxx/test/std/language.support')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud