Richard Quirk d28cf42d4c Fix ticket #3317 (same expression false positives)
Add a check for function calls that have no side effects. That means
known const methods and a list including strcmp, strlen, etc.

If the function is not known to be side effect-free then no style
warning is given.

Add test cases for the duplicate expressions.
2011-11-23 21:39:03 +01:00
..
2011-11-20 16:50:41 +01:00
2011-11-22 19:54:15 +01:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-10-20 09:01:58 +02:00
2011-10-13 20:53:06 +02:00
2011-10-31 15:12:29 +01:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-11-20 19:06:55 +01:00