зеркало из https://github.com/microsoft/clang-1.git
Added removeBitWidth method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
2673c68aa5
Коммит
386b0075d0
|
@ -2039,6 +2039,11 @@ public:
|
|||
InitializerOrBitWidth.setPointer(BW);
|
||||
InitializerOrBitWidth.setInt(1);
|
||||
}
|
||||
/// removeBitWidth - Remove the bitfield width from this member.
|
||||
void removeBitWidth() {
|
||||
assert(isBitField() && "no bit width to remove");
|
||||
InitializerOrBitWidth.setPointer(0);
|
||||
}
|
||||
|
||||
/// hasInClassInitializer - Determine whether this member has a C++0x in-class
|
||||
/// initializer.
|
||||
|
|
Загрузка…
Ссылка в новой задаче