summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index ea7da8c5ce7..711184b5b7b 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -1622,7 +1622,7 @@ CodeGenModule::GetOrCreateLLVMFunction(StringRef MangledName,
} else if (D &&
cast<FunctionDecl>(D)
->getCorrespondingUnsizedGlobalDeallocationFunction() &&
- !getLangOpts().DefaultSizedDelete &&
+ getLangOpts().DefaultSizedDelete &&
!D->hasAttr<AliasAttr>()) {
addDeferredDeclToEmit(F, GD);
OpenPOWER on IntegriCloud