From: Douglas Katzman Date: Thu, 17 Sep 2015 20:25:09 +0000 (+0000) Subject: Try to unbreak windows compiler after r247926. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82f326262978cd2db1471305dc9ef7dfad0b0880;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247932 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h index c3d729cb1c..3a10ca7633 100644 --- a/lib/Driver/ToolChains.h +++ b/lib/Driver/ToolChains.h @@ -102,7 +102,8 @@ public: GCCInstallationDetector() : IsValid(false) {} void init(const Driver &D, const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args, - const ArrayRef ExtraTripleAliases = {}); + const ArrayRef ExtraTripleAliases = + ArrayRef()); /// \brief Check whether we detected a valid GCC install. bool isValid() const { return IsValid; }