Skip to content

Commit d54bbc6

Browse files
committed
[Gardening] Remove TypeChecker::validateType Entrypoint
1 parent 552134a commit d54bbc6

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lib/Sema/TypeChecker.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -358,20 +358,6 @@ Type getUInt8Type(ASTContext &ctx);
358358
/// for the lookup.
359359
Expr *resolveDeclRefExpr(UnresolvedDeclRefExpr *UDRE, DeclContext *Context);
360360

361-
/// Validate the given type.
362-
///
363-
/// Type validation performs name lookup, checking of generic arguments,
364-
/// and so on to determine whether the given type is well-formed and can
365-
/// be used as a type.
366-
///
367-
/// \param Loc The type (with source location information) to validate.
368-
/// If the type has already been validated, returns immediately.
369-
///
370-
/// \param resolution The type resolution being performed.
371-
///
372-
/// \returns true if type validation failed, or false otherwise.
373-
bool validateType(TypeLoc &Loc, TypeResolution resolution);
374-
375361
/// Check for unsupported protocol types in the given declaration.
376362
void checkUnsupportedProtocolType(Decl *decl);
377363

0 commit comments

Comments
 (0)