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 5cd45e442e99f8e01127f37548b124fa0e70f96a 
1bfc1e048d10e57c3d07038f52b072163f3b4ff9 -- 
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 b6c01da7d9..92b7a5b0c7 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -794,9 +794,7 @@ public:
     return HasDot10Insts;
   }
 
-  bool hasDot11Insts() const {
-    return HasDot11Insts;
-  }
+  bool hasDot11Insts() const { return HasDot11Insts; }
 
   bool hasMAIInsts() const {
     return HasMAIInsts;

``````````

</details>


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

Reply via email to