From e990a3f60ccd34c0d9c1edebfc17a193b8c052cd Mon Sep 17 00:00:00 2001 From: Larisse Voufo Date: Wed, 18 Feb 2015 01:04:10 +0000 Subject: Rename flags and options to match current naming: from -fdef-sized-delete to -fdefine-sized-deallocation, and from DefaultSizedDelete to DefineSizedDeallocation. llvm-svn: 229597 --- clang/lib/CodeGen/CodeGenFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp') diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 4d03bdb..ec72609 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -892,7 +892,7 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, FD->getCorrespondingUnsizedGlobalDeallocationFunction()) { // Global sized deallocation functions get an implicit weak definition if // they don't have an explicit definition, if allowed. - assert(getLangOpts().DefaultSizedDelete && + assert(getLangOpts().DefineSizedDeallocation && "Can't emit unallowed definition."); EmitSizedDeallocationFunction(*this, UnsizedDealloc); -- cgit v1.1