[llvm-bugs] [Bug 25384] New: Need an MSVC mangling for _Atomic qualifiers
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Nov 2 13:23:34 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25384
Bug ID: 25384
Summary: Need an MSVC mangling for _Atomic qualifiers
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: rnk at google.com
CC: david.majnemer at gmail.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
Boost contains this code in boost/smart_ptr/detail/sp_counted_base_clang.hpp:
typedef _Atomic( boost::int_least32_t ) atomic_int_least32_t;
inline void atomic_increment( atomic_int_least32_t * pw )
{
__c11_atomic_fetch_add( pw, 1, __ATOMIC_RELAXED );
}
In theory boost could be changed to use std::atomic, but it'd be nice if C11
_Atomic just worked in clang-cl.
In general, we need a strategy for mangling things that MSVC doesn't know
about, like blocks.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151102/26725b26/attachment.html>
More information about the llvm-bugs
mailing list