From: Idriss Riouak Date: Mon, 17 Sep 2018 12:58:19 +0000 (+0000) Subject: Fix X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87242f1052c01653b13f5b9511b9bd3fc6a7ba75;p=platform%2Fupstream%2Fllvm.git Fix llvm-svn: 342389 --- diff --git a/clang-tools-extra/test/clang-tidy/modernize-redundant-void-arg.cpp b/clang-tools-extra/test/clang-tidy/modernize-redundant-void-arg.cpp index 453a481..44a726b 100644 --- a/clang-tools-extra/test/clang-tidy/modernize-redundant-void-arg.cpp +++ b/clang-tools-extra/test/clang-tidy/modernize-redundant-void-arg.cpp @@ -491,7 +491,7 @@ void lambda_expression_with_macro_test(){ struct S_1 { void g_1(void) const { - // CHECK-MESSAGES: :[[@LINE-1]]:11: warning: redundant void argument list in function definition [modernize-redundant-void-arg] + // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: redundant void argument list in function definition [modernize-redundant-void-arg] // CHECK-FIXES: void g_1() const { int a; (void)a; @@ -506,7 +506,7 @@ struct S_1 { template struct S_2 { void g_1(void) const { - // CHECK-MESSAGES: :[[@LINE-1]]:11: warning: redundant void argument list in function definition [modernize-redundant-void-arg] + // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: redundant void argument list in function definition [modernize-redundant-void-arg] // CHECK-FIXES: void g_1() const { int a; (void)a; @@ -522,7 +522,7 @@ template struct S_3 { template void g_1(void) const { - // CHECK-MESSAGES: :[[@LINE-1]]:11: warning: redundant void argument list in function definition [modernize-redundant-void-arg] + // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: redundant void argument list in function definition [modernize-redundant-void-arg] // CHECK-FIXES: void g_1() const { int a; (void)a; @@ -537,7 +537,7 @@ struct S_3 { template void g_3(void) { // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: redundant void argument list in function definition [modernize-redundant-void-arg] - // CHECK-FIXES: void g_3(){ + // CHECK-FIXES: void g_3() { int a; (void)a; }