]> granicus.if.org Git - clang/commit
Revert r328680 ("[ObjC] Make C++ triviality type traits available to non-trivial...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 Apr 2018 00:34:54 +0000 (00:34 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 Apr 2018 00:34:54 +0000 (00:34 +0000)
commitd8ad1e8b8544eb135135984fd7d35499214dd232
tree855cd5668f79052a51471d1d0475135695638711
parent6137fb61ced60b179afcbf610bfb230af6232ed8
Revert r328680 ("[ObjC] Make C++ triviality type traits available to non-trivial C structs.")

It unintentionally caused the values of the __has_* type traits to change in
C++ for trivially-copyable classes with volatile members.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329247 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TokenKinds.def
lib/Sema/SemaExprCXX.cpp
test/SemaObjC/non-trivial-struct-traits.m [deleted file]