diff options
author | Reid Kleckner <rnk@google.com> | 2017-06-23 22:39:01 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-06-23 22:39:01 +0000 |
commit | 33d501f7d13c5d321ad3fce99b8e1c91becde075 (patch) | |
tree | 25f010a482fe63aa4bf93d2a3fa291f2466c7dad /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 53dbfb3798e8981634d80fcb4be99656d5483428 (diff) | |
download | bcm5719-llvm-33d501f7d13c5d321ad3fce99b8e1c91becde075.tar.gz bcm5719-llvm-33d501f7d13c5d321ad3fce99b8e1c91becde075.zip |
Revert "[MS] Don't statically initialize dllimport member function pointers"
This reverts commit r306137. It has problems on code like this:
struct __declspec(dllimport) Foo {
int a;
int get_a() { return a; }
};
template <int (Foo::*Getter)()> struct HasValue {
int operator()(Foo *p) { return (p->*Getter)(); }
};
int main() {
Foo f;
f.a = 3;
int x = HasValue<&Foo::get_a>()(&f);
}
llvm-svn: 306175
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions