diff --git a/src/indexer.hh b/src/indexer.hh index 191f8074..fb762ac1 100644 --- a/src/indexer.hh +++ b/src/indexer.hh @@ -256,7 +256,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 {}; }