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 origin/main HEAD --extensions cpp,c -- 
clang/lib/Sema/SemaOpenACC.cpp 
clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-default-ops.cpp 
clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-float.cpp 
clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-inline-ops.cpp 
clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-int.cpp 
clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-outline-ops.cpp 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.cpp 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-float.c 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-float.cpp 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-inline-ops.cpp 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-int.c 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-int.cpp 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-outline-ops.cpp 
clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-unsigned-int.c 
clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-default-ops.cpp 
clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-float.cpp 
clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-inline-ops.cpp 
clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-int.cpp 
clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-outline-ops.cpp 
clang/test/CIR/CodeGenOpenACC/reduction-clause-recipes.cpp 
--diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaOpenACC.cpp b/clang/lib/Sema/SemaOpenACC.cpp
index d6961ae17..ee9b2b399 100644
--- a/clang/lib/Sema/SemaOpenACC.cpp
+++ b/clang/lib/Sema/SemaOpenACC.cpp
@@ -3000,7 +3000,7 @@ bool SemaOpenACC::CreateReductionCombinerRecipe(
     break;
   case OpenACCReductionOperator::And:
     BinOp = BinaryOperatorKind::BO_LAnd;
-      break;
+    break;
   case OpenACCReductionOperator::Or:
     BinOp = BinaryOperatorKind::BO_LOr;
     break;

``````````

</details>


https://github.com/llvm/llvm-project/pull/164298
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to