Unbreak C++03 build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191039 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2013-09-19 21:30:00 +00:00
parent b1ccfb3a54
commit 03fadd7f14

View File

@ -829,10 +829,12 @@ struct PubIndexEntryDescriptor {
return Kind << KIND_OFFSET | Static << STATIC_OFFSET;
}
private:
const uint8_t KIND_OFFSET = 4;
const uint8_t KIND_MASK = 7 << KIND_OFFSET;
const uint8_t STATIC_OFFSET = 7;
const uint8_t STATIC_MASK = 1 << STATIC_OFFSET;
enum {
KIND_OFFSET = 4,
KIND_MASK = 7 << KIND_OFFSET,
STATIC_OFFSET = 7,
STATIC_MASK = 1 << STATIC_OFFSET
};
};
} // End of namespace dwarf