From 5c50109bb54d9ac80fee0fb2988bcaa2ff9e01d5 Mon Sep 17 00:00:00 2001 From: Dávid Bolvanský Date: Sat, 9 Nov 2019 18:13:34 +0100 Subject: Fixed more -Wreturn-type tests --- clang/test/Frontend/ast-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Frontend') diff --git a/clang/test/Frontend/ast-main.cpp b/clang/test/Frontend/ast-main.cpp index 89fd5e5a638..e6e2825bb33 100644 --- a/clang/test/Frontend/ast-main.cpp +++ b/clang/test/Frontend/ast-main.cpp @@ -10,7 +10,7 @@ struct S { }; template T *S::mf() { - // warning: control reaches end of non-void function [-Wreturn-type] + // warning: non-void function does not return a value [-Wreturn-type] } void f() { -- cgit v1.2.3