github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. 
:warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions c,cpp -- 
clang/lib/CodeGen/Targets/SPIR.cpp clang/test/CodeGen/logb_scalbn.c
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/CodeGen/Targets/SPIR.cpp 
b/clang/lib/CodeGen/Targets/SPIR.cpp
index ebf983c15..5918f878c 100644
--- a/clang/lib/CodeGen/Targets/SPIR.cpp
+++ b/clang/lib/CodeGen/Targets/SPIR.cpp
@@ -76,8 +76,8 @@ public:
                                          llvm::AtomicOrdering Ordering,
                                          llvm::LLVMContext &Ctx) const 
override;
   bool supportsLibCall() const override {
-    return
-        getABIInfo().getTarget().getTriple().getVendor() != llvm::Triple::AMD;
+    return getABIInfo().getTarget().getTriple().getVendor() !=
+           llvm::Triple::AMD;
   }
 };
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/143814
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to