Author: Sirraide
Date: 2025-02-20T20:06:56+01:00
New Revision: 29361b326bd865f7c4f07d9fc5a908d3f2b177fc

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

LOG: [Clang] Fix failing clang-tidy test (#128051)

#123470 broke one of the clang-tidy tests; this fixes that.

Added: 
    

Modified: 
    clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp

Removed: 
    


################################################################################
diff  --git 
a/clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp 
b/clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp
index c22e9c564e3ee..50433d5d12ea9 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp
@@ -37,8 +37,8 @@ void operator delete[](void *x) throw();
 void operator delete[](void * /*x*/) throw();
 
 struct X {
-  X operator++(int) { throw 0; }
-  X operator--(int) { throw 0; }
+  void operator++(int) {}
+  void operator--(int) {}
 
   X(X&) = delete;
   X &operator=(X&) = default;


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

Reply via email to