Skip to content

Commit

Permalink
QueryParser::doParse(): Fix msc17 build. Don't use initializer list.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@206998 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Apr 23, 2014
1 parent 045c15b commit 6b67ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-query/QueryParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ QueryRef QueryParser::doParse() {
if (Name.empty())
return new InvalidQuery("expected variable name");

return endQuery(new LetQuery(Name, {}));
return endQuery(new LetQuery(Name, VariantValue()));
}

case PQK_Invalid:
Expand Down

0 comments on commit 6b67ba6

Please sign in to comment.