easyaspi314 added a comment.
How about "this non-void {function|block} {may|does} not return a value"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69762/new/
https://reviews.llvm.org/D69762
___
cfe-co
easyaspi314 added inline comments.
Comment at: bindings/python/tests/cindex/test_diagnostics.py:18
self.assertEqual(tu.diagnostics[0].spelling,
-'control reaches end of non-void function')
+'non-void function does not return a value')
--
easyaspi314 added inline comments.
Comment at: docs/DiagnosticsReference.rst:9097
| |++|
|
+--
easyaspi314 created this revision.
easyaspi314 added a project: clang.
Herald added a subscriber: cfe-commits.
Replace [-Wreturn-type] messages, "control reaches/may reach end of non-void
x", to "non-void x does/might not return a value".
F5962917: Screen Shot 2018-04-13 at 6.56.17 PM.png