diff options
-rw-r--r-- | clang/include/clang/Basic/PartialDiagnostic.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/include/clang/Basic/PartialDiagnostic.h b/clang/include/clang/Basic/PartialDiagnostic.h index dd29926fce7..9be733ae093 100644 --- a/clang/include/clang/Basic/PartialDiagnostic.h +++ b/clang/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(); |