Kaydet (Commit) 52e5b6e3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: Exclude only sal, not salhelper

Change-Id: Ib09f2b794ce7a1e650275750a67c6c8ad5d7c808
üst 063a5115
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment