diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-06-02 22:15:12 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-06-02 22:15:12 +0000 |
| commit | 85bd1206796df79a61387d0cc8f75a289850a6c0 (patch) | |
| tree | 5a48e10ed3856fb3e79f34dd1402551820d636af /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 9c19d35fa78df605b62fc28e8b960d7999d1e07e (diff) | |
[MSVC Compatibility] Permit static_cast from void-ptr to function-ptr
The MSVC 2013 and 2015 implementation of std::atomic is specialized for
pointer types. The member functions are implemented using a static_cast
from void-ptr to function-ptr which is not allowed in the standard.
Permit this conversion if -fms-compatibility is present.
This fixes PR23733.
llvm-svn: 238877
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
