[clang] Rework the printing of attributes (PR #87281)

Giuliano Belinassi via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 2 08:30:36 PDT 2024


giulianobelinassi wrote:

I am not sure how I feel about dropping the canPrintOnRight/printOnRight logic. We use it as a fallback when the SourceRange of a function is unreliable, otherwise we always copy and paste the code the user wrote.

Regardless of that I will check for fallbacks on clang-extract once I get it to link with this branch.

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


More information about the cfe-commits mailing list