]> granicus.if.org Git - clang/commit
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)
commit2aadfaccd003f3c91b3185fcf379549ed11cdeaf
treebf37824abd067131231a8e8fc681df73e64a95e2
parent55aa0b574a6890505d73b0df23e66a47541103ab
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

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