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 3337d3de8c
commit 9a79b2ece1

View File

@ -1018,9 +1018,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;