diff options
| author | Larisse Voufo <lvoufo@google.com> | 2015-02-18 01:04:10 +0000 | 
|---|---|---|
| committer | Larisse Voufo <lvoufo@google.com> | 2015-02-18 01:04:10 +0000 | 
| commit | e990a3f60ccd34c0d9c1edebfc17a193b8c052cd (patch) | |
| tree | 4af48afd23146876808855b36237285dd668469e /clang/lib/CodeGen | |
| parent | 8af49b32143f63ed6e9ed34927876bd5418fe7ee (diff) | |
| download | bcm5719-llvm-e990a3f60ccd34c0d9c1edebfc17a193b8c052cd.tar.gz bcm5719-llvm-e990a3f60ccd34c0d9c1edebfc17a193b8c052cd.zip  | |
Rename flags and options to match current naming: from -fdef-sized-delete to -fdefine-sized-deallocation, and from DefaultSizedDelete to DefineSizedDeallocation.
llvm-svn: 229597
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 | ||||
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 4d03bdb8ef4..ec726098a54 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); diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 8404972fa09..92c1706a41d 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1624,7 +1624,7 @@ CodeGenModule::GetOrCreateLLVMFunction(StringRef MangledName,      } else if (D &&                 cast<FunctionDecl>(D)                    ->getCorrespondingUnsizedGlobalDeallocationFunction() && -               getLangOpts().DefaultSizedDelete && +               getLangOpts().DefineSizedDeallocation &&                 !D->hasAttr<AliasAttr>()) {        addDeferredDeclToEmit(F, GD);  | 

