[clang] d851a79 - [NFC] Refactor the outdated warning message about removing std::experimental::coroutine
Chuanqi Xu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 11 23:33:02 PST 2023
Author: Chuanqi Xu
Date: 2023-01-12T15:32:40+08:00
New Revision: d851a7937e7669cf1f04768ffb4593ba179fd32a
URL: https://github.com/llvm/llvm-project/commit/d851a7937e7669cf1f04768ffb4593ba179fd32a
DIFF: https://github.com/llvm/llvm-project/commit/d851a7937e7669cf1f04768ffb4593ba179fd32a.diff
LOG: [NFC] Refactor the outdated warning message about removing std::experimental::coroutine
The warning message is out of date. According to
https://github.com/llvm/llvm-project/issues/59110 and
https://reviews.llvm.org/D108697, this would be removed in LLVM17.
Added:
Modified:
clang/include/clang/Basic/DiagnosticSemaKinds.td
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td
index 7154a8bcbde47..3426921994858 100644
--- a/clang/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td
@@ -11274,7 +11274,7 @@ def err_implied_coroutine_type_not_found : Error<
"a coroutine; include <experimental/coroutine> if your version "
"of libcxx is less than 14.0">;
def warn_deprecated_coroutine_namespace : Warning<
- "support for std::experimental::%0 will be removed in LLVM 15; "
+ "support for std::experimental::%0 will be removed in LLVM 17; "
"use std::%0 instead">,
InGroup<DeprecatedExperimentalCoroutine>;
def err_mixed_use_std_and_experimental_namespace_for_coroutine : Error<
More information about the cfe-commits
mailing list