[PATCH] D11797: [LIbClang] Report the named type for ElaboratedType

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 7 07:55:11 PDT 2015


klimek added a comment.

Ok, so looking over the new patch:
It seems like attributed types and decayed types are somewhat different from elaborated types:

- decayed types don't lose any information if we look through to the original type
- attributed types lose only information that can be considered an implementation detail
- losing the nested name specifiers a user wrote can be considered part of the name (the lookup will be different)

I'm happy to be convinced that this doesn't matter here, and that inconsistencies like in the changed tests (canonical type: elaborated, pointeetype: not elaborated) are benign.


http://reviews.llvm.org/D11797





More information about the cfe-commits mailing list