[PATCH] Fix MIPS toolchain selection heuristics in case of reduced toolchain directories tree

David Majnemer david.majnemer at gmail.com
Mon Mar 3 21:05:48 PST 2014



================
Comment at: lib/Driver/ToolChains.cpp:1839
@@ +1838,3 @@
+  // Then select the first toolchains matches command line flags.
+  std::array<MultilibSet *, 3> candidates = {
+    { &DebianMipsMultilibs, &FSFMipsMultilibs, &CSMipsMultilibs }
----------------
You should be able to get away with using a normal array instead of the std::array class template, this way you don't need to mention the array bound.


http://llvm-reviews.chandlerc.com/D2911



More information about the cfe-commits mailing list