[CodeCompletion] Remove 0.0 suggestion

In practice things that are float literal convertible are also integer
literal convertible so this isn't pulling its weight.

Part of rdar://problem/23865118
This commit is contained in:
Ben Langmuir
2016-02-03 07:20:05 -08:00
parent be58b3c2e3
commit 838131dd2f
3 changed files with 2 additions and 18 deletions

View File

@@ -3102,9 +3102,6 @@ public:
addFromProto(LK::IntegerLiteral, "Int", [](Builder &builder) {
builder.addTextChunk("0");
});
addFromProto(LK::FloatLiteral, "Double", [](Builder &builder) {
builder.addTextChunk("0.0");
});
addFromProto(LK::BooleanLiteral, "Bool", [](Builder &builder) {
builder.addTextChunk("true");
}, /*isKeyword=*/true);