[clang-tools-extra] r206998 - QueryParser::doParse(): Fix msc17 build. Don't use initializer list.

NAKAMURA Takumi geek4civic at gmail.com
Wed Apr 23 09:01:45 PDT 2014


Author: chapuni
Date: Wed Apr 23 11:01:44 2014
New Revision: 206998

URL: http://llvm.org/viewvc/llvm-project?rev=206998&view=rev
Log:
QueryParser::doParse(): Fix msc17 build. Don't use initializer list.

Modified:
    clang-tools-extra/trunk/clang-query/QueryParser.cpp

Modified: clang-tools-extra/trunk/clang-query/QueryParser.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-query/QueryParser.cpp?rev=206998&r1=206997&r2=206998&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-query/QueryParser.cpp (original)
+++ clang-tools-extra/trunk/clang-query/QueryParser.cpp Wed Apr 23 11:01:44 2014
@@ -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:





More information about the cfe-commits mailing list