mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 18:00:26 +00:00
regard conversion as method instead of constructor
This commit is contained in:
parent
da07cb2da4
commit
8d49b44154
@ -1033,9 +1033,9 @@ public:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Decl::CXXConstructor:
|
case Decl::CXXConstructor:
|
||||||
case Decl::CXXConversion:
|
|
||||||
func->def.kind = lsSymbolKind::Constructor;
|
func->def.kind = lsSymbolKind::Constructor;
|
||||||
break;
|
break;
|
||||||
|
case Decl::CXXConversion:
|
||||||
case Decl::CXXDestructor:
|
case Decl::CXXDestructor:
|
||||||
func->def.kind = lsSymbolKind::Method;
|
func->def.kind = lsSymbolKind::Method;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user