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 a05724a1f84853fc655950c36453f200fba8af75 
3e6440c8faf5a15dc9fe8e0bcbe9c45533373c17 --extensions c,cpp -- 
clang/lib/AST/ExprConstant.cpp clang/test/Sema/atomic-ops.c
``````````

</details>

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

``````````diff
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index 5cef336b73..f3a185ef96 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -12965,7 +12965,8 @@ bool IntExprEvaluator::VisitBuiltinCallExpr(const 
CallExpr *E,
 
         // Otherwise, check if the type's alignment against Size.
         if (auto *ICE = dyn_cast<ImplicitCastExpr>(PtrArg)) {
-          // Drop the potential implicit-cast to 'const volatile void*', 
getting the underlying type.
+          // Drop the potential implicit-cast to 'const volatile void*', 
getting
+          // the underlying type.
           if (ICE->getCastKind() == CK_BitCast)
             PtrArg = ICE->getSubExpr();
         }

``````````

</details>


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

Reply via email to