diff options
author | Adrian Vogelsgesang <avogelsgesang@salesforce.com> | 2023-08-06 01:44:51 +0000 |
---|---|---|
committer | Adrian Vogelsgesang <avogelsgesang@salesforce.com> | 2023-08-07 21:25:22 +0000 |
commit | fda777849b0088ba83e28683c53c5c8321ef2558 (patch) | |
tree | 16774a260c97ce3bf42deaf473d1176691dd1d98 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | c192b3d7281d24ad17578c3f5965d56a64c7365e (diff) | |
download | llvm-fda777849b0088ba83e28683c53c5c8321ef2558.zip llvm-fda777849b0088ba83e28683c53c5c8321ef2558.tar.gz llvm-fda777849b0088ba83e28683c53c5c8321ef2558.tar.bz2 |
[clang-tidy] Update tests to include C++23 and C++26
This commit changes the `c++xx-or-later` definitions to also include
C++23 and the upcoming C++26.
`readability/container-contains.cpp` to also test newer C++ versions.
Also, this commit adjusts a couple of test cases slightly:
* `container-contains.cpp` now also tests newer C++ versions.
Restricting it to C++20 was an oversight of mine when originally
writing this check.
* `unconventional-assign-operator.cpp`: The `return rhs` raised
a "non-const lvalue reference to type 'BadReturnStatement' cannot
bind to a temporary" error in C++23. The issue is circumenvented
by writing `return *&rhs`.
* `const-correctness-values.cpp` was also running into the same error
in C++23. The troublesome test cases were moved to a separate file.
Differential Revision: https://reviews.llvm.org/D157246
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions