================
@@ -2655,6 +2655,15 @@ CXXBaseSpecifier *Sema::CheckBaseSpecifier(CXXRecordDecl 
*Class,
       return nullptr;
     }
 
+    if (BaseType.hasQualifiers() && !isa<SubstTemplateTypeParmType>(BaseType)) 
{
+      auto Quals =
----------------
Fznamznon wrote:

NIT: could you please spell out the type here?
It is understandable that result is some kind of a string, however it is 
unclear whether it is a StringRef or a std::string, for example.

https://github.com/llvm/llvm-project/pull/121419
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to