[llvm] r284876 - [ADT] Get rid of use of LLVM_NOEXCEPT in CachedHashString.h.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 13:28:00 PDT 2016


Author: jlebar
Date: Fri Oct 21 15:28:00 2016
New Revision: 284876

URL: http://llvm.org/viewvc/llvm-project?rev=284876&view=rev
Log:
[ADT] Get rid of use of LLVM_NOEXCEPT in CachedHashString.h.

LLVM_NOEXCEPT is no longer necessary (yay).

Modified:
    llvm/trunk/include/llvm/ADT/CachedHashString.h

Modified: llvm/trunk/include/llvm/ADT/CachedHashString.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/CachedHashString.h?rev=284876&r1=284875&r2=284876&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/CachedHashString.h (original)
+++ llvm/trunk/include/llvm/ADT/CachedHashString.h Fri Oct 21 15:28:00 2016
@@ -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();
   }
 




More information about the llvm-commits mailing list