[llvm-commits] CVS: llvm/include/llvm/Support/DataTypesFix.h DataTypes.h.in

Chris Lattner sabre at nondot.org
Mon Oct 18 15:41:24 PDT 2004


On Mon, 18 Oct 2004, Misha Brukman wrote:

> On Mon, Oct 18, 2004 at 05:38:46PM -0500, Chris Lattner wrote:
> > On Mon, 18 Oct 2004, Misha Brukman wrote:
> > > Index: llvm/include/llvm/Support/DataTypesFix.h
> > > diff -c /dev/null llvm/include/llvm/Support/DataTypesFix.h:1.1
> >
> > How would people feel about renaming Support/DataTypesFix.h ->
> > Config/AIXDataTypesFix.h and changing this:
>
> I was contemplating that, but what if we need similar hacks on other
> platforms?  I was trying to be more generic "in anticipation." :)

I'd just like to avoid extra #includes in the oommon case where this is
not needed, that's all.

-Chris

> > #include "llvm/Support/DataTypesFix.h"
> >
> > to:
> >
> > #ifdef _AIX
> > #include "llvm/Config/AIXDataTypesFix.h"
> > #endif
>
>

-Chris

-- 
http://llvm.org/
http://nondot.org/sabre/




More information about the llvm-commits mailing list