[PATCH] Rename enums in Support/MachO.h

Reid Kleckner rnk at google.com
Tue Apr 8 17:18:00 PDT 2014


I thought this came up before and the answer was "it's a feature, not a
bug", but maybe Nick remembers.


On Tue, Apr 8, 2014 at 3:12 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:

> The attached patch renames enums in Support/MachO.h. This is needed
> because some of the enum names are taken directly from system header files
> and including both MachO.h and some internal versions of those system
> header files causes name collisions.
>
> With this patch, we can stop using the following workaround that was
> required to build lldb:
>
>
> http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140331/010905.html
>
> Please review.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140408/77a24062/attachment.html>


More information about the llvm-commits mailing list