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 cpp -- 
clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp 
mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp 
b/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
index fa684942f..b8cf14253 100644
--- a/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
+++ b/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
@@ -2699,8 +2699,8 @@ void acc::DataOp::addAsyncOperand(
       getAsyncOperandsMutable()));
 }
 
-void acc::DataOp::addWaitOnly(
-    MLIRContext *context, llvm::ArrayRef<DeviceType> effectiveDeviceTypes) {
+void acc::DataOp::addWaitOnly(MLIRContext *context,
+                              llvm::ArrayRef<DeviceType> effectiveDeviceTypes) 
{
   setWaitOnlyAttr(addDeviceTypeAffectedOperandHelper(context, 
getWaitOnlyAttr(),
                                                      effectiveDeviceTypes));
 }

``````````

</details>


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

Reply via email to