[all-commits] [llvm/llvm-project] 565c17: [clang] Adjust coroutine namespace diagnostics
Nathan Sidwell via All-commits
all-commits at lists.llvm.org
Mon Dec 20 08:51:24 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 565c17574dd062cf3096d578c4a2ab058f494c6d
https://github.com/llvm/llvm-project/commit/565c17574dd062cf3096d578c4a2ab058f494c6d
Author: Nathan Sidwell <nathan at acm.org>
Date: 2021-12-20 (Mon, 20 Dec 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaCoroutine.cpp
M clang/test/SemaCXX/co_await-range-for-exp-namespace.cpp
M clang/test/SemaCXX/coreturn-eh-exp-namespace.cpp
M clang/test/SemaCXX/coreturn-exp-namespace.cpp
M clang/test/SemaCXX/coroutine-final-suspend-noexcept-exp-namespace.cpp
M clang/test/SemaCXX/coroutine-mixed-exp-namespace.cpp
M clang/test/SemaCXX/coroutine-mixed2-exp-namespace.cpp
M clang/test/SemaCXX/coroutine-rvo-exp-namespace.cpp
M clang/test/SemaCXX/coroutine-seh-exp-namespace.cpp
M clang/test/SemaCXX/coroutine-traits-undefined-template-exp-namespace.cpp
M clang/test/SemaCXX/coroutine-unhandled_exception-warning-exp-namespace.cpp
M clang/test/SemaCXX/coroutine_handle-address-return-type-exp-namespace.cpp
M clang/test/SemaCXX/coroutines-exp-namespace.cpp
Log Message:
-----------
[clang] Adjust coroutine namespace diagnostics
The diagnostics concerning mixing std::experimental and std are
somewhat wordy and have some typographical errors. Diagnostics do not
start with a capital letter nor end with a fullstop. Usually we try
and link clauses with a semicolon, rather than start a new sentence.
So that's what this patch does. Along with avoiding repetition about
std::experimental going away.
Differential Revision: https://reviews.llvm.org/D116026
More information about the All-commits
mailing list