[Lldb-commits] [clang] [lldb] [clang-tools-extra] [c++20] P1907R1: Support for generalized non-type template arguments of scalar type. (PR #78041)

Andrey Ali Khan Bolshakov via lldb-commits lldb-commits at lists.llvm.org
Sat Jan 13 08:15:06 PST 2024


================
@@ -80,6 +81,13 @@ class TemplateArgument {
     /// that was provided for an integral non-type template parameter.
     Integral,
 
+    /// The template argument is a non-type template argument that can't be
+    /// represented by the special-case Declaration, NullPtr, or Integral
+    /// forms. These values are only ever produced by constant evaluation,
+    /// so cannot be dependent.
+    /// TODO: merge Declaration, NullPtr and Integral into this?
----------------
bolshakov-a wrote:

Honestly, no. Not in the near future, at least.

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


More information about the lldb-commits mailing list