r235749 - [CodeGen] Make AsmPrinter's OutStreamer member a unique_ptr.
Lang Hames
lhames at gmail.com
Fri Apr 24 12:12:41 PDT 2015
Accidentally committed from the wrong path, which apparently had some cruft
in it. I've reverted this in r235750.
- Lang.
On Fri, Apr 24, 2015 at 12:04 PM, Lang Hames <lhames at gmail.com> wrote:
> Author: lhames
> Date: Fri Apr 24 14:04:55 2015
> New Revision: 235749
>
> URL: http://llvm.org/viewvc/llvm-project?rev=235749&view=rev
> Log:
> [CodeGen] Make AsmPrinter's OutStreamer member a unique_ptr.
>
> AsmPrinter owns the OutStreamer, so an owning pointer makes sense here.
> Using a
> reference for this is crufty.
>
> Modified:
> cfe/trunk/tools/driver/driver.cpp
>
> Modified: cfe/trunk/tools/driver/driver.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/driver.cpp?rev=235749&r1=235748&r2=235749&view=diff
>
> ==============================================================================
> --- cfe/trunk/tools/driver/driver.cpp (original)
> +++ cfe/trunk/tools/driver/driver.cpp Fri Apr 24 14:04:55 2015
> @@ -27,6 +27,7 @@
> #include "llvm/ADT/STLExtras.h"
> #include "llvm/ADT/SmallString.h"
> #include "llvm/ADT/SmallVector.h"
> +#include "llvm/CodeGen/LinkAllCodegenComponents.h"
> #include "llvm/Config/llvm-config.h"
> #include "llvm/Option/ArgList.h"
> #include "llvm/Option/OptTable.h"
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150424/e462cd65/attachment.html>
More information about the cfe-commits
mailing list