mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Code completion: don't show internal SIL attributes in types of weak and
unowned variables rdar://16849171 Swift SVN r18357
This commit is contained in:
@@ -1050,6 +1050,7 @@ public:
|
||||
}
|
||||
|
||||
void addTypeAnnotation(CodeCompletionResultBuilder &Builder, Type T) {
|
||||
T = T->getReferenceStorageReferent();
|
||||
if (T->isVoid())
|
||||
Builder.addTypeAnnotation("Void");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user