Merge remote-tracking branch 'origin/2.8'

This commit is contained in:
Oswald Buddenhagen
2013-08-27 10:48:08 +02:00
16 changed files with 7810 additions and 665 deletions

View File

@@ -313,7 +313,7 @@ ClassOrNamespace *LookupContext::lookupType(const Name *name, Scope *scope,
ClassOrNamespace* enclosingTemplateInstantiation,
QSet<const Declaration *> typedefsBeingResolved) const
{
if (! scope) {
if (! scope || ! name) {
return 0;
} else if (Block *block = scope->asBlock()) {
for (unsigned i = 0; i < block->memberCount(); ++i) {