Remove deprecated macro names. Hopefully this will unbreak the
authorDuncan Sands <baldrick@free.fr>
Mon, 25 Oct 2010 12:47:22 +0000 (12:47 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 25 Oct 2010 12:47:22 +0000 (12:47 +0000)
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

include/llvm/Support/Compiler.h

index 6682c84a7ade9060a3ef9ac6b21852e4b84f6f23..6ac7f9c0b0426e98af8979a3d610899414c79dfa 100644 (file)
 #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