diff options
Diffstat (limited to 'include/clang/Sema/SemaInternal.h')
| -rw-r--r-- | include/clang/Sema/SemaInternal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Sema/SemaInternal.h b/include/clang/Sema/SemaInternal.h index 76567f3b77f40..a01e8d639f603 100644 --- a/include/clang/Sema/SemaInternal.h +++ b/include/clang/Sema/SemaInternal.h @@ -333,12 +333,12 @@ private: inline Sema::TypoExprState::TypoExprState() {} -inline Sema::TypoExprState::TypoExprState(TypoExprState &&other) LLVM_NOEXCEPT { +inline Sema::TypoExprState::TypoExprState(TypoExprState &&other) noexcept { *this = std::move(other); } -inline Sema::TypoExprState &Sema::TypoExprState::operator=( - Sema::TypoExprState &&other) LLVM_NOEXCEPT { +inline Sema::TypoExprState &Sema::TypoExprState:: +operator=(Sema::TypoExprState &&other) noexcept { Consumer = std::move(other.Consumer); DiagHandler = std::move(other.DiagHandler); RecoveryHandler = std::move(other.RecoveryHandler); |
