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

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 15 04:43:43 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?
----------------
cor3ntin wrote:

That's fine, i wanted to check!

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


More information about the cfe-commits mailing list