Sema: Fold TypeAliasDecl::computeType() into validateDecl()

This commit is contained in:
Slava Pestov
2019-10-10 02:12:21 -04:00
parent 797a7974bc
commit 6974448b1e
8 changed files with 13 additions and 35 deletions

View File

@@ -2985,9 +2985,6 @@ public:
/// Retrieve a sugared interface type containing the structure of the interface
/// type before any semantic validation has occured.
Type getStructuralType() const;
/// Set the interface type of this typealias declaration from the underlying type.
void computeType();
bool isCompatibilityAlias() const {
return Bits.TypeAliasDecl.IsCompatibilityAlias;