Daniel Marjamäki
|
be9e66efff
|
Fixed #2782 (Segfault with #asm)
|
2011-05-11 19:27:19 +02:00 |
Daniel Marjamäki
|
d998477c69
|
renamed --check-includes to --check-config
|
2011-05-02 21:28:33 +02:00 |
Daniel Marjamäki
|
8603919b2d
|
Missing includes - normally just report that there are missing includes. The --check-includes can then be used to check what missing includes there are. Ticket: #2719
|
2011-05-02 14:58:16 +02:00 |
Daniel Marjamäki
|
cc8a5fd23e
|
reverted 761dd419 - reporting excessive missing include messages
|
2011-05-02 14:02:49 +02:00 |
Daniel Marjamäki
|
761dd419af
|
Fixed #2719 (Fix excessive false positives in include-file handling)
|
2011-05-01 12:59:08 +02:00 |
Greg Hewgill
|
d8a4383f5f
|
Use tolowerWrapper wherever appropriate
|
2011-04-27 21:13:05 +12:00 |
Daniel Marjamäki
|
6fc59b0257
|
Fixed #2740 (inline cmd // cppcheck-suppress does not work anymore for 1.48)
|
2011-04-22 20:25:17 +02:00 |
Martin Exner
|
2b08744b97
|
Fixed #2676 (setVarId: variables with global scope qualification :: don't get varids)
|
2011-04-18 06:56:39 +02:00 |
Daniel Marjamäki
|
58dbbb0cab
|
Inconclusive checking: Report inconclusive errors with reportInconclusiveError. It takes the same parameters as reportError.
|
2011-04-14 18:02:01 +02:00 |
Daniel Marjamäki
|
e5d43d4ed2
|
Renamed Settings::stupid to Settings::experimental
|
2011-04-10 15:55:08 +02:00 |
Daniel Marjamäki
|
30ee9ba6e4
|
Added Settings::stupid flag that can be used to hide checking that generates false positives.
|
2011-04-10 13:23:45 +02:00 |
Daniel Marjamäki
|
76679255a3
|
Preprocessor: Use %oror% in multiCompare pattern
|
2011-04-10 11:50:19 +02:00 |
Daniel Marjamäki
|
e94e3eca82
|
Preprocessor: Use %oror% in multiCompare pattern
|
2011-04-10 11:47:49 +02:00 |
Daniel Marjamaki
|
fbc8223a6b
|
Preprocessor: Fixed expandMacros problem. Ticket: #2707
|
2011-04-07 16:53:42 +02:00 |
Daniel Marjamäki
|
b5bdb9eeae
|
fixed gcc compiler warning
|
2011-04-06 21:40:50 +02:00 |
Daniel Marjamaki
|
cb473a48b7
|
Preprocessor: Use Settings::debugwarnings instead of NDEBUG to determine if 'missing system include' should be reported or not
|
2011-04-06 19:49:04 +02:00 |
Stefan Weil
|
675e63b6a7
|
Spell checks
|
2011-03-30 16:45:31 +02:00 |
Daniel Marjamäki
|
a177fc4b24
|
Preprocessor: made sure string::iterator is valid after string::erase
|
2011-03-07 22:00:30 +01:00 |
Daniel Marjamäki
|
80235b0d53
|
astyle formatting
|
2011-03-06 21:15:58 +01:00 |
Greg Hewgill
|
7daa6b9370
|
Always pass unsigned char to ::isspace to prevent runtime error in MSVC
|
2011-03-07 07:58:44 +13:00 |
Greg Hewgill
|
b9df7735c5
|
switchCaseFallThrough is now an inconclusive check
|
2011-03-06 13:06:30 +13:00 |
Greg Hewgill
|
c8394909c0
|
Relax detection of 'fall through' comment so it only adds a suppression if it immediately precedes 'case' or 'default'
|
2011-03-06 12:14:10 +13:00 |
Greg Hewgill
|
8c245cfd2f
|
switchCaseFallThrough is now a coding style check (ticket #2623)
|
2011-03-06 09:43:27 +13:00 |
Greg Hewgill
|
e12ae654a8
|
Support a few more common styles of "fall through" comment
|
2011-03-05 18:02:38 +13:00 |
Greg Hewgill
|
cc7e05a5b0
|
fix case where fall through comment precedes preprocessor line
|
2011-03-05 00:45:58 +13:00 |
Greg Hewgill
|
1a606a57fd
|
slightly more flexible detection of 'fall through' comment
|
2011-03-05 00:45:58 +13:00 |
Greg Hewgill
|
610d2efaea
|
recognise fall through in c style comments
|
2011-03-05 00:45:58 +13:00 |
Greg Hewgill
|
93ea774484
|
initial simplistic implementation of switchCaseFallThrough
|
2011-03-05 00:45:57 +13:00 |
Greg Hewgill
|
2efb2efaca
|
refactor #if 0 handling to leave preprocessor statements alone
|
2011-03-01 20:04:11 +13:00 |
Greg Hewgill
|
a331516735
|
handle #if (0) after removing parentheses
|
2011-03-01 19:50:17 +13:00 |
Greg Hewgill
|
31c56d7353
|
handle embedded whitespace in #if 0 processing
|
2011-03-01 19:32:47 +13:00 |
Daniel Marjamäki
|
96c85104ab
|
astyle formatting
|
2011-02-26 20:09:14 +01:00 |
Daniel Marjamäki
|
ab2bf0ee0c
|
Fixed #2575 (false positive: Preprocessor does not ignore #include within #if 0 block)
|
2011-02-26 10:04:38 -08:00 |
Daniel Marjamäki
|
32a49235e3
|
Fixed #2578 (Preprocessor does not correctly handle #define A 0 / #if A)
|
2011-02-23 13:08:24 -08:00 |
Daniel Marjamäki
|
9983aa5721
|
Fixed #2605 (cppcheck hangs with 100% cpu load ( #define = ))
|
2011-02-22 19:55:02 +01:00 |
Daniel Marjamäki
|
c52704e636
|
astyle formatting
|
2011-02-20 21:00:03 +01:00 |
Daniel Marjamäki
|
c3fba356c0
|
Fixed #2563 (#if equality testing does not ignore parentheses)
|
2011-02-20 20:57:28 +01:00 |
Greg Hewgill
|
98ab34b2b5
|
Support cppcheck-suppression in C style comments
|
2011-02-20 11:44:42 +13:00 |
Ettl Martin
|
d2a1d3f14a
|
fixed pre/post increment warings, found during selfcheck
|
2011-02-13 23:57:07 +01:00 |
Daniel Marjamäki
|
227a6100f7
|
astyle formatting
|
2011-02-11 19:31:37 +01:00 |
Greg Hewgill
|
f2f2d1f885
|
Fixed #2571 (Preprocessor: better handling for #undef)
|
2011-02-11 18:51:22 +01:00 |
Greg Hewgill
|
751f8d46e5
|
Fixed #2570 (Preprocessor: #define parsing when there is no whitespace between a macro symbol and its double-quoted string expansion)
|
2011-02-11 18:01:27 +01:00 |
Erik Lax
|
b3e8ef9d48
|
Fixed #2559 (Refactoring Preprocessor::read)
|
2011-02-11 06:30:42 +01:00 |
Daniel Marjamäki
|
7c9e52546d
|
Fixed #2552 (preprocessor check XX is already guaranteed to be defined -- too eager?)
|
2011-02-07 20:26:29 +01:00 |
Raphael Geissert
|
8d5863133c
|
Use Token::simpleMatch where no patterns are used
|
2011-02-02 13:27:01 -06:00 |
Raphael Geissert
|
386de53ff7
|
Formatting, sorry
|
2011-01-30 20:37:37 -06:00 |
Raphael Geissert
|
29ca5fbe1e
|
Minor optimisations to the preprocessor
|
2011-01-30 18:47:49 -06:00 |
Raphael Geissert
|
b4a249f26e
|
Reduce std::string::find() abuse
|
2011-01-30 18:40:59 -06:00 |
Raphael Geissert
|
66253af1e5
|
Handle "#endif !defined" conditionals
|
2011-01-30 17:33:44 -06:00 |
Raphael Geissert
|
b944168bdc
|
Check for cpp conditionals where a define is already guaranteed
|
2011-01-30 12:47:17 -06:00 |