remove a nonsensical todo

llvm-svn: 85067
This commit is contained in:
Chris Lattner 2009-10-25 21:19:07 +00:00
parent fb049eef8f
commit 588f19acc1
1 changed files with 0 additions and 1 deletions

View File

@ -4282,7 +4282,6 @@ Sema::DeclPtrTy Sema::ActOnFriendTypeDecl(Scope *S, const DeclSpec &DS,
// friend templates because ActOnTag never produces a ClassTemplateDecl
// for a TUK_Friend.
Declarator TheDeclarator(DS, Declarator::MemberContext);
// TODO: Should use D.SetIdentifier() to specify where the identifier is?
QualType T = GetTypeForDeclarator(TheDeclarator, S);
if (TheDeclarator.isInvalidType())
return DeclPtrTy();