r235749 - [CodeGen] Make AsmPrinter's OutStreamer member a unique_ptr.
Rafael EspĂndola
rafael.espindola at gmail.com
Fri Apr 24 12:17:08 PDT 2015
Is this a wrong commit message?
On Apr 24, 2015 3:09 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/ee977330/attachment.html>
More information about the cfe-commits
mailing list