[llvm-branch-commits] [clang] Fix override keyword being print to the left side (PR #88453)

Giuliano Belinassi via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 12 06:16:31 PDT 2024


giulianobelinassi wrote:

> I don't think we should add this to the 18.x release -- we're already getting requests from users to not do that: https://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20240408/566402.html

This doesn't affect the number of spaces and it is not based on vgvassilev's patch.

The test case in question:
```
~/projects/llvm-project/llvm/build/bin/clang++ a.cpp -Xclang -ast-print -S -o -
template <typename T> class FinalTemplate;
```

This would only change the position of the `override` and `final` keywords.

https://github.com/llvm/llvm-project/pull/88453


More information about the llvm-branch-commits mailing list