mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:40:38 +00:00
LowerBitSets: Move declarations to separate namespace.
Should fix modules build. llvm-svn: 265176
This commit is contained in:
parent
347b1d5964
commit
5990eb01ac
@ -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…
Reference in New Issue
Block a user