regard conversion as method instead of constructor

This commit is contained in:
firstlove 2018-10-02 11:38:16 +08:00 committed by Fangrui Song
parent da07cb2da4
commit 8d49b44154

View File

@ -1033,9 +1033,9 @@ public:
break;
}
case Decl::CXXConstructor:
case Decl::CXXConversion:
func->def.kind = lsSymbolKind::Constructor;
break;
case Decl::CXXConversion:
case Decl::CXXDestructor:
func->def.kind = lsSymbolKind::Method;
break;