diff options
| author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2019-11-26 13:13:47 -0500 |
|---|---|---|
| committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2019-11-26 21:43:29 -0500 |
| commit | ded249049429a26d3748926c04bd7169f0170714 (patch) | |
| tree | 594f6b7e702ab02b2d360ad662bae81c94c8ff6b /clang/lib/Driver/Tool.cpp | |
| parent | 350565dbc06d32096ae3ade7bc3d2e58ac654273 (diff) | |
| download | bcm5719-llvm-ded249049429a26d3748926c04bd7169f0170714.tar.gz bcm5719-llvm-ded249049429a26d3748926c04bd7169f0170714.zip | |
Workaround for EvalInfo ctor for MSVC 2017
Current EvalInfo ctor causes EnableNewConstInterp to be true even though
it is supposed to be false on MSVC 2017. This is because a virtual function
getLangOpts() is called in member initializer lists, whereas on MSVC
member ctors are called before function virtual function pointers are
initialized.
This patch fixes that.
Differential Revision: https://reviews.llvm.org/D70729
Diffstat (limited to 'clang/lib/Driver/Tool.cpp')
0 files changed, 0 insertions, 0 deletions

