diff options
| author | Idriss Riouak <riouakidriss@hotmail.it> | 2018-09-17 12:58:19 +0000 |
|---|---|---|
| committer | Idriss Riouak <riouakidriss@hotmail.it> | 2018-09-17 12:58:19 +0000 |
| commit | 87242f1052c01653b13f5b9511b9bd3fc6a7ba75 (patch) | |
| tree | a6cf29bcb791af77d4dad3ab112c3ac38bf0314c | |
| parent | 09767acae1632bdce2604b11705149a9ea4c2825 (diff) | |
| download | bcm5719-llvm-87242f1052c01653b13f5b9511b9bd3fc6a7ba75.tar.gz bcm5719-llvm-87242f1052c01653b13f5b9511b9bd3fc6a7ba75.zip | |
Fix
llvm-svn: 342389
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/modernize-redundant-void-arg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 453a4816af0..44a726b5c68 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 <typename T0> 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 <typename T0> struct S_3 { template <typename T1> 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 <typename T1> 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; } |

