llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-tidy

Author: None (Sirraide)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/128051.diff


1 Files Affected:

- (modified) 
clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp 
(+2-2) 


``````````diff
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;

``````````

</details>


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

Reply via email to