[clang] [llvm] [Clang] Emit DW_TAG_template_alias for template aliases (PR #87623)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 17 06:20:08 PDT 2024
================
@@ -310,6 +310,24 @@ namespace llvm {
DINode::DIFlags Flags = DINode::FlagZero,
DINodeArray Annotations = nullptr);
+ /// Create debugging information entry for a template alias.
+ /// \param Ty Original type.
+ /// \param Name Alias name.
+ /// \param File File where this type is defined.
+ /// \param LineNo Line number.
+ /// \param Context The surrounding context for the alias.
+ /// \param TParams The template arguments.
+ /// \param AlignInBits Alignment. (optional)
+ /// \param Flags Flags to describe inheritance attribute (optional),
+ /// e.g. private.
----------------
OCHyams wrote:
It says so at the end of the line. I suppose it would be more in keeping if it came after the full stop `e.g. private. (here)`, but it felt right where it is at the moment too. ymmv.
https://github.com/llvm/llvm-project/pull/87623
More information about the llvm-commits
mailing list