Unify FindLocalVal across UnqualifiedLookup and lookupVisibleDecls.

They had already diverged even before my last commit. Let's not have that
happen again!

This re-fixes code completion for bindings declared in top-level guard
statements.

More rdar://problem/21928533

Swift SVN r30525
This commit is contained in:
Jordan Rose
2015-07-23 04:42:09 +00:00
parent 95dc5b5607
commit 8a2e338e5a
6 changed files with 286 additions and 398 deletions

View File

@@ -10,6 +10,7 @@
//
//===----------------------------------------------------------------------===//
#include "NameLookupImpl.h"
#include "swift/AST/NameLookup.h"
#include "swift/AST/AST.h"
#include "swift/AST/LazyResolver.h"