[lldb] Remove SetCount/ClearCount from Flags
authorRaphael Isemann <teemperor@gmail.com>
Mon, 16 Sep 2019 18:02:49 +0000 (18:02 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 16 Sep 2019 18:02:49 +0000 (18:02 +0000)
commit0d8a008611fa03e9eeacfd8cfe6be3e4f56ff2b9
tree6fc5f5e63a3c8eae728c46873c04a9785d7e8d16
parent21641a2f6dbac22653befd03496e0850537882ff
[lldb] Remove SetCount/ClearCount from Flags

Summary:
These functions are only used in tests where we should test the actual flag values instead of counting all bits for an approximate check.
Also these popcount implementation aren't very efficient and doesn't seem to be optimised to anything fast.

Reviewers: davide, JDevlieghere

Reviewed By: davide, JDevlieghere

Subscribers: abidh, JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D67540

llvm-svn: 372018
lldb/include/lldb/Utility/Flags.h
lldb/unittests/Utility/FlagsTest.cpp