================
@@ -0,0 +1,103 @@
+// RUN: %check_clang_tidy %s bugprone-exception-rethrow %t -- -- -fexceptions
+
+struct exception {};
+
+namespace std {
+  template <class T>
+  T&& move(T &x) {
----------------
isuckatcs wrote:

```suggestion
  T&& move(T &&x) {
```
The official signature is the one below.
```c++
template< class T >
typename std::remove_reference<T>::type&& move( T&& t ) noexcept;
```

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

Reply via email to