Remove deprecated macro names. Hopefully this will unbreak the

smooshlab build.  The breakage seems to be due to a collision
between LLVM's ATTRIBUTE_UNUSED and gcc's which was previously
hidden due to header files being included in a lucky order.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117260 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2010-10-25 12:47:22 +00:00
parent 94cc4feeaf
commit 10d3191cf1

View File

@ -107,15 +107,4 @@
#define LLVM_ATTRIBUTE_NORETURN
#endif
// We provide definitions without the LLVM_ prefix briefly while transitioning
// to always-prefixed names. These will go away as soon as the migration is
// complete.
#define ATTRIBUTE_USED LLVM_ATTRIBUTE_USED
#define ATTRIBUTE_UNUSED LLVM_ATTRIBUTE_UNUSED
#define ATTRIBUTE_READNONE LLVM_ATTRIBUTE_READNONE
#define ATTRIBUTE_READONLY LLVM_ATTRIBUTE_READONLY
#define NORETURN LLVM_ATTRIBUTE_NORETURN
#define DISABLE_INLINE LLVM_ATTRIBUTE_NOINLINE
#define ALWAYS_INLINE LLVM_ATTRIBUTE_ALWAYS_INLINE
#endif