Revert "[ObjC] Make C++ triviality type traits available to non-trivial C"
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 9 Apr 2018 19:39:27 +0000 (19:39 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 9 Apr 2018 19:39:27 +0000 (19:39 +0000)
commit367b1a898503d4036b000a50c93889e1ad879d1e
treebb08796907c50cc241885abd82f248caad25ff49
parentafa3aaf14dd20def2a20e40cff9ee9fe7cbafdf5
Revert "[ObjC] Make C++ triviality type traits available to non-trivial C"

This reverts commit r329289.

It was decided that we shouldn't expose the __has_* traits to C since
they are deprecated and useless.

See the discussion here:

http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20180402/thread.html#223921

llvm-svn: 329608
clang/include/clang/Basic/TokenKinds.def
clang/lib/Sema/SemaExprCXX.cpp
clang/test/SemaObjC/non-trivial-struct-traits.m [deleted file]