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 HEAD~1 HEAD --extensions cpp --
clang/test/Parser/explicit-bool-pre-cxx17.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 816e95982..90bec25a8 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -6276,7 +6276,7 @@ static ExprResult BuildConvertedConstantExpression(Sema
&S, Expr *From,
NamedDecl *Dest,
APValue &PreNarrowingValue)
{
bool isCCEAllowedPreCXX11 =
- (CCE == CCEKind::TempArgStrict || CCE == CCEKind::ExplicitBool);
+ (CCE == CCEKind::TempArgStrict || CCE == CCEKind::ExplicitBool);
assert((S.getLangOpts().CPlusPlus11 || isCCEAllowedPreCXX11) &&
"converted constant expression outside C++11 or TTP matching");
``````````
</details>
https://github.com/llvm/llvm-project/pull/152985
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits