[libcxx-commits] [libcxx] 90bc60c - [libc++] Re-add attribute macro to clang-format (#112746)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 18 07:11:11 PDT 2024


Author: Louis Dionne
Date: 2024-10-18T16:11:07+02:00
New Revision: 90bc60c5a82a596327ddc6956436abf146b44a7a

URL: https://github.com/llvm/llvm-project/commit/90bc60c5a82a596327ddc6956436abf146b44a7a
DIFF: https://github.com/llvm/llvm-project/commit/90bc60c5a82a596327ddc6956436abf146b44a7a.diff

LOG: [libc++] Re-add attribute macro to clang-format (#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).

Added: 
    

Modified: 
    libcxx/.clang-format

Removed: 
    


################################################################################
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