From e4731a4e4ee989558602bbe66842b8edbbfe1f2a Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 19 Jul 2015 19:42:13 -0700 Subject: [PATCH] Storage::GetEntryInfo: Actually filter on types. --- src/Storage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Storage.cpp b/src/Storage.cpp index 2793562a72..33d3b2054c 100644 --- a/src/Storage.cpp +++ b/src/Storage.cpp @@ -113,6 +113,7 @@ std::vector Storage::GetEntryInfo(StringRef prefix, auto entry = i.getValue(); auto value = entry->value(); if (!value) continue; + if (types != 0 && (types & value->type()) == 0) continue; EntryInfo info; info.name = i.getKey(); info.type = value->type();