[cfe-commits] r111708 - /cfe/trunk/lib/CodeGen/CGValue.h
Daniel Dunbar
daniel at zuster.org
Fri Aug 20 19:31:58 PDT 2010
Author: ddunbar
Date: Fri Aug 20 21:31:58 2010
New Revision: 111708
URL: http://llvm.org/viewvc/llvm-project?rev=111708&view=rev
Log:
IRgen/LValue: Rename SetQualifiers() to Initialize().
Modified:
cfe/trunk/lib/CodeGen/CGValue.h
Modified: cfe/trunk/lib/CodeGen/CGValue.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGValue.h?rev=111708&r1=111707&r2=111708&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGValue.h (original)
+++ cfe/trunk/lib/CodeGen/CGValue.h Fri Aug 20 21:31:58 2010
@@ -154,7 +154,7 @@
Expr *BaseIvarExp;
private:
- void SetQualifiers(Qualifiers Quals) {
+ void Initialize(Qualifiers Quals) {
this->Quals = Quals;
// FIXME: Convenient place to set objc flags to 0. This should really be
@@ -247,7 +247,7 @@
LValue R;
R.LVType = Simple;
R.V = V;
- R.SetQualifiers(Quals);
+ R.Initialize(Quals);
return R;
}
@@ -257,7 +257,7 @@
R.LVType = VectorElt;
R.V = Vec;
R.VectorIdx = Idx;
- R.SetQualifiers(Qualifiers::fromCVRMask(CVR));
+ R.Initialize(Qualifiers::fromCVRMask(CVR));
return R;
}
@@ -267,7 +267,7 @@
R.LVType = ExtVectorElt;
R.V = Vec;
R.VectorElts = Elts;
- R.SetQualifiers(Qualifiers::fromCVRMask(CVR));
+ R.Initialize(Qualifiers::fromCVRMask(CVR));
return R;
}
@@ -283,7 +283,7 @@
R.LVType = BitField;
R.V = BaseValue;
R.BitFieldInfo = &Info;
- R.SetQualifiers(Qualifiers::fromCVRMask(CVR));
+ R.Initialize(Qualifiers::fromCVRMask(CVR));
return R;
}
@@ -295,7 +295,7 @@
LValue R;
R.LVType = PropertyRef;
R.PropertyRefExpr = E;
- R.SetQualifiers(Qualifiers::fromCVRMask(CVR));
+ R.Initialize(Qualifiers::fromCVRMask(CVR));
return R;
}
@@ -304,7 +304,7 @@
LValue R;
R.LVType = KVCRef;
R.KVCRefExpr = E;
- R.SetQualifiers(Qualifiers::fromCVRMask(CVR));
+ R.Initialize(Qualifiers::fromCVRMask(CVR));
return R;
}
};
More information about the cfe-commits
mailing list