r247932 - Try to unbreak windows compiler after r247926.

Douglas Katzman via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 13:25:09 PDT 2015


Author: dougk
Date: Thu Sep 17 15:25:09 2015
New Revision: 247932

URL: http://llvm.org/viewvc/llvm-project?rev=247932&view=rev
Log:
Try to unbreak windows compiler after r247926.

It might not like {} implicitly cast to an Arrayref.
That's the theory, since I can't test it.

Modified:
    cfe/trunk/lib/Driver/ToolChains.h

Modified: cfe/trunk/lib/Driver/ToolChains.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.h?rev=247932&r1=247931&r2=247932&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.h (original)
+++ cfe/trunk/lib/Driver/ToolChains.h Thu Sep 17 15:25:09 2015
@@ -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; }




More information about the cfe-commits mailing list