[cfe-dev] Need info
Gousemoodhin Nadaf via cfe-dev
cfe-dev at lists.llvm.org
Wed Jul 15 09:28:22 PDT 2020
Thank you for the clarification.
On Wed, Jul 15, 2020 at 7:10 AM Aaron Ballman <aaron at aaronballman.com>
wrote:
> On Tue, Jul 14, 2020 at 11:27 PM Gousemoodhin Nadaf via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
> >
> > Hello Team,
> > Does anyone know? what is the meaning of ExplicitExpr.isUsable() at
> ParseDecl.cpp:3583 (
> https://clang.llvm.org/doxygen/ParseDecl_8cpp_source.html )
>
> That bit of code is ensuring that the expression in an explicit
> specifier (a new C++20 feature) is valid before semantic analysis of
> the specifier's expression. e.g.,:
>
> struct S {
> explicit(a) S();
> };
>
> ~Aaron
>
> >
> > Regards,
> > Nadaf.
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200715/8906c5a9/attachment.html>
More information about the cfe-dev
mailing list