<p>In C++, all imports are first resolved using findDeclations(..), and that is why the resulting identifiers are never explicitly global.</p>
<p><blockquote type="cite">Am 19.01.2011 09:07 schrieb "David Nolden" <<a href="mailto:zwabel@googlemail.com">zwabel@googlemail.com</a>>:<br><br>I think, this is only for consistency. A namespace alias declaration<br>

is always global, and the "explicitly global" flag is simply not<br>
required. That flag is actually just a flag for lookup. For example,<br>
when you call "declaration->qualifiedIdentifier()", then the result<br>
also does not have this flag set, even though it is global of course.<br>
<br>
The flag could be removed in setImportIdentifier. However, when you<br>
sometimes set an import identifier _with_ the flag and sometimes<br>
_without_, then you'll be probably doing something wrong, after all<br>
the "explicitly global" should have some special meaning in your<br>
language.<br>
<br>
Greetings, David<br>
</blockquote></p>