Skip to content
Snippets Groups Projects
Commit 127ab3e7 authored by Craig Topper's avatar Craig Topper
Browse files

[C++11] Remove LLVM_FINAL and LLVM_OVERRIDE macros now that all their uses are gone.

llvm-svn: 202629
parent b745e67a
No related branches found
No related tags found
No related merge requests found
...@@ -106,26 +106,6 @@ ...@@ -106,26 +106,6 @@
#define LLVM_DELETED_FUNCTION #define LLVM_DELETED_FUNCTION
#endif #endif
/// LLVM_FINAL - Expands to 'final' if the compiler supports it.
/// Use to mark classes or virtual methods as final.
#if __has_feature(cxx_override_control) || \
(defined(__GXX_EXPERIMENTAL_CXX0X__) && __GNUC_PREREQ(4, 7)) || \
LLVM_MSC_PREREQ(1700)
#define LLVM_FINAL final
#else
#define LLVM_FINAL
#endif
/// LLVM_OVERRIDE - Expands to 'override' if the compiler supports it.
/// Use to mark virtual methods as overriding a base class method.
#if __has_feature(cxx_override_control) || \
(defined(__GXX_EXPERIMENTAL_CXX0X__) && __GNUC_PREREQ(4, 7)) || \
LLVM_MSC_PREREQ(1700)
#define LLVM_OVERRIDE override
#else
#define LLVM_OVERRIDE
#endif
#if __has_feature(cxx_constexpr) || defined(__GXX_EXPERIMENTAL_CXX0X__) #if __has_feature(cxx_constexpr) || defined(__GXX_EXPERIMENTAL_CXX0X__)
# define LLVM_CONSTEXPR constexpr # define LLVM_CONSTEXPR constexpr
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment