[llvm-commits] [llvm-gcc-4.2] r46862 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c
Eric Christopher
echristo at apple.com
Thu Feb 7 14:34:05 PST 2008
On Feb 7, 2008, at 2:31 PM, Bill Wendling wrote:
> +/* LLVM LOCAL begin */
> +#ifdef ENABLE_LLVM
> +void
> +darwin_assemble_visibility (tree decl ATTRIBUTE_UNUSED, int vis)
> +#else
> void
> darwin_assemble_visibility (tree decl, int vis)
> +#endif
FWIW you can just mark it if there are occasions where it's not used
and gcc won't complain.
i.e.
/* LLVM LOCAL */
darwin_assemble_visibility (tree decl ATTRIBUTE_UNUSED, int vis)
should be all you need.
-eric
More information about the llvm-commits
mailing list