[PATCH] noexcept expressions with overloaded functions

Aaron Ballman aaron at aaronballman.com
Mon Apr 27 14:52:57 PDT 2015


On Mon, Apr 27, 2015 at 5:41 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> This should call CheckPlaceholderExpr instead of just checking for the
> OverloadExpr case; there are a bunch of other kinds of expression that we
> should handle here (property exprs, bound member functions, ...).

Ooh, even better. Thank you for the suggestion; new attempt attached.

~Aaron

>
> On Mon, Apr 27, 2015 at 2:34 PM, Aaron Ballman <aaron at aaronballman.com>
> wrote:
>>
>> This patch addresses PR15842 by checking whether the operand to the
>> noexcept expression is an unevaluted lookup expression. It reuses some
>> overload logic to generate a diagnostic and potentially reasonable
>> fixit.
>>
>> ~Aaron
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noexcept_expr_v2.patch
Type: application/octet-stream
Size: 1937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150427/b5792aa9/attachment.obj>


More information about the cfe-commits mailing list