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 1601879f5d690595889a5537c0049b62df4657c7
f1f0975a05d1fe9dc9c1544888939a4a7f4e7633 --extensions cpp,h --
clang/include/clang/Sema/Sema.h clang/lib/Sema/SemaARM.cpp
clang/lib/Sema/SemaCast.cpp clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/SemaDeclCXX.cpp clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaExprCXX.cpp clang/lib/Sema/SemaInit.cpp
clang/lib/Sema/SemaOpenMP.cpp clang/lib/Sema/SemaOverload.cpp
clang/lib/Sema/SemaPseudoObject.cpp clang/lib/Sema/SemaStmt.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp
index e5b5c0fd11..789dc0d850 100644
--- a/clang/lib/Sema/SemaOpenMP.cpp
+++ b/clang/lib/Sema/SemaOpenMP.cpp
@@ -8822,8 +8822,9 @@ Expr *OpenMPIterationSpaceChecker::buildNumIterations(
NewSize, Type->hasSignedIntegerRepresentation() ||
C.getTypeSize(Type) < NewSize);
if (!SemaRef.Context.hasSameType(Diff.get()->getType(), NewType)) {
- Diff = SemaRef.PerformImplicitConversion(
- Diff.get(), NewType, AssignmentAction::Converting,
/*AllowExplicit=*/true);
+ Diff = SemaRef.PerformImplicitConversion(Diff.get(), NewType,
+ AssignmentAction::Converting,
+ /*AllowExplicit=*/true);
if (!Diff.isUsable())
return nullptr;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/106453
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits