From cfdc3382c94f7abe62ae4dd697d977ea4797ffa9 Mon Sep 17 00:00:00 2001 From: Duncan Sands <baldrick@free.fr> Date: Mon, 25 Oct 2010 12:47:22 +0000 Subject: [PATCH] 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. llvm-svn: 117260 --- include/llvm/Support/Compiler.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index 6682c84a7ad..6ac7f9c0b04 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -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