[libcxx-commits] [libcxx] b7bc803 - [libc++][NFC] Sort list of attribute macros in the .clang-format file
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 4 08:25:51 PDT 2023
Author: Louis Dionne
Date: 2023-07-04T11:25:46-04:00
New Revision: b7bc8033f1b100f2c5a3b55d9384692193b0cfea
URL: https://github.com/llvm/llvm-project/commit/b7bc8033f1b100f2c5a3b55d9384692193b0cfea
DIFF: https://github.com/llvm/llvm-project/commit/b7bc8033f1b100f2c5a3b55d9384692193b0cfea.diff
LOG: [libc++][NFC] Sort list of attribute macros in the .clang-format file
Added:
Modified:
libcxx/.clang-format
Removed:
################################################################################
diff --git a/libcxx/.clang-format b/libcxx/.clang-format
index 662c84783ac7f8..f7cf25b6986b17 100644
--- a/libcxx/.clang-format
+++ b/libcxx/.clang-format
@@ -13,46 +13,47 @@ AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortLambdasOnASingleLine: All
-AttributeMacros: ['_LIBCPP_HIDE_FROM_ABI',
- '_LIBCPP_CONSTEXPR',
+AttributeMacros: [
+ '_ALIGNAS_TYPE',
+ '_ALIGNAS',
+ '_LIBCPP_ALIGNOF',
+ '_LIBCPP_ALWAYS_INLINE',
'_LIBCPP_CONSTEXPR_SINCE_CXX14',
'_LIBCPP_CONSTEXPR_SINCE_CXX17',
'_LIBCPP_CONSTEXPR_SINCE_CXX20',
'_LIBCPP_CONSTEXPR_SINCE_CXX23',
- '_LIBCPP_ALIGNOF',
- '_ALIGNAS_TYPE',
- '_ALIGNAS',
- '_LIBCPP_NORETURN',
- '_LIBCPP_ALWAYS_INLINE',
+ '_LIBCPP_CONSTEXPR',
+ '_LIBCPP_CONSTINIT',
+ '_LIBCPP_DEPRECATED_IN_CXX11',
+ '_LIBCPP_DEPRECATED_IN_CXX14',
+ '_LIBCPP_DEPRECATED_IN_CXX17',
+ '_LIBCPP_DEPRECATED_IN_CXX20',
+ '_LIBCPP_DEPRECATED',
'_LIBCPP_DISABLE_EXTENTSION_WARNING',
- '_LIBCPP_HIDDEN',
- '_LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS',
- '_LIBCPP_TEMPLATE_VIS',
- '_LIBCPP_TEMPLATE_DATA_VIS',
- '_LIBCPP_EXPORTED_FROM_ABI',
- '_LIBCPP_OVERRIDABLE_FUNC_VIS',
'_LIBCPP_ENUM_VIS',
- '_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS',
- '_LIBCPP_INTERNAL_LINKAGE',
'_LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION',
+ '_LIBCPP_EXPORTED_FROM_ABI',
+ '_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS',
+ '_LIBCPP_FALLTHROUGH',
+ '_LIBCPP_HIDDEN',
'_LIBCPP_HIDE_FROM_ABI_AFTER_V1',
+ '_LIBCPP_HIDE_FROM_ABI',
'_LIBCPP_INLINE_VISIBILITY',
- '_LIBCPP_NOALIAS',
+ '_LIBCPP_INTERNAL_LINKAGE',
+ '_LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS',
+ '_LIBCPP_NO_DESTROY',
'_LIBCPP_NO_SANITIZE',
- '_LIBCPP_USING_IF_EXISTS',
- '_LIBCPP_DEPRECATED',
- '_LIBCPP_DEPRECATED_IN_CXX11',
- '_LIBCPP_DEPRECATED_IN_CXX14',
- '_LIBCPP_DEPRECATED_IN_CXX17',
- '_LIBCPP_DEPRECATED_IN_CXX20',
- '_LIBCPP_NODISCARD',
+ '_LIBCPP_NO_UNIQUE_ADDRESS',
+ '_LIBCPP_NOALIAS',
'_LIBCPP_NODISCARD_EXT',
- '_LIBCPP_NO_DESTROY',
- '_LIBCPP_WEAK',
- '_LIBCPP_CONSTINIT',
- '_LIBCPP_FALLTHROUGH',
+ '_LIBCPP_NODISCARD',
+ '_LIBCPP_NORETURN',
+ '_LIBCPP_OVERRIDABLE_FUNC_VIS',
'_LIBCPP_STANDALONE_DEBUG',
- '_LIBCPP_NO_UNIQUE_ADDRESS',
+ '_LIBCPP_TEMPLATE_DATA_VIS',
+ '_LIBCPP_TEMPLATE_VIS',
+ '_LIBCPP_USING_IF_EXISTS',
+ '_LIBCPP_WEAK',
]
BinPackArguments: false
BinPackParameters: false
More information about the libcxx-commits
mailing list