[cfe-commits] r91182 - /cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Anders Carlsson
andersca at mac.com
Fri Dec 11 15:31:22 PST 2009
Author: andersca
Date: Fri Dec 11 17:31:21 2009
New Revision: 91182
URL: http://llvm.org/viewvc/llvm-project?rev=91182&view=rev
Log:
Fix build.
Modified:
cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=91182&r1=91181&r2=91182&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Fri Dec 11 17:31:21 2009
@@ -4665,14 +4665,8 @@
// 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;
More information about the cfe-commits
mailing list