[clang] [clang-format] Hanlde qualified type name for `QualifierAlignment` (PR #125327)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 1 09:15:29 PST 2025


HazardyKnusperkeks wrote:

> > Seems to also work for top-level types (`::int_64_t constexpr x{123};` works correctly) but breaks for fully qualified types (`::std::int64_t constexpr x{123};` becomes `::constexpr std::int64_t x{123};`)
> 
> Yeah, I intentionally didn't want to use a loop for names like `A1::A2:: ... ::An` and instead just wanted to handle single-level nested names like `A::B`.

But why?

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


More information about the cfe-commits mailing list