[clang] Revert "[Clang][Sema] fix outline member function template with defau… (PR #80144)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 06:29:41 PST 2024


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 e538486e90539096e7851d0deba4ea9ed94fced2 be2437105566a677fa6adcc676beb19ddfb2d106 -- clang/lib/Sema/SemaTemplateInstantiate.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaTemplateInstantiate.cpp b/clang/lib/Sema/SemaTemplateInstantiate.cpp
index e12186d7d8..2c053f6781 100644
--- a/clang/lib/Sema/SemaTemplateInstantiate.cpp
+++ b/clang/lib/Sema/SemaTemplateInstantiate.cpp
@@ -3065,7 +3065,7 @@ bool Sema::SubstDefaultArgument(
 
     runWithSufficientStackSpace(Loc, [&] {
       Result = SubstInitializer(PatternExpr, TemplateArgs,
-                                /*DirectInit*/false);
+                                /*DirectInit*/ false);
     });
   }
   if (Result.isInvalid())

``````````

</details>


https://github.com/llvm/llvm-project/pull/80144


More information about the cfe-commits mailing list