Author: hans
Date: Mon Feb 26 07:03:59 2018
New Revision: 326089
URL: http://llvm.org/viewvc/llvm-project?rev=326089=rev
Log:
Re-commit r324991 "Fix for PR32992. Static const classes not exported."
Fix for PR32992. Static const classes not exported.
Patch by zahiraam!
(This re-lands
uel...@intel.com>
Cc: cfe-commits <cfe-commits@lists.llvm.org>
Subject: Re: r324991 - Fix for PR32992. Static const classes not exported.
The problem is that your patch caused the reproducer to trigger an assert,
which it didn't do before, causing our builds to break.
Your patch seems like
oposed.
>
>
>
> Your thoughts?
>
>
>
> Thanks.
>
> -Zahira
>
>
>
>
>
> -Original Message-
> From: hwennb...@google.com [mailto:hwennb...@google.com] On Behalf Of Hans
> Wennborg
> Sent: Monday, February 19, 2018 5:11 AM
> To: cfe-comm
ans
Wennborg
Sent: Monday, February 19, 2018 5:11 AM
To: cfe-commits <cfe-commits@lists.llvm.org>; Ammarguellat, Zahira
<zahira.ammarguel...@intel.com>
Subject: Re: r324991 - Fix for PR32992. Static const classes not exported.
Reduced repro:
$ clang -cc1 -triple i386-pc-windows-msvc19
Reduced repro:
$ clang -cc1 -triple i386-pc-windows-msvc19.11.0 -emit-pch
-fms-extensions -fms-compatibility -fms-compatibility-version=19.11
-std=c++14 -fdelayed-template-parsing -x c++-header a.ii -o /dev/null
a.ii:
namespace a {
enum b { c };
}
template class d { static constexpr a::b e =
I ended up having to revert this in r325133 as it broke the Chromium
build. Please see
https://bugs.chromium.org/p/chromium/issues/detail?id=812231#c1 for a
reproducer.
On Tue, Feb 13, 2018 at 10:19 AM, Hans Wennborg via cfe-commits
wrote:
> Author: hans
> Date: Tue
Author: hans
Date: Wed Feb 14 07:19:46 2018
New Revision: 325133
URL: http://llvm.org/viewvc/llvm-project?rev=325133=rev
Log:
Revert r324991 "Fix for PR32992. Static const classes not exported."
This broke the Chromium build on Windows; see https://crbug.com/812231
> Fix for PR
Author: hans
Date: Tue Feb 13 01:19:43 2018
New Revision: 324991
URL: http://llvm.org/viewvc/llvm-project?rev=324991=rev
Log:
Fix for PR32992. Static const classes not exported.
Patch by zahiraam!
Differential Revision: https://reviews.llvm.org/D42968
Modified: