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 0e372c3ea31da276ac67c5972e4ef63514577e9c 
f58459d08ac3eae3b1c77fb4808da60b6e5bb7ec --extensions h,cpp -- 
clang/test/CodeGenCXX/gh119046.cpp clang/include/clang/Sema/Sema.h 
clang/lib/Sema/SemaDecl.cpp clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index a5afafb750..3cad9827fd 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -16396,7 +16396,7 @@ Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt 
*Body,
     // the declaration context below. Otherwise, we're unable to transform
     // 'this' expressions when transforming immediate context functions.
 
-  if(FD)
+  if (FD)
     CheckImmediateEscalatingFunctionDefinition(FD, getCurFunction());
 
   if (!IsInstantiation)

``````````

</details>


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

Reply via email to