[PATCH] D135339: [clang] makes `__is_destructible` KEYCXX instead of KEYMS
Christopher Di Bella via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 5 18:55:34 PDT 2022
cjdb created this revision.
cjdb added reviewers: aaron.ballman, shafik, erichkeane.
Herald added a project: All.
cjdb requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This makes it possible to be used in all modes, instead of just when
`-fms-extensions` is enabled. Also moves the `-fms-extensions`-exclusive
traits into their own file so we can check the others aren't dependent
on this flag.
This is information that the compiler already has, and should be exposed
so that the library doesn't need to reimplement the exact same
functionality.
This was originally a part of D116280 <https://reviews.llvm.org/D116280>.
Depends on D135338 <https://reviews.llvm.org/D135338>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135339
Files:
clang/docs/LanguageExtensions.rst
clang/include/clang/Basic/TokenKinds.def
clang/test/SemaCXX/type-traits-ms-extensions.cpp
clang/test/SemaCXX/type-traits.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135339.465643.patch
Type: text/x-patch
Size: 7927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221006/71958381/attachment.bin>
More information about the cfe-commits
mailing list