Fix latent bugs with ReferenceStorageType fields.

Swift SVN r6323
This commit is contained in:
John McCall
2013-07-17 09:20:24 +00:00
parent 7b86817b3c
commit 5db410b29f
4 changed files with 38 additions and 24 deletions

View File

@@ -889,6 +889,10 @@ public:
Ty = T;
}
/// getTypeOfRValue - Returns the type would arise from an r-value
/// reference to this declaration.
Type getTypeOfRValue() const;
/// getTypeOfReference - Returns the type that would arise from a
/// normal reference to this declaration. For isReferencedAsLValue()'d decls,
/// this returns a reference to the value's type. For non-lvalue decls, this