[PATCH] D37375: [libcxx] Test case for the experimental library visibility macros

Hamza Sood via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 1 02:54:51 PDT 2017


hamzasood created this revision.

This patch adds a test case to ensure that every library header uses the correct visibility macros.
libc++ headers should use _LIBCPP_* macros whereas libc++experimental headers should use _LIBCPPX_* macros.

This was originally part of https://reviews.llvm.org/D37182, but it's been taken out for separate review as requested.
It's dependent on the aforementioned patch; the test will fail until that patch has been applied.


https://reviews.llvm.org/D37375

Files:
  test/libcxx/selftest/experimental_visibility.sh.cpp
  utils/check_experimental_visibility.py
  utils/libcxx/test/config.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37375.113523.patch
Type: text/x-patch
Size: 5628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170901/4c40be38/attachment.bin>


More information about the cfe-commits mailing list