[libcxxabi] [llvm] Update stale comments of the demangler, NFC (PR #91740)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 10 06:32:06 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 2d4acb086541577ac6ab3a140b9ceb9659ce7094 dfb22c376fffe838b9f35f2f23f32d9cfbc94b88 -- 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 36bf454636..2bcbbbd779 100644
--- a/libcxxabi/src/demangle/ItaniumDemangle.h
+++ b/libcxxabi/src/demangle/ItaniumDemangle.h
@@ -5715,7 +5715,8 @@ Node *AbstractManglingParser<Derived, Alloc>::parseTemplateParam() {
}
// <template-param-decl> ::= Ty # type parameter
-// ::= Tk <concept name> [<template-args>] # constrained type parameter
+// ::= Tk <concept name> [<template-args>] # constrained
+// type parameter
// ::= Tn <type> # non-type parameter
// ::= Tt <template-param-decl>* E # template parameter
// ::= Tp <template-param-decl> # parameter pack
diff --git a/llvm/include/llvm/Demangle/ItaniumDemangle.h b/llvm/include/llvm/Demangle/ItaniumDemangle.h
index e7c008be32..a9995b7c49 100644
--- a/llvm/include/llvm/Demangle/ItaniumDemangle.h
+++ b/llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -5714,7 +5714,8 @@ Node *AbstractManglingParser<Derived, Alloc>::parseTemplateParam() {
}
// <template-param-decl> ::= Ty # type parameter
-// ::= Tk <concept name> [<template-args>] # constrained type parameter
+// ::= Tk <concept name> [<template-args>] # constrained
+// type parameter
// ::= Tn <type> # non-type parameter
// ::= Tt <template-param-decl>* E # template parameter
// ::= Tp <template-param-decl> # parameter pack
``````````
</details>
https://github.com/llvm/llvm-project/pull/91740
More information about the llvm-commits
mailing list