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 | c0b91adf84e3f427d953eb502d3dc1cf6b45c828 (patch) | |
| tree | acc590fd45d5641617aae5c07475d7c24682638a | |
| parent | 667363b3e3a9a8a37a387f3bbc7a72916dcf4912 (diff) | |
| download | bcm5719-llvm-c0b91adf84e3f427d953eb502d3dc1cf6b45c828.tar.gz bcm5719-llvm-c0b91adf84e3f427d953eb502d3dc1cf6b45c828.zip | |
[C++11] Remove use of LLVM_HAS_RVALUE_REFERENCES from Clang. This macro
is now always 1, as we're requiring C++11 now!
llvm-svn: 202584
| -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(); |

