diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-25 11:24:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-25 11:24:12 +0100 |
commit | f1eb0bf75296ee9c59241507a1e03f4de770afa1 (patch) | |
tree | e89f4ea8b7cf713cb342e7a291091d18d6482bac /compilerplugins | |
parent | bf53daa49aee46c1e0a5c4117841bc5b9b992f6d (diff) |
Clean up CLANG_VERSION check
Change-Id: Idfdffd73e9029216775d2a6ad46293ee1a4f1308
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/test/datamembershadow.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compilerplugins/clang/test/datamembershadow.cxx b/compilerplugins/clang/test/datamembershadow.cxx index 24a0da9f99de..5965421360ec 100644 --- a/compilerplugins/clang/test/datamembershadow.cxx +++ b/compilerplugins/clang/test/datamembershadow.cxx @@ -7,9 +7,12 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <sal/config.h> + +#include <config_clang.h> // '#if CLANG_VERSION >= 30800' covers large parts of compilerplugins/clang/datamembershadow.cxx -#if (__clang_major__ == 3 && __clang_minor__ >= 8) || __clang_major__ > 3 +#if CLANG_VERSION >= 30800 struct Bar { int x; // expected-note {{superclass member here [loplugin:datamembershadow]}} }; |