summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-02 22:15:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-02 22:15:38 +0300
commitd0cc5158fbd3168a6ece834ca46b1635cb150012 (patch)
tree4a5ce569c1c95bb4a3bbaf004192741e44118938
parent1bc6a5a9601d953a914563d7782764b02607aa35 (diff)
downloadmplint-d0cc5158fbd3168a6ece834ca46b1635cb150012.tar.gz
mplint-d0cc5158fbd3168a6ece834ca46b1635cb150012.tar.bz2
mplint-d0cc5158fbd3168a6ece834ca46b1635cb150012.tar.xz
mplint-d0cc5158fbd3168a6ece834ca46b1635cb150012.zip
add debug files into ignore in final rule.
-rw-r--r--src/rules/final.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/final.cpp b/src/rules/final.cpp
index 7e4d661..a3ef501 100644
--- a/src/rules/final.cpp
+++ b/src/rules/final.cpp
@@ -24,6 +24,12 @@ registerRuleExt(finalCheck, "007", "(.+)[.](cpp|h)")
startRule(finalCheck)
{
+ if (strEndWith(file, "debug/debug_new.cpp")
+ || strEndWith(file, "debug/fast_mutex.h")
+ || strEndWith(file, "debug/debug_new.h"))
+ {
+ terminateRule();
+ }
}
endRule(finalCheck)