mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 09:50:26 +00:00
Initilize var.def.cls to unknown.
This commit is contained in:
parent
cb7ccbe543
commit
f10521372b
@ -387,7 +387,7 @@ struct VarDefDefinitionData {
|
||||
// Type which declares this one.
|
||||
optional<TypeId> declaring_type;
|
||||
|
||||
VarClass cls;
|
||||
VarClass cls = VarClass::Unknown;
|
||||
|
||||
bool is_local() const { return cls == VarClass::Local; }
|
||||
bool is_macro() const { return cls == VarClass::Macro; }
|
||||
|
Loading…
Reference in New Issue
Block a user