From 903c30f4d1f3bc0d1aae9ca83af17c0062d02b40 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 20 Apr 2022 12:16:41 +0200 Subject: [PATCH] [Support] Remove LLVM_ATTRIBUTE_DEPRECATED The guidance since D94219 is to use [[deprecated]] directly. Now that all historical uses of the macro have been removed, drop the macro itself. --- llvm/include/llvm/Support/Compiler.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h index 262eca0..65345ba 100644 --- a/llvm/include/llvm/Support/Compiler.h +++ b/llvm/include/llvm/Support/Compiler.h @@ -313,11 +313,6 @@ #define LLVM_EXTENSION #endif -// LLVM_ATTRIBUTE_DEPRECATED(decl, "message") -// This macro will be removed. -// Use C++14's attribute instead: [[deprecated("message")]] -#define LLVM_ATTRIBUTE_DEPRECATED(decl, message) [[deprecated(message)]] decl - /// LLVM_BUILTIN_UNREACHABLE - On compilers which support it, expands /// to an expression which states that it is undefined behavior for the /// compiler to reach this point. Otherwise is not defined. -- 2.7.4