File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 37
37
#define DEBUG_TYPE " namelookup"
38
38
39
39
using namespace swift ;
40
+ using namespace swift ::namelookup;
40
41
41
42
void VisibleDeclConsumer::anchor () {}
42
43
void VectorDeclConsumer::anchor () {}
@@ -2695,9 +2696,6 @@ swift::getDirectlyInheritedNominalTypeDecls(
2695
2696
return result;
2696
2697
}
2697
2698
2698
- namespace swift {
2699
- namespace namelookup {
2700
-
2701
2699
void FindLocalVal::checkPattern (const Pattern *Pat, DeclVisibilityKind Reason) {
2702
2700
switch (Pat->getKind ()) {
2703
2701
case PatternKind::Tuple:
@@ -2885,6 +2883,3 @@ void FindLocalVal::visitCatchStmt(CatchStmt *S) {
2885
2883
checkPattern (S->getErrorPattern (), DeclVisibilityKind::LocalVariable);
2886
2884
visit (S->getBody ());
2887
2885
}
2888
-
2889
- } // end namespace namelookup
2890
- } // end namespace swift
You can’t perform that action at this time.
0 commit comments