mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 02:42:58 +00:00
LowerBitSets: Move declarations to separate namespace.
Should fix modules build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4643f6392
commit
302882987a
@ -31,6 +31,8 @@ class GlobalObject;
|
||||
class Value;
|
||||
class raw_ostream;
|
||||
|
||||
namespace lowerbitsets {
|
||||
|
||||
struct BitSetInfo {
|
||||
// The indices of the set bits in the bitset.
|
||||
std::set<uint64_t> Bits;
|
||||
@ -197,6 +199,7 @@ struct ByteArrayBuilder {
|
||||
uint64_t &AllocByteOffset, uint8_t &AllocMask);
|
||||
};
|
||||
|
||||
} // end namespace lowerbitsets
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_TRANSFORMS_IPO_LOWERBITSETS_H
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
|
||||
|
||||
using namespace llvm;
|
||||
using namespace lowerbitsets;
|
||||
|
||||
#define DEBUG_TYPE "lowerbitsets"
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
using namespace llvm;
|
||||
using namespace lowerbitsets;
|
||||
|
||||
TEST(LowerBitSets, BitSetBuilder) {
|
||||
struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user