diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-06 21:42:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-07 14:42:07 +0100 |
commit | 52e5b6e38a16c902fd5d0b24a1755b934eb37881 (patch) | |
tree | 6bf18f48906b2cdbc3808685506eb1679a107241 /compilerplugins/clang | |
parent | 063a511583df8c2253c16ac5eb617ecf9eee7754 (diff) |
loplugin:cstylecast: Exclude only sal, not salhelper
Change-Id: Ib09f2b794ce7a1e650275750a67c6c8ad5d7c808
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/cstylecast.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/cstylecast.cxx b/compilerplugins/clang/cstylecast.cxx index 7c410733fd96..d6c46365b75b 100644 --- a/compilerplugins/clang/cstylecast.cxx +++ b/compilerplugins/clang/cstylecast.cxx @@ -97,7 +97,7 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) { return true; } if ( compat::isInMainFile(compiler.getSourceManager(), spellingLocation) ) { - if (filename.startswith(SRCDIR "/sal") // sal has tons of weird stuff going on that I don't understand enough to fix + if (filename.startswith(SRCDIR "/sal/") // sal has tons of weird stuff going on that I don't understand enough to fix || filename.startswith(SRCDIR "/bridges")) { // I'm not messing with this code - far too dangerous return true; } |