diff options
| author | sstwcw <su3e8a96kzlver@posteo.net> | 2025-10-27 18:41:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-27 18:41:09 +0000 |
| commit | f8a0599d761e4283b3877f0bf4043e01722dc448 (patch) | |
| tree | a6bd8ece3381d95fd74050245e32f70f6f7b80fb /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | 88558d52c71081d5c6c372f87fb454a89747c5dd (diff) | |
| download | llvm-f8a0599d761e4283b3877f0bf4043e01722dc448.zip llvm-f8a0599d761e4283b3877f0bf4043e01722dc448.tar.gz llvm-f8a0599d761e4283b3877f0bf4043e01722dc448.tar.bz2 | |
[clang-format] Align comments following continued aligned lines (#164687)
new
```C++
auto aaaaaaaaaaaaaaaaaaaaa = {}; //
auto b = [] { //
return; //
};
auto aaaaaaaaaaaaaaaaaaaaa = {}; //
auto b = [] { //
return aaaaaaaaaaaaaaaaaaaaa; //
};
```
old
```C++
auto aaaaaaaaaaaaaaaaaaaaa = {}; //
auto b = [] { //
return; //
};
auto aaaaaaaaaaaaaaaaaaaaa = {}; //
auto b = [] { //
return aaaaaaaaaaaaaaaaaaaaa; //
};
```
Aligning a line to another line involves keeping track of the tokens'
positions. Previously the shift was incorrectly added to some tokens
that did not move. Then the comments would end up in the wrong places.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
