https://bugs.llvm.org/show_bug.cgi?id=48916
Left and Right Alignment inside a loop is misaligned.
Differential D115050
[clang-format] PR48916 PointerAlignment not working when using C++20 init-statement in for loop MyDeveloperDay on Dec 3 2021, 9:50 AM. Authored by
Details
Diff Detail Event Timeline
Comment Actions This fix has to go super specific to range for loops or we start manipulating pointer alignment all over the place in places perhaps we don't want to
|
Is this valid code? Or did we just wrongly assign PointerOrReference? I'd say after that there can not be a literal in valid code, thus we do not need to handle it.