[clang] [Clang] Add NormalizedConstraint::dump() (PR #210498)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 20 07:26:24 PDT 2026


erichkeane wrote:

> This is great, thanks for working on this! It isn't clear to me exactly what this looks like though... could you post a few examples? I don't see anything in particular I'm concerned about, but its also hard to figure out what is going on without examples.

Well... what can I say, I guess I just missed the description :D 

>Since this is mainly for debugging purpose, we don't promise any text stability and hence no tests provided

We still do 'dump' tests as a sanity check, so it'd be nice to have one somewhere that does this.  We often catch bizarre bugs with it.

As far as the format itself, there are a couple that are mildly awkward (an extra space after `T()` and before the comma in atomic constraint), but nothing I'm really concerned about.  

I'm happy when Corentin is.

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


More information about the cfe-commits mailing list