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 eec1fac9b51d06c8afafe9952a20ba7cd4c3ce1c
0763f8d25194e18a040d4cd4cde7c88b6fccbb44 --extensions cpp,c --
clang/test/CodeGen/complex-math-libcalls-tbaa.c clang/lib/CodeGen/CGBuiltin.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index a84c9ca4be..3b9d994041 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -706,8 +706,8 @@ static RValue emitLibraryCall(CodeGenFunction &CGF, const
FunctionDecl *FD,
if (A->getType()->isPointerTy())
CallWithPointerArgsOrPointerReturnType = true;
CallWithPointerArgsOrPointerReturnType =
- CallWithPointerArgsOrPointerReturnType ||
- CB->getFunctionType()->getReturnType()->isPointerTy();
+ CallWithPointerArgsOrPointerReturnType ||
+ CB->getFunctionType()->getReturnType()->isPointerTy();
}
}
if (ConstWithoutErrnoAndExceptions && CGF.CGM.getLangOpts().MathErrno &&
``````````
</details>
https://github.com/llvm/llvm-project/pull/107598
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits