diff options
author | mydeveloperday <mydeveloperday@gmail.com> | 2021-11-25 11:04:17 +0000 |
---|---|---|
committer | mydeveloperday <mydeveloperday@gmail.com> | 2021-11-25 11:05:46 +0000 |
commit | c94667a810e44c44fd355f9f014ffe161d75d761 (patch) | |
tree | 56e501fe7840399fb6c688b51f612260aec0e1d1 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 57470abc412520762ca35c6c34c235e548e7d0a6 (diff) | |
download | llvm-c94667a810e44c44fd355f9f014ffe161d75d761.zip llvm-c94667a810e44c44fd355f9f014ffe161d75d761.tar.gz llvm-c94667a810e44c44fd355f9f014ffe161d75d761.tar.bz2 |
[clang-format] [PR52595] clang-format does not recognize rvalue references to array
https://bugs.llvm.org/show_bug.cgi?id=52595
missing space between `T(&&)` but not between `T (&` due to && being incorrectly thought of as `UnaryOperator` rather than `PointerOrReference`
```
int operator()(T (&)[N]) { return 0; }
int operator()(T(&&)[N]) { return 1; }
```
Existing Unit tests are changed because actually I think they are originally incorrect, and are inconsistent with the (&) cases that are 4 or 5 lines above them.
Reviewed By: curdeius
Differential Revision: https://reviews.llvm.org/D114519
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions