From 10d3191cf1cb02e52e595eeac9d8bc353113e8f0 Mon Sep 17 00:00:00 2001 From: Duncan Sands 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117260 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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