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

Simon Atanasyan simon at atanasyan.com
Mon Mar 3 21:18:36 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 }
----------------
David Majnemer wrote:
> 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.
I seem to be stupid :)


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



More information about the cfe-commits mailing list