Browse Source

regard conversion as method instead of constructor

pull/522/head
firstlove 6 years ago
committed by Fangrui Song
parent
commit
9a79b2ece1
  1. 2
      src/indexer.cc

2
src/indexer.cc

@ -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;

Loading…
Cancel
Save