[clang] [AST] Only dump desugared type when visibly different (PR #65214)

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 3 14:56:23 PDT 2023


jrtc27 wrote:

> > These are an artifact of how types are structured but serve little
> > purpose, merely showing that the type is sugared in some way. For
> > example, ElaboratedType's existence means struct S gets printed as
> > 'struct S':'struct S' in the AST, which is unnecessary visual clutter.
> > Note that skipping the second print when the types have the same string
> > matches what we do for diagnostics, where the aka will be skipped.
> 
> There seems to be some words missing on the last line of the commit message / description.

I don't think so? What's there is what I intended to write.

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


More information about the cfe-commits mailing list