From fcb3fa13c4aa8971fb8ac209971f9dbe3f77a0b3 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 23 Apr 2014 16:01:44 +0000 Subject: [PATCH] QueryParser::doParse(): Fix msc17 build. Don't use initializer list. llvm-svn: 206998 --- clang-tools-extra/clang-query/QueryParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clang-query/QueryParser.cpp b/clang-tools-extra/clang-query/QueryParser.cpp index fb0f105f783c..9d5e2b18b06a 100644 --- a/clang-tools-extra/clang-query/QueryParser.cpp +++ b/clang-tools-extra/clang-query/QueryParser.cpp @@ -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: