summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGValue.h')
-rw-r--r--clang/lib/CodeGen/CGValue.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/clang/lib/CodeGen/CGValue.h b/clang/lib/CodeGen/CGValue.h
index 465ea769137..91fb714315f 100644
--- a/clang/lib/CodeGen/CGValue.h
+++ b/clang/lib/CodeGen/CGValue.h
@@ -154,9 +154,6 @@ class LValue {
// Lvalue is a global reference of an objective-c object
bool GlobalObjCRef : 1;
- /// Is the bit-field value signed.
- bool BitFieldIsSigned : 1;
-
Expr *BaseIvarExp;
private:
void SetQualifiers(Qualifiers Quals) {
@@ -231,10 +228,6 @@ public:
assert(isBitField());
return *BitFieldInfo;
}
- bool isBitFieldSigned() const {
- assert(isBitField());
- return BitFieldIsSigned;
- }
// property ref lvalue
const ObjCPropertyRefExpr *getPropertyRefExpr() const {
@@ -277,12 +270,11 @@ public:
}
static LValue MakeBitfield(llvm::Value *V, const CGBitFieldInfo &Info,
- bool IsSigned, unsigned CVR) {
+ unsigned CVR) {
LValue R;
R.LVType = BitField;
R.V = V;
R.BitFieldInfo = &Info;
- R.BitFieldIsSigned = IsSigned;
R.SetQualifiers(Qualifiers::fromCVRMask(CVR));
return R;
}
OpenPOWER on IntegriCloud