* lisp/cedet/semantic/analyze.el (semantic-analyze-dereference-alias):
Only dereference first tag, since at least for C++ this is enough.
(semantic-analyze-current-context-default): Adapt comment.
* tests/cedet/semantic/test/manual/cedet/testusing.cpp: Add tests for
the above.
; //#14# ( "four" "three" )
}
+// Completion on namespace aliases
+void func11()
+{
+ alias_for_somestuff:://-15-
+ ; //#15# ( "OneClass" "aStruct")
+ alias_for_outerinner:://-16-
+ ; //#16# ( "AnotherStruct" "StructNested" )
+}
+
// make sure unfound using statements don't crash stuff.
using something::cantbe::Found;
{
NotFound notfound; // Variable can't be found.
- notfound.//-15-
- ; //#15# ( ) Nothing here since this is an undefined class
+ notfound.//-17-
+ ; //#17# ( ) Nothing here since this is an undefined class
}