Skip to content

Commit 8ec634e

Browse files
committed
[ASTVerifier] NFC: Remove verifyBound
This isn't used for anything.
1 parent 88af7bf commit 8ec634e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/AST/ASTVerifier.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,6 @@ class Verifier : public ASTWalker {
419419
// Always verify the node as a parsed node.
420420
verifyParsed(node);
421421

422-
// If we've bound names already, verify as a bound node.
423-
if (!SF || SF->ASTStage >= SourceFile::NameBound)
424-
verifyBound(node);
425-
426422
// If we've checked types already, do some extra verification.
427423
if (!SF || SF->ASTStage >= SourceFile::TypeChecked) {
428424
verifyCheckedAlways(node);
@@ -523,11 +519,6 @@ class Verifier : public ASTWalker {
523519
verifyParsed(cast<typename ASTNodeBase<T>::BaseTy>(ASTNode));
524520
}
525521

526-
void verifyBound(Expr *E) {}
527-
void verifyBound(Stmt *S) {}
528-
void verifyBound(Pattern *P) {}
529-
void verifyBound(Decl *D) {}
530-
531522
/// @{
532523
/// These verification functions are always run on type checked ASTs
533524
/// (even if there were errors).

0 commit comments

Comments
 (0)