remove using per github review

This commit is contained in:
Felipe Lema 2021-06-23 12:29:28 -04:00
parent 03324a122e
commit b07d39b949

View File

@ -22,10 +22,8 @@ using namespace clang;
namespace { namespace {
struct CclsSemanticHighlightSymbol { struct CclsSemanticHighlightSymbol {
using Id=int; int id = 0;
Id id = 0;
SymbolKind parentKind; SymbolKind parentKind;
SymbolKind kind; SymbolKind kind;
uint8_t storage; uint8_t storage;
@ -35,8 +33,7 @@ struct CclsSemanticHighlightSymbol {
struct ScanLineEvent { struct ScanLineEvent {
Position pos; Position pos;
Position end_pos; // Second key when there is a tie for insertion events. Position end_pos; // Second key when there is a tie for insertion events.
using Id=int; int id;
Id id;
CclsSemanticHighlightSymbol *symbol; CclsSemanticHighlightSymbol *symbol;
Role role; Role role;
bool operator<(const ScanLineEvent &o) const { bool operator<(const ScanLineEvent &o) const {