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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 08:27:01 PST 2024


================
@@ -551,6 +646,18 @@ static const T &DiagTemplateArg(const T &DB, const TemplateArgument &Arg) {
   case TemplateArgument::Integral:
     return DB << toString(Arg.getAsIntegral(), 10);
 
+  case TemplateArgument::StructuralValue: {
+    // FIXME: We're guessing at LangOptions!
----------------
erichkeane wrote:

This is pretty unfortunate, but it looks like we're doing this in a few places.

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


More information about the cfe-commits mailing list