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:
Boris Zbarsky 2019-03-15 16:17:52 +00:00
parent 6ea18465bb
commit 135d0b832e

View File

@ -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" ||