Tsche wrote:
Theoretically this could visit `SubstNonTypeTemplateParmExpr` instead to _only_
see through constant template arguments.
However, I think it's clearer if we try printing enumerators for expressions
such as `(SomeEnum)0` iff we have an enumerator with that value. This could be
extended to also cover expressions such as `(SomeEnum)(0)`, `SomeEnum(0)` and
`SomeEnum{0}` - please advise whether that's desirable.
https://github.com/llvm/llvm-project/pull/204682
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits