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 80d5185bd4288c12e9d5aa0fe2e00f2f4e6397d7 
693049e2bdfe31c1243c9d9a5a7bf59363a2b9b1 --extensions cpp -- 
clang/lib/Sema/SemaOverload.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index 0f4bb69f71..9d7ea9cace 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -5450,7 +5450,8 @@ TryReferenceInit(Sema &S, Expr *Init, QualType DeclType,
       return ICS;
     }
 
-    if (isRValRef && 
ICS.UserDefined.ConversionFunction->getReturnType().isConstQualified()) {
+    if (isRValRef && ICS.UserDefined.ConversionFunction->getReturnType()
+                         .isConstQualified()) {
       ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType);
       return ICS;
     }

``````````

</details>


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

Reply via email to