[CodeCompletion] Avoid suggesting duplicated module names

in global completion result. Overly modules have the same name as the
shadowed modules. We should not list both names because they are
identical.

Maintain a set of seen module names to avoid suggesting duplicated
names.

rdar://problem/63370253
This commit is contained in:
Rintaro Ishizaki
2020-05-19 11:28:40 -07:00
parent ed17e9d281
commit af27e8f183
6 changed files with 78 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
framework module OverlayTest {
umbrella header "OverlayTest.h"
export *
module * { export * }
}