Fix build.

llvm-svn: 91182
This commit is contained in:
Anders Carlsson 2009-12-11 23:31:21 +00:00
parent 619a78bd59
commit f1f469554c
1 changed files with 1 additions and 7 deletions

View File

@ -4665,14 +4665,8 @@ bool Sema::CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl) {
// described completely in 3.7.3. The attributes and restrictions
// found in the rest of this subclause do not apply to them unless
// explicitly stated in 3.7.3.
if (Op == OO_Delete || Op == OO_Array_Delete) {
if (Op == OO_Delete || Op == OO_Array_Delete)
return CheckOperatorDeleteDeclaration(*this, FnDecl);
FnDecl->setInvalidDecl();
return true;
}
return false;
}
if (Op == OO_New || Op == OO_Array_New) {
bool ret = false;