summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-10-21 20:28:00 +0000
committerJustin Lebar <jlebar@google.com>2016-10-21 20:28:00 +0000
commit3c37dc0cb2d83bccc966b165a57e402fdb416552 (patch)
treed12e6d2a019556d13cca05bd2c1688b2326ff903
parent6c7dd980e4eb68da22abaae5ac749a6b3e465969 (diff)
downloadbcm5719-llvm-3c37dc0cb2d83bccc966b165a57e402fdb416552.tar.gz
bcm5719-llvm-3c37dc0cb2d83bccc966b165a57e402fdb416552.zip
[ADT] Get rid of use of LLVM_NOEXCEPT in CachedHashString.h.
LLVM_NOEXCEPT is no longer necessary (yay). llvm-svn: 284876
-rw-r--r--llvm/include/llvm/ADT/CachedHashString.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/include/llvm/ADT/CachedHashString.h b/llvm/include/llvm/ADT/CachedHashString.h
index c86726e95d3..d0ca27e4299 100644
--- a/llvm/include/llvm/ADT/CachedHashString.h
+++ b/llvm/include/llvm/ADT/CachedHashString.h
@@ -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();
}
OpenPOWER on IntegriCloud