NNikolas Klauser[libc++] Add hide_from_abi check for classes
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++][NFC] Add missing include to ext/__hash Note that we use <stddef.h> instead of <cstddef> because we're using size_t (not std::size_t) and we're outside of namespace std. Differential Revision: https://reviews.llvm.org/D138716 | 3 年前 | |
[libc++] Add hide_from_abi check for classes We already have a clang-tidy check for making sure that _LIBCPP_HIDE_FROM_ABI is on free functions. This patch extends this to class members. The places where we don't check for _LIBCPP_HIDE_FROM_ABI are classes for which we have an instantiation in the library. Reviewed By: ldionne, Mordante, #libc Spies: jplehr, mikhail.ramalho, sstefan1, libcxx-commits, krytarowski, miyuki, smeenai Differential Revision: https://reviews.llvm.org/D142332 | 3 年前 | |
[libc++] Add hide_from_abi check for classes We already have a clang-tidy check for making sure that _LIBCPP_HIDE_FROM_ABI is on free functions. This patch extends this to class members. The places where we don't check for _LIBCPP_HIDE_FROM_ABI are classes for which we have an instantiation in the library. Reviewed By: ldionne, Mordante, #libc Spies: jplehr, mikhail.ramalho, sstefan1, libcxx-commits, krytarowski, miyuki, smeenai Differential Revision: https://reviews.llvm.org/D142332 | 3 年前 |