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

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 06:48:35 PDT 2019


Bisection for https://bugs.llvm.org/show_bug.cgi?id=42861 also points
to this revision.

On Wed, Jun 12, 2019 at 1:49 AM Richard Smith via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> 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
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


More information about the cfe-commits mailing list