[PATCH] D149492: [clang] makes built-in traits match their stdlib counterparts' names

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 28 15:40:22 PDT 2023


cjdb created this revision.
cjdb added reviewers: rsmith, aaron.ballman.
Herald added a project: All.
cjdb requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The original names apparently broke convention by not making them the
same as the C++ type trait names, so we're creating aliases for them.
It's unclear whether or not the existing names can be deprecated and
removed in the future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149492

Files:
  clang/include/clang/Basic/TokenKinds.def
  clang/test/SemaCXX/type-traits.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149492.518071.patch
Type: text/x-patch
Size: 6186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230428/eec68b74/attachment.bin>


More information about the cfe-commits mailing list