Bug 1574565 - Whitelist __cxx_atomic for memmove static analysis r=Ehsan

In some libstdc++ these appear in the inheritance hierarchy of __atomic_base, which is already whitelisted.

Differential Revision: https://phabricator.services.mozilla.com/D42348

--HG--
extra : moz-landing-system : lando
This commit is contained in:
David Major 2019-08-16 23:01:03 +00:00
parent 308996b4e3
commit 0db5cad5ae

View File

@ -27,6 +27,7 @@ protected:
if (Name == "pair" || Name == "atomic" ||
// libstdc++ specific names
Name == "__atomic_base" || Name == "atomic_bool" ||
Name == "__cxx_atomic_impl" || Name == "__cxx_atomic_base_impl" ||
Name == "__pair_base" ||
// MSVCRT specific names
Name == "_Atomic_impl" || Name == "_Atomic_base" ||