]> granicus.if.org Git - clang/commitdiff
Remove a completely useless and utterly incorrect assertion.
authorDouglas Gregor <dgregor@apple.com>
Tue, 15 Jun 2010 20:38:36 +0000 (20:38 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 15 Jun 2010 20:38:36 +0000 (20:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106040 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaCodeComplete.cpp

index cb84ca6deb20a1a20a02fd49a0771b00f3c1dcf2..f730a3a9eaaf48933ac73a56c321eaa364cc7eeb 100644 (file)
@@ -369,8 +369,6 @@ getRequiredQualification(ASTContext &Context,
       Result = NestedNameSpecifier::Create(Context, Result,
                                            false,
                                      Context.getTypeDeclType(TD).getTypePtr());
-    else
-      assert(Parent->isTranslationUnit());
   }  
   return Result;
 }