[libcxx-commits] [PATCH] D126249: [libc++] Remove _LIBCPP_ALIGNOF

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 23 15:39:08 PDT 2022


philnik created this revision.
philnik added reviewers: ldionne, Mordante, var-const.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

We already define a lot of C++11 keywords in C++03, so we can also do that for `alignof` instead of having an internal macro for that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126249

Files:
  libcxx/include/__config
  libcxx/include/__functional/function.h
  libcxx/include/__memory/allocator.h
  libcxx/include/__memory/shared_ptr.h
  libcxx/include/__memory/temporary_buffer.h
  libcxx/include/experimental/coroutine
  libcxx/include/experimental/memory_resource
  libcxx/include/memory
  libcxx/include/type_traits
  libcxx/test/libcxx/libcpp_alignof.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126249.431501.patch
Type: text/x-patch
Size: 11364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220523/425deb20/attachment-0001.bin>


More information about the libcxx-commits mailing list