• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GCC with patches for OS216


Commit MetaInfo

Revisioneef63aacb255befb4e483cf680a3d0dcb2d8794e (tree)
Zeit2020-07-01 00:32:39
AutorIain Sandoe <iain@sand...>
CommiterIain Sandoe

Log Message

coroutines: Fix a diagnostic trailing space warning.

A recently add diagnostic has a trailing space.
Fixed thus.

gcc/cp/ChangeLog:

* coroutines.cc (morph_fn_to_coro): Remove trailing
space in a diagnostic.

Ändern Zusammenfassung

Diff

--- a/gcc/cp/coroutines.cc
+++ b/gcc/cp/coroutines.cc
@@ -4119,7 +4119,7 @@ morph_fn_to_coro (tree orig, tree *resumer, tree *destroyer)
41194119 else if (!grooaf && TYPE_NOTHROW_P (TREE_TYPE (func)))
41204120 warning_at (fn_start, 0, "%qE is marked %<throw()%> or %<noexcept%> but"
41214121 " no usable %<get_return_object_on_allocation_failure%>"
4122- " is provided by %qT ", nwname, promise_type);
4122+ " is provided by %qT", nwname, promise_type);
41234123 }
41244124 else /* No operator new in the promise. */
41254125 {