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

Andrey Ali Khan Bolshakov via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 13 07:06:21 PST 2024


================
@@ -5401,6 +5409,8 @@ std::string CGDebugInfo::GetName(const Decl *D, bool Qualified) const {
             // feasible some day.
             return TA.getAsIntegral().getBitWidth() <= 64 &&
                    IsReconstitutableType(TA.getIntegralType());
+          case TemplateArgument::StructuralValue:
+            return false;
----------------
bolshakov-a wrote:

@dwblaikie, could you verify please? Maybe, non-type template arguments of floating point types are reconstitutable though?

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


More information about the cfe-commits mailing list