[libcxx-commits] [libcxxabi] [llvm] [LLVM Demangler] Set `InConstraintExpr` to `true` when demangling a c… (PR #107385)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 10 01:11:46 PDT 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 07bef02831836748f46ddd285520f351fe18cfe9 39e8babedfbb3cc23727fb766a421ed7b1c7c9d1 --extensions h -- libcxxabi/src/demangle/ItaniumDemangle.h llvm/include/llvm/Demangle/ItaniumDemangle.h
``````````

</details>

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

``````````diff
diff --git a/libcxxabi/src/demangle/ItaniumDemangle.h b/libcxxabi/src/demangle/ItaniumDemangle.h
index a6ac67116a..d6201c9d5b 100644
--- a/libcxxabi/src/demangle/ItaniumDemangle.h
+++ b/libcxxabi/src/demangle/ItaniumDemangle.h
@@ -4903,7 +4903,7 @@ Node *AbstractManglingParser<Derived, Alloc>::parseConstraintExpr() {
   // string in place of a parameter for now.
   // TODO: Track all enclosing template parameters and demangle substitutions.
   ScopedOverride<bool> SaveIncompleteTemplateParameterTracking(
-    HasIncompleteTemplateParameterTracking, true);
+      HasIncompleteTemplateParameterTracking, true);
   return getDerived().parseExpr();
 }
 

``````````

</details>


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


More information about the libcxx-commits mailing list