[libcxx-commits] [libcxx] [libc++] Re-add attribute macro to clang-format (PR #112746)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 17 09:37:38 PDT 2024
https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/112746
That macro was removed incorrectly from the clang-format file because it had a typo in its name. However, the macro with the right name is still being used in the library (sadly, in a single place).
>From d0fdcfc7a411c73199a3a36405430bc4ed2876a2 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Thu, 17 Oct 2024 12:36:05 -0400
Subject: [PATCH] [libc++] Re-add attribute macro to clang-format
That macro was removed incorrectly from the clang-format file
because it had a typo in its name. However, the macro with the
right name is still being used in the library (sadly, in a single
place).
---
libcxx/.clang-format | 1 +
1 file changed, 1 insertion(+)
diff --git a/libcxx/.clang-format b/libcxx/.clang-format
index a6154c7c4a2bc0..f548119652c19a 100644
--- a/libcxx/.clang-format
+++ b/libcxx/.clang-format
@@ -30,6 +30,7 @@ AttributeMacros: [
'_LIBCPP_DEPRECATED_IN_CXX20',
'_LIBCPP_DEPRECATED_IN_CXX23',
'_LIBCPP_DEPRECATED',
+ '_LIBCPP_DISABLE_EXTENSION_WARNING',
'_LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION',
'_LIBCPP_EXPORTED_FROM_ABI',
'_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS',
More information about the libcxx-commits
mailing list