mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user