diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-01 09:40:34 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-01 09:40:34 +0000 |
commit | e2478b5a9ff4242dc0b119089b26699a3d93f11e (patch) | |
tree | c49750476a139ecb6f909ac71239112ff4a90bdd /include/clang/Basic/PartialDiagnostic.h | |
parent | 30577e6c4f5ba66b8dc832ed9955b1a7475f788a (diff) |
[C++11] Remove use of LLVM_HAS_RVALUE_REFERENCES from Clang. This macro
is now always 1, as we're requiring C++11 now!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/PartialDiagnostic.h')
-rw-r--r-- | include/clang/Basic/PartialDiagnostic.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/clang/Basic/PartialDiagnostic.h b/include/clang/Basic/PartialDiagnostic.h index dd29926fce..9be733ae09 100644 --- a/include/clang/Basic/PartialDiagnostic.h +++ b/include/clang/Basic/PartialDiagnostic.h @@ -201,13 +201,11 @@ public: } } -#if LLVM_HAS_RVALUE_REFERENCES PartialDiagnostic(PartialDiagnostic &&Other) : DiagID(Other.DiagID), DiagStorage(Other.DiagStorage), Allocator(Other.Allocator) { Other.DiagStorage = 0; } -#endif PartialDiagnostic(const PartialDiagnostic &Other, Storage *DiagStorage) : DiagID(Other.DiagID), DiagStorage(DiagStorage), @@ -251,7 +249,6 @@ public: return *this; } -#if LLVM_HAS_RVALUE_REFERENCES PartialDiagnostic &operator=(PartialDiagnostic &&Other) { freeStorage(); @@ -262,7 +259,6 @@ public: Other.DiagStorage = 0; return *this; } -#endif ~PartialDiagnostic() { freeStorage(); |