================
@@ -1329,11 +1329,13 @@ void CXXNameMangler::mangleReflection(ReflectionKind 
Kind,
     QualType QT = TSI->getType();
 
     if (isTypeAliasAsReflectionName(QT)) {
-      if (const auto *TDT = QT->getAs<TypedefType>()) {
-        Out << "ta";
+      Out << "ta";
+      if (const auto *TDT = dyn_cast<TypedefType>(QT.getTypePtr())) {
         mangleName(TDT->getDecl()->getCanonicalDecl());
-        break;
+      } else {
+        mangleType(cast<TemplateSpecializationType>(QT.getTypePtr()));
       }
----------------
ojhunt wrote:

no braces according to the style guide. 

https://github.com/llvm/llvm-project/pull/232074
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to