summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Katzman <dougk@google.com>2015-09-17 20:25:09 +0000
committerDouglas Katzman <dougk@google.com>2015-09-17 20:25:09 +0000
commite793f198310bb71b2ae61a7f3c6f20dcac1da273 (patch)
tree87a9c9ea405ea479b4e7229aa9e1be8faa81b3f4
parentea09288ee7728917283573b206fae53e6a3347e8 (diff)
downloadbcm5719-llvm-e793f198310bb71b2ae61a7f3c6f20dcac1da273.tar.gz
bcm5719-llvm-e793f198310bb71b2ae61a7f3c6f20dcac1da273.zip
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. llvm-svn: 247932
-rw-r--r--clang/lib/Driver/ToolChains.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h
index c3d729cb1c1..3a10ca76336 100644
--- a/clang/lib/Driver/ToolChains.h
+++ b/clang/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<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; }
OpenPOWER on IntegriCloud