summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-10-19 23:39:55 +0000
committerReid Kleckner <rnk@google.com>2016-10-19 23:39:55 +0000
commit3582f4370ed84b0420b57b2ea2bc6ed9ed22c3d5 (patch)
treeb001b3cae12fe1fd5181c8dbfda05159b4a887a3 /utils
parent57c31dd611eab528c5d16c7d721e44697bb9e460 (diff)
Use noexcept instead of LLVM_NOEXCEPT now that all compilers support it
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/ClangDiagnosticsEmitter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/TableGen/ClangDiagnosticsEmitter.cpp b/utils/TableGen/ClangDiagnosticsEmitter.cpp
index 9c9739a959..cad08afd84 100644
--- a/utils/TableGen/ClangDiagnosticsEmitter.cpp
+++ b/utils/TableGen/ClangDiagnosticsEmitter.cpp
@@ -929,8 +929,7 @@ struct DiagText {
};
struct SelectPiece : Piece {
SelectPiece() {}
- SelectPiece(SelectPiece &&O) LLVM_NOEXCEPT : Options(std::move(O.Options)) {
- }
+ SelectPiece(SelectPiece &&O) noexcept : Options(std::move(O.Options)) {}
std::vector<DiagText> Options;
void print(std::vector<std::string> &RST) override;
};
@@ -938,7 +937,7 @@ struct DiagText {
std::vector<std::unique_ptr<Piece>> Pieces;
DiagText();
- DiagText(DiagText &&O) LLVM_NOEXCEPT : Pieces(std::move(O.Pieces)) {}
+ DiagText(DiagText &&O) noexcept : Pieces(std::move(O.Pieces)) {}
DiagText(StringRef Text);
DiagText(StringRef Kind, StringRef Text);