r363086 - For DR712: store on a DeclRefExpr whether it constitutes an odr-use.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 11 16:48:47 PDT 2019


Thanks, should be fixed by r363113.

On Tue, 11 Jun 2019 at 16:21, Reid Kleckner via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

>
> The new assert is firing across Chromium, please fix or revert. This is a
> reduced test case:
>
> int a;
> struct Foo {
>   template <typename b, typename c = decltype(a)> void operator()(b, c =
> a);
> };
> Foo d;
> bool e;
> decltype(d(e)) gv;
>
> This causes the "missing non-odr-use marking for unevaluated decl ref"
> assertion on SemaExpr.cpp:16227 to fire.
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190611/706b6de8/attachment.html>


More information about the cfe-commits mailing list