[CodeCompletion] Stub in value/literal suggestions

For now just move the existing true/false/nil completions. No
type-relations yet.

For rdar://problem/21923069

Swift SVN r32887
This commit is contained in:
Ben Langmuir
2015-10-26 20:41:53 +00:00
parent 9c3126cfeb
commit 58bd3e734d
4 changed files with 39 additions and 12 deletions

View File

@@ -90,7 +90,7 @@ typealias FooTypealias = Int
// COMMON-DAG: Decl[GlobalVar]/CurrModule: fooObject[#FooStruct#]{{; name=.+$}}
// COMMON-DAG: Keyword/None: true[#Bool#]{{; name=.+$}}
// COMMON-DAG: Keyword/None: false[#Bool#]{{; name=.+$}}
// COMMON-DAG: Keyword/CurrModule: nil{{; name=.+$}}
// COMMON-DAG: Keyword/None: nil{{; name=.+$}}
// COMMON-DAG: Decl[Struct]/OtherModule[Swift]: Int8[#Int8#]{{; name=.+$}}
// COMMON-DAG: Decl[Struct]/OtherModule[Swift]: Int16[#Int16#]{{; name=.+$}}
// COMMON-DAG: Decl[Struct]/OtherModule[Swift]: Int32[#Int32#]{{; name=.+$}}