Rename some X-Value-related entities

* Rename coerceToMaterializableValue to coerceToRValue

* Rename isLValueType to hasLValueType to better match the
intended semantics of the member.
This commit is contained in:
Robert Widmann
2017-06-14 11:01:35 -07:00
parent 3af359cb44
commit abd5aa8e6d
22 changed files with 52 additions and 59 deletions

View File

@@ -861,7 +861,7 @@ public:
ReferencedDecls.emplace_back(VD, Ty);
} else {
// LValue type should take precedence.
if (!It->Ty->isLValueType() && Ty->isLValueType()) {
if (!It->Ty->hasLValueType() && Ty->hasLValueType()) {
It->Ty = Ty;
}
}