================
@@ -310,13 +332,15 @@ SymbolInfo index::getSymbolInfo(const Decl *D) {
Info.Lang = SymbolLanguage::CXX;
Info.Properties |= (SymbolPropertySet)SymbolProperty::Generic;
break;
- case Decl::TypeAlias:
+ case Decl::TypeAlias: {
Info.Kind = SymbolKind::TypeAlias;
+ Info.SubKind = getSubKindForTypedef(cast<TypeAliasDecl>(D));
Info.Lang = SymbolLanguage::CXX;
break;
+ }
case Decl::UnresolvedUsingTypename:
Info.Kind = SymbolKind::Using;
- Info.SubKind = SymbolSubKind::UsingTypename;
----------------
HighCommander4 wrote:
Fair point. I restored `UsingTypename`, and made `UsingClass` and `UsingStruct`
both new subkinds.
https://github.com/llvm/llvm-project/pull/181967
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits