summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-04-20 01:42:53 +0000
committerJohn McCall <rjmccall@apple.com>2010-04-20 01:42:53 +0000
commit44adf26dd0d473bc3e2a55beb4acedba8340102e (patch)
tree1363d84c587e6b34f1fcc141189acf71b4eb9444 /clang/lib/Sema
parentb6410e168c9f4ee20b4d6c9b33c2c14db67d682f (diff)
downloadbcm5719-llvm-44adf26dd0d473bc3e2a55beb4acedba8340102e.tar.gz
bcm5719-llvm-44adf26dd0d473bc3e2a55beb4acedba8340102e.zip
Revert r101841 and follow-up.
llvm-svn: 101859
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaExprCXX.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp
index 605f280c4fd..9440772fc6e 100644
--- a/clang/lib/Sema/SemaExprCXX.cpp
+++ b/clang/lib/Sema/SemaExprCXX.cpp
@@ -886,13 +886,6 @@ bool Sema::FindAllocationFunctions(SourceLocation StartLoc, SourceRange Range,
return true;
}
- // We don't need an operator delete if we're running under
- // -fno-exceptions.
- if (!getLangOptions().Exceptions) {
- OperatorDelete = 0;
- return false;
- }
-
// FindAllocationOverload can change the passed in arguments, so we need to
// copy them back.
if (NumPlaceArgs > 0)
OpenPOWER on IntegriCloud