On Fri, Jan 16, 2015 at 9:05 PM, David Blaikie <[email protected]> wrote:
> > > On Fri, Jan 16, 2015 at 6:27 PM, Nico Weber <[email protected]> wrote: > >> Author: nico >> Date: Fri Jan 16 20:27:54 2015 >> New Revision: 226364 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=226364&view=rev >> Log: >> Wrap to 80 columns. No behavior change. >> >> Modified: >> cfe/trunk/lib/CodeGen/ModuleBuilder.cpp >> >> Modified: cfe/trunk/lib/CodeGen/ModuleBuilder.cpp >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/ModuleBuilder.cpp?rev=226364&r1=226363&r2=226364&view=diff >> >> ============================================================================== >> --- cfe/trunk/lib/CodeGen/ModuleBuilder.cpp (original) >> +++ cfe/trunk/lib/CodeGen/ModuleBuilder.cpp Fri Jan 16 20:27:54 2015 >> @@ -95,7 +95,8 @@ namespace { >> >> M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple()); >> M->setDataLayout(Ctx->getTargetInfo().getTargetDescription()); >> - TD.reset(new >> llvm::DataLayout(Ctx->getTargetInfo().getTargetDescription())); >> + TD.reset( >> + new >> llvm::DataLayout(Ctx->getTargetInfo().getTargetDescription())); >> > > llvm::make_unique, perhaps? > In a reset() call? Why? > > >> Builder.reset(new CodeGen::CodeGenModule(Context, CodeGenOpts, *M, >> *TD, >> Diags, CoverageInfo)); >> >> >> >> _______________________________________________ >> cfe-commits mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >> > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
