erichkeane added a comment.

In D141826#4059073 <https://reviews.llvm.org/D141826#4059073>, @Michael137 
wrote:

> In D141826#4058866 <https://reviews.llvm.org/D141826#4058866>, @erichkeane 
> wrote:
>
>> This seems innocuous enough/easy enough to use.  I'd like a comment on the 
>> functions at least and types in TemplateBase.h to specify that this is for 
>> printing-policy only?  Alternatively (and perhaps MUCH more appreciated) 
>> would be to make sure we mark the defaulted during AST generation as well.
>
> I'll have a look at doing that
>
> Are you suggesting we do the substitution check that the TypePrinter 
> currently does when constructing the specialisation decls? So the TypePrinter 
> simply needs to check the `TemplateArgument::getIsDefaulted`? I like the 
> sound of that.
>
> Unfortunately we'd still need the `setIsDefaulted` because of the DWARF 
> limitation in LLDB

Yes, thats my thought.  Of course we'd still need the 'setIsDefaulted', but at 
least it would be something that coudl be generally useful.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141826/new/

https://reviews.llvm.org/D141826

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to