Author: Michael Liao
Date: 2023-05-04T14:23:46-04:00
New Revision: b323b407f76d22bfc08b1430f7952c03eb504288

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

LOG: [clang] Fix build after https://reviews.llvm.org/D149553

- `CXXPre2bCompat` is referenced somewhere after being removed.
- More warning messages on c++2b need refining

Added: 
    

Modified: 
    clang/include/clang/Basic/DiagnosticSemaKinds.td

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td 
b/clang/include/clang/Basic/DiagnosticSemaKinds.td
index f0ff7d0f3169..7df963f7ba05 100644
--- a/clang/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td
@@ -9440,7 +9440,7 @@ def 
warn_cxx2b_compat_defaulted_comparison_constexpr_mismatch : Warning<
   "%select{|for which the corresponding implicit 'operator==' }0 "
   "invokes a non-constexpr comparison function is incompatible with C++ "
   "standards before C++2b">,
-  InGroup<CXXPre2bCompat>, DefaultIgnore;
+  InGroup<CXXPre23Compat>, DefaultIgnore;
 def note_defaulted_comparison_not_constexpr : Note<
   "non-constexpr comparison function would be used to compare "
   "%select{|member %1|base class %1}0">;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to