diff --git a/src/indexer.hh b/src/indexer.hh index cc127b1d..e1d577ab 100644 --- a/src/indexer.hh +++ b/src/indexer.hh @@ -244,7 +244,8 @@ struct VarDef : NameMixin { parent_kind == SymbolKind::Method || parent_kind == SymbolKind::StaticMethod || parent_kind == SymbolKind::Constructor) && - storage == clang::SC_None; + (storage == clang::SC_None || storage == clang::SC_Auto || + storage == clang::SC_Register); } std::vector GetBases() const { return {}; }