From 6f24f599e229f7f767abd7226a9bb21da4bbed31 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Sun, 22 May 2016 18:18:41 +0000 Subject: [PATCH] [driver][mips] clang-format the code. NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270374 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/ToolChains.cpp | 54 +++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index cf50d860eb..79290219c7 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -2115,21 +2115,21 @@ static bool findMIPSMultilibs(const Driver &D, const llvm::Triple &TargetTriple, .flag("+msoft-float") .flag("-mmicromips"); auto BeMicroHard = makeMultilib("/micromips-r6-hard") - .flag("+EB") - .flag("-msoft-float") - .flag("+mmicromips"); + .flag("+EB") + .flag("-msoft-float") + .flag("+mmicromips"); auto BeMicroSoft = makeMultilib("/micromips-r6-soft") - .flag("+EB") - .flag("+msoft-float") - .flag("+mmicromips"); + .flag("+EB") + .flag("+msoft-float") + .flag("+mmicromips"); auto ElMicroHard = makeMultilib("/micromipsel-r6-hard") - .flag("+EL") - .flag("-msoft-float") - .flag("+mmicromips"); + .flag("+EL") + .flag("-msoft-float") + .flag("+mmicromips"); auto ElMicroSoft = makeMultilib("/micromipsel-r6-soft") - .flag("+EL") - .flag("+msoft-float") - .flag("+mmicromips"); + .flag("+EL") + .flag("+msoft-float") + .flag("+mmicromips"); auto O32 = makeMultilib("/lib").osSuffix("").flag("-mabi=n32").flag("-mabi=n64"); @@ -2138,21 +2138,21 @@ static bool findMIPSMultilibs(const Driver &D, const llvm::Triple &TargetTriple, auto N64 = makeMultilib("/lib64").osSuffix("").flag("-mabi=n32").flag("+mabi=n64"); - ImgMultilibsV2 = MultilibSet() - .Either({BeHard, BeSoft, ElHard, ElSoft, BeMicroHard, - BeMicroSoft, ElMicroHard, ElMicroSoft}) - .Either(O32, N32, N64) - .FilterOut(NonExistent) - .setIncludeDirsCallback([](const Multilib &M) { - return std::vector( - {"/../../../../sysroot" + M.includeSuffix() + - "/../usr/include"}); - }) - .setFilePathsCallback([](const Multilib &M) { - return std::vector( - {"/../../../../mips-img-linux-gnu/lib" + - M.gccSuffix()}); - }); + ImgMultilibsV2 = + MultilibSet() + .Either({BeHard, BeSoft, ElHard, ElSoft, BeMicroHard, BeMicroSoft, + ElMicroHard, ElMicroSoft}) + .Either(O32, N32, N64) + .FilterOut(NonExistent) + .setIncludeDirsCallback([](const Multilib &M) { + return std::vector({"/../../../../sysroot" + + M.includeSuffix() + + "/../usr/include"}); + }) + .setFilePathsCallback([](const Multilib &M) { + return std::vector( + {"/../../../../mips-img-linux-gnu/lib" + M.gccSuffix()}); + }); } StringRef CPUName; -- 2.40.0