yvvan added a comment.

In https://reviews.llvm.org/D33644#793573, @klimek wrote:

> In https://reviews.llvm.org/D33644#783903, @yvvan wrote:
>
> > Do not evaluate numbers.
> >  Check for != "=" is needed not to mess with invalid default arguments or 
> > their types (without it I get "const Bar& bar = =" when Bar is not defined)
>
>
> Shouldn't we than instead check that error case?


I don't know the proper way to do that :) I also don't know the full amount of 
errors that might cause such behavior.
You can suggest the solution if you have some idea. Current one is safe because 
we just ignore any case that causes empty default string.


https://reviews.llvm.org/D33644



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

Reply via email to