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 75056a46ee4d7eb6543c2ce99a157a1627a54158 
f221f63e40154aaf7f97acc3e48a8b7ba5659f8d --extensions cpp,h -- 
llvm/lib/Target/AMDGPU/GCNSubtarget.h llvm/lib/TargetParser/TargetParser.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AMDGPU/GCNSubtarget.h 
b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
index 7e994b8442..03ca7375ad 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -826,9 +826,7 @@ public:
     return HasDot11Insts;
   }
 
-  bool hasDot12Insts() const {
-    return HasDot12Insts;
-  }
+  bool hasDot12Insts() const { return HasDot12Insts; }
 
   bool hasMAIInsts() const {
     return HasMAIInsts;

``````````

</details>


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

Reply via email to