owenca 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`.

Now it handles the general pattern above (and also `::A1::A2:: ... An`).

https://github.com/llvm/llvm-project/pull/125327
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to