================
@@ -157,6 +157,25 @@
 #define LLVM_DEPRECATED(MSG, FIX) [[deprecated(MSG)]]
 #endif
 
+// clang-format off
+#if defined(__clang__) || defined(__GNUC__)
+#define LLVM_IGNORE_DEPRECATIONS_OF_DECLARATIONS_BEGIN                         
\
----------------
benlangmuir wrote:

I'm not sure how often the general form of this is useful - I don't actually 
see many places in the code that disable diagnostics for both MSVC and 
clang/gcc.  So I would stick with the version that is specific to deprecations. 
 Maybe you should more closely match the name of 
`_LIBCPP_SUPPRESS_DEPRECATED_PUSH`  -- e.g. `LLVM_SUPPRESS_DEPRECATED_PUSH` and 
`..._POP`. 


https://github.com/llvm/llvm-project/pull/68157
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to