;;; semantic/analyze/fcn.el --- Analyzer support functions.
-;; Copyright (C) 2007-2013 Free Software Foundation, Inc.
+;; Copyright (C) 2007-2014 Free Software Foundation, Inc.
;; Author: Eric M. Ludlam <zappo@gnu.org>
The TYPE field in a tag can be nil (return nil)
or a string, or a non-positional tag."
(cond ((semantic-tag-p type)
- (semantic-tag-name type))
+ (if (semantic-tag-named-parent type)
+ (semantic-analyze-unsplit-name `(,(semantic-tag-named-parent type)
+ ,(semantic-tag-name type)))
+ (semantic-tag-name type)))
((stringp type)
type)
((listp type)
(semantic-scope-set-typecache scope nil)
)))))
+(autoload 'semantic-tag-similar-p "semantic/tag-ls")
+
(defun semantic-analyze-dereference-metatype-stack (type scope &optional type-declaration)
"Dereference metatypes repeatedly until we hit a real TYPE.
Uses `semantic-analyze-dereference-metatype'.