]> granicus.if.org Git - clang/commitdiff
Try to unbreak windows compiler after r247926.
authorDouglas Katzman <dougk@google.com>
Thu, 17 Sep 2015 20:25:09 +0000 (20:25 +0000)
committerDouglas Katzman <dougk@google.com>
Thu, 17 Sep 2015 20:25:09 +0000 (20:25 +0000)
It might not like {} implicitly cast to an Arrayref.
That's the theory, since I can't test it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247932 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.h

index c3d729cb1c1990e6db840b5be254653d088a62bb..3a10ca76336946f2db7409b81f8051a750b8bc69 100644 (file)
@@ -102,7 +102,8 @@ public:
     GCCInstallationDetector() : IsValid(false) {}
     void init(const Driver &D, const llvm::Triple &TargetTriple,
               const llvm::opt::ArgList &Args,
-              const ArrayRef<std::string> ExtraTripleAliases = {});
+              const ArrayRef<std::string> ExtraTripleAliases =
+                  ArrayRef<std::string>());
 
     /// \brief Check whether we detected a valid GCC install.
     bool isValid() const { return IsValid; }