diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-21 14:43:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-21 14:43:01 +0200 |
commit | f3872352b3e576530f9a5d27a6ab8b805d8ea911 (patch) | |
tree | e5911ad6d397e92e8b8fecabb2e44d6c7835b3d4 /compilerplugins/clang/unusedmethods.cxx | |
parent | 07645b443a276da2ee8853c84fbf61a59d59b4bd (diff) |
fix my previous commit
Change-Id: I287d99a46eda90718a3c4ec2c92f7b063babeb24
Diffstat (limited to 'compilerplugins/clang/unusedmethods.cxx')
-rw-r--r-- | compilerplugins/clang/unusedmethods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedmethods.cxx b/compilerplugins/clang/unusedmethods.cxx index ad5582e3f36b..692e91e932bc 100644 --- a/compilerplugins/clang/unusedmethods.cxx +++ b/compilerplugins/clang/unusedmethods.cxx @@ -269,7 +269,7 @@ bool UnusedMethods::VisitVarDecl( const VarDecl* varDecl ) if (!recordDecl) return true; // workaround clang-3.5 issue -#if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 6 +#if __clang_major__ > 3 || ( __clang_major__ == 3 && __clang_minor__ >= 6 ) if (!recordDecl->getTemplateInstantiationPattern()) return true; #endif |