diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-19 09:00:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-19 11:34:15 +0200 |
commit | 45c06838e95c94445359536d84c6328fa8b17a66 (patch) | |
tree | da05ccf67ce15d5afc78c2ddb80d117c0a576c84 /compilerplugins/clang/test/redundantinline.hxx | |
parent | d3e0ab976a5bbf63d1673422035def67ba9f4838 (diff) |
only unit-test one loplugin at a time
tell the plugin code when we are unit-testing it, so we can suppress all
the warnings except for the plugin we are currently testing
Change-Id: I240c8e37eba90c219e53c29531a3a43bc841a1c8
Diffstat (limited to 'compilerplugins/clang/test/redundantinline.hxx')
-rw-r--r-- | compilerplugins/clang/test/redundantinline.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/test/redundantinline.hxx b/compilerplugins/clang/test/redundantinline.hxx index a0c91ceb67be..e4efc5663e42 100644 --- a/compilerplugins/clang/test/redundantinline.hxx +++ b/compilerplugins/clang/test/redundantinline.hxx @@ -19,7 +19,7 @@ S1::S1() = default; struct S2 { inline S2() = default; // expected-error {{[loplugin:redundantinline]}} - inline ~S2() = default; // expected-error {{[loplugin:redundantinline]}} expected-error {{[loplugin:unnecessaryoverride]}} + inline ~S2() = default; // expected-error {{[loplugin:redundantinline]}} }; struct S3 { |