]> granicus.if.org Git - llvm/commitdiff
[ADT] Get rid of use of LLVM_NOEXCEPT in CachedHashString.h.
authorJustin Lebar <jlebar@google.com>
Fri, 21 Oct 2016 20:28:00 +0000 (20:28 +0000)
committerJustin Lebar <jlebar@google.com>
Fri, 21 Oct 2016 20:28:00 +0000 (20:28 +0000)
LLVM_NOEXCEPT is no longer necessary (yay).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284876 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/CachedHashString.h

index c86726e95d3178f1d9829855781c76c523f55993..d0ca27e42996c9a4dd0e071894093547f91e2f76 100644 (file)
@@ -119,9 +119,8 @@ public:
     return *this;
   }
 
-  CachedHashString(CachedHashString &&Other) LLVM_NOEXCEPT : P(Other.P),
-                                                             Size(Other.Size),
-                                                             Hash(Other.Hash) {
+  CachedHashString(CachedHashString &&Other) noexcept
+      : P(Other.P), Size(Other.Size), Hash(Other.Hash) {
     Other.P = getEmptyKeyPtr();
   }