From 1f27f6ae73fbfe7cf25c046df1ff4ef691a57fb7 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 10 Jul 2024 13:23:43 -0700 Subject: [PATCH] Fix formatting --- clang/lib/Driver/ToolChains/WebAssembly.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clang/lib/Driver/ToolChains/WebAssembly.cpp b/clang/lib/Driver/ToolChains/WebAssembly.cpp index b3f084e62bde9..9aacda5fd5702 100644 --- a/clang/lib/Driver/ToolChains/WebAssembly.cpp +++ b/clang/lib/Driver/ToolChains/WebAssembly.cpp @@ -64,9 +64,8 @@ std::string wasm::Linker::getLinkerPath(const ArgList &Args) const { static bool TargetBuildsComponents(const llvm::Triple &TargetTriple) { // WASIp2 and above are all based on components, so test for WASI but exclude // the original `wasi` target in addition to the `wasip1` name. - return TargetTriple.isOSWASI() - && TargetTriple.getOSName() != "wasip1" - && TargetTriple.getOSName() != "wasi"; + return TargetTriple.isOSWASI() && TargetTriple.getOSName() != "wasip1" && + TargetTriple.getOSName() != "wasi"; } void wasm::Linker::ConstructJob(Compilation &C, const JobAction &JA,