Convert CC Mode's c-found-types from an obarray to a hash table.
commite1d1aa69e8cce480f51ebf81d5b0bb55c7ad4ec8
authorAlan Mackenzie <acm@muc.de>
Sun, 23 Jul 2017 13:48:36 +0000 (23 13:48 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 23 Jul 2017 13:48:36 +0000 (23 13:48 +0000)
treef976dd3e652ef3b9c4615539aaf0f425519844dd
parente33ddda3bfb134756ae1a706bf8ea218c7312f2d
Convert CC Mode's c-found-types from an obarray to a hash table.

* lisp/progmodes/cc-engine.el (c-clear-found-types): create a hash table
rather than an obarray.
(c-copy-found-types): Remove.
(c-add-type, c-unfind-type, c-check-type, c-list-found-types): Amend to use
the new hash table.
(c-forward-<>-arglist): Use copy-hash-table rather than c-copy-found-types.
lisp/progmodes/cc-engine.el