[llvm-commits] [gcc-plugin] r82450 - in /gcc-plugin/trunk/utils: ./ target.cpp

Bill Wendling wendling at apple.com
Mon Sep 21 13:11:11 CDT 2009


On Sep 21, 2009, at 2:40 AM, Duncan Sands wrote:

> Author: baldrick
> Date: Mon Sep 21 04:40:06 2009
> New Revision: 82450
>
> URL: http://llvm.org/viewvc/llvm-project?rev=82450&view=rev
> Log:
> Add a helper for printing info extracted from the
> target triple.
>
> Added:
>    gcc-plugin/trunk/utils/
>    gcc-plugin/trunk/utils/target.cpp
>
> Added: gcc-plugin/trunk/utils/target.cpp
> URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/utils/target.cpp?rev=82450&view=auto
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- gcc-plugin/trunk/utils/target.cpp (added)
> +++ gcc-plugin/trunk/utils/target.cpp Mon Sep 21 04:40:06 2009
> @@ -0,0 +1,68 @@
> +#include <cstring>
> +#include <iostream>
> +
Are you sure you wouldn't rather use the raw_ostream instead? :-)

-bw





More information about the llvm-commits mailing list