diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-03-02 09:54:13 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-03-02 09:54:13 +0000 |
| commit | 127ab3e7001d7a7d40d08adab8c10be4d87fc4a0 (patch) | |
| tree | 4ed5e24ce6caaa867595dde1cc9dfe36ca607c6c | |
| parent | b745e67a64e617d4f3f3e804014a4ef9775463b8 (diff) | |
| download | bcm5719-llvm-127ab3e7001d7a7d40d08adab8c10be4d87fc4a0.tar.gz bcm5719-llvm-127ab3e7001d7a7d40d08adab8c10be4d87fc4a0.zip | |
[C++11] Remove LLVM_FINAL and LLVM_OVERRIDE macros now that all their uses are gone.
llvm-svn: 202629
| -rw-r--r-- | llvm/include/llvm/Support/Compiler.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h index c2545542480..3ddbc6ba041 100644 --- a/llvm/include/llvm/Support/Compiler.h +++ b/llvm/include/llvm/Support/Compiler.h @@ -106,26 +106,6 @@ #define LLVM_DELETED_FUNCTION #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__) # define LLVM_CONSTEXPR constexpr #else |

