aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
diff options
context:
space:
mode:
authorsstwcw <su3e8a96kzlver@posteo.net>2025-10-27 18:41:09 +0000
committerGitHub <noreply@github.com>2025-10-27 18:41:09 +0000
commitf8a0599d761e4283b3877f0bf4043e01722dc448 (patch)
treea6bd8ece3381d95fd74050245e32f70f6f7b80fb /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
parent88558d52c71081d5c6c372f87fb454a89747c5dd (diff)
downloadllvm-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/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions