mirror of
https://github.com/MaskRay/ccls.git
synced 2025-03-21 08:16:18 +00:00
remove using
per github review
This commit is contained in:
parent
03324a122e
commit
b07d39b949
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user