mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1535651. Whitelist std::__pair_base as memmovable for static analysis purposes. r=emilio
In at least some libstdc++ versions, std::pair (which we want to be memmovable) inherits from __pair_base. We have a similar setup already for __atomic_base. Differential Revision: https://phabricator.services.mozilla.com/D23698 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
6ea18465bb
commit
135d0b832e
@ -27,6 +27,7 @@ protected:
|
||||
if (Name == "pair" || Name == "atomic" ||
|
||||
// libstdc++ specific names
|
||||
Name == "__atomic_base" || Name == "atomic_bool" ||
|
||||
Name == "__pair_base" ||
|
||||
// MSVCRT specific names
|
||||
Name == "_Atomic_impl" || Name == "_Atomic_base" ||
|
||||
Name == "_Atomic_bool" || Name == "_Atomic_char" ||
|
||||
|
Loading…
Reference in New Issue
Block a user