Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@342389 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
IdrissRio committed Sep 17, 2018
1 parent 09ab9ae commit 77ed1cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/clang-tidy/modernize-redundant-void-arg.cpp
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit 77ed1cd

Please sign in to comment.