From 9a79b2ece101b92fe523d57ed9c430021409e826 Mon Sep 17 00:00:00 2001 From: firstlove Date: Tue, 2 Oct 2018 11:38:16 +0800 Subject: [PATCH] regard conversion as method instead of constructor --- src/indexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexer.cc b/src/indexer.cc index 7ac0d054..a817459a 100644 --- a/src/indexer.cc +++ b/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;