summaryrefslogtreecommitdiff
path: root/clang/bindings
diff options
context:
space:
mode:
authorDávid Bolvanský <david.bolvansky@gmail.com>2019-11-09 18:13:34 +0100
committerDávid Bolvanský <david.bolvansky@gmail.com>2019-11-09 18:13:51 +0100
commit5c50109bb54d9ac80fee0fb2988bcaa2ff9e01d5 (patch)
tree4910f0ee6a3b6db194d66dfeb01c27c83509b3f1 /clang/bindings
parent612810e333b8445d1132e55df92df42b280d5e57 (diff)
downloadllvm-5c50109bb54d9ac80fee0fb2988bcaa2ff9e01d5.tar.gz
Fixed more -Wreturn-type tests
Diffstat (limited to 'clang/bindings')
-rw-r--r--clang/bindings/python/tests/cindex/test_diagnostics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/bindings/python/tests/cindex/test_diagnostics.py b/clang/bindings/python/tests/cindex/test_diagnostics.py
index c17d5b28efe9..52928db73035 100644
--- a/clang/bindings/python/tests/cindex/test_diagnostics.py
+++ b/clang/bindings/python/tests/cindex/test_diagnostics.py
@@ -20,7 +20,7 @@ class TestDiagnostics(unittest.TestCase):
self.assertEqual(tu.diagnostics[0].location.line, 1)
self.assertEqual(tu.diagnostics[0].location.column, 11)
self.assertEqual(tu.diagnostics[0].spelling,
- 'control reaches end of non-void function')
+ 'non-void function does not return a value')
def test_diagnostic_note(self):
# FIXME: We aren't getting notes here for some reason.