aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2021-06-09 20:26:34 +0200
committerMark de Wever <koraq@xs4all.nl>2021-10-08 17:41:57 +0200
commitaac5b84d4bf7cbb84e7adc491380bf5bfcb8f61b (patch)
treee08598a2a4ff891813ef4566ad85e4744a116227 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parentb2ee408dde374d6a27a34746fd7c7b5bab97ea89 (diff)
downloadllvm-aac5b84d4bf7cbb84e7adc491380bf5bfcb8f61b.zip
llvm-aac5b84d4bf7cbb84e7adc491380bf5bfcb8f61b.tar.gz
llvm-aac5b84d4bf7cbb84e7adc491380bf5bfcb8f61b.tar.bz2
[libc++] Improve atomic_fetch_(add|sub).*.
While looking at the review comments in D103765 there was an oddity in the tests for the following functions: - atomic_fetch_add - atomic_fetch_add_explicit - atomic_fetch_sub - atomic_fetch_sub_explicit Libc++ allows usage of `atomic_fetch_add<int>(atomic<int*>*, atomic<int*>::difference_type);` MSVC and GCC reject this code: https://godbolt.org/z/9d8WzohbE This makes the atomic `fetch(add|sub).*` Standard conforming and removes the non-conforming extensions. Fixes PR47908 Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D103983
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions