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 b4ac7f4fc91ee5c8a192bcf15fffa69cb30d1912 
3771ffabce14ab67f53d2a2f4357b0bd13c8088a --extensions h,cpp -- 
clang/test/SemaTemplate/GH18291.cpp clang/include/clang/Sema/Sema.h 
clang/lib/AST/ExprConstant.cpp clang/lib/Sema/SemaTemplateDeduction.cpp 
clang/lib/Sema/SemaTemplateInstantiate.cpp 
clang/test/CodeCompletion/variadic-template.cpp 
clang/test/Index/complete-call.cpp clang/test/SemaTemplate/cwg2398.cpp 
clang/test/SemaTemplate/temp_arg_nontype.cpp 
clang/test/SemaTemplate/temp_arg_type.cpp 
clang/test/Templight/templight-empty-entries-fix.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaTemplateDeduction.cpp 
b/clang/lib/Sema/SemaTemplateDeduction.cpp
index 22b7cf61e9..4a88fb12e2 100644
--- a/clang/lib/Sema/SemaTemplateDeduction.cpp
+++ b/clang/lib/Sema/SemaTemplateDeduction.cpp
@@ -2108,9 +2108,8 @@ static TemplateDeductionResult 
DeduceTemplateArgumentsByTypeMatch(
       Deduced = DeducedOrig;
 
       // Check bases according to C++14 [temp.deduct.call] p4b3:
-      auto BaseResult =
-          DeduceTemplateBases(S, RD, TemplateParams, P, Info,
-                              Deduced, HasDeducedAnyParam);
+      auto BaseResult = DeduceTemplateBases(S, RD, TemplateParams, P, Info,
+                                            Deduced, HasDeducedAnyParam);
       return BaseResult != TemplateDeductionResult::Invalid ? BaseResult
                                                             : Result;
     }

``````````

</details>


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

Reply via email to