Function: semantic-find-tags-included-c-mode
semantic-find-tags-included-c-mode is a byte-compiled function defined
in c.el.gz.
Signature
(semantic-find-tags-included-c-mode &optional TABLE)
Documentation
Find all tags in TABLE that are of the include class.
TABLE is a tag table. See semantic-something-to-tag-table.
For C++, we also have to search namespaces for include tags.
Override semantic-find-tags-included in c-mode buffers.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(define-mode-local-override semantic-find-tags-included c-mode
(&optional table)
"Find all tags in TABLE that are of the `include' class.
TABLE is a tag table. See `semantic-something-to-tag-table'.
For C++, we also have to search namespaces for include tags."
(let ((tags (semantic-find-tags-by-class 'include table))
(namespaces (semantic-find-tags-by-type "namespace" table)))
(dolist (cur namespaces)
(setq tags
(append tags
(semantic-find-tags-by-class
'include
(semantic-tag-get-attribute cur :members)))))
tags))