Carlo Marcelo Arenas Belon
aa0560fe3b
Fixed #4925 (False positive: checkother style)
...
When using a variable that is assigned a function pointer checks for
pointers are triggered which would complain if used in arithmetic
comparisions (eventhough it will be valid code if the function returns
an int)
2013-07-24 08:22:24 +02:00
Daniel Marjamäki
8aa99e8c54
manual: fixed docbook syntax errors
2013-07-23 08:04:32 +02:00
Daniel Marjamäki
05aa400b68
manual: document <strz> and <formatstr>
2013-07-23 07:18:00 +02:00
Daniel Marjamäki
a1fafa7f06
Library: added <formatstr> and <strz> to argument checks
2013-07-22 20:21:45 +02:00
Robert Reif
20f81f92d9
CheckIO: Improved handling of h, hh, l, and ll.
2013-07-22 08:28:29 +02:00
Daniel Marjamäki
464dccc188
htdocs/archive: added download
2013-07-22 08:22:06 +02:00
Daniel Marjamäki
e54bc77ad2
astyle formatting
2013-07-22 07:26:15 +02:00
Lucas Manuel Rodriguez
7e556c215e
Fixed #4861 (Improve check: object is destroyed immediately not detected when calling overloaded constructor)
2013-07-22 07:25:53 +02:00
XhmikosR
63cba99d7e
Fix democlient compilation under MSYS.
2013-07-21 19:15:59 +02:00
Daniel Marjamäki
011fd3bed9
checksizeof: Fixed compiler error on VS. Missing header.
2013-07-21 19:00:12 +02:00
Daniel Marjamäki
79fa4e7226
htdocs/archive: improved xml validation
2013-07-21 17:00:12 +02:00
Daniel Marjamäki
cb73a1d0c7
tools/times: modified script to allow longer dataseries
2013-07-21 13:16:34 +02:00
Daniel Marjamäki
6e7c29987d
webarchive: updated validation
2013-07-21 11:27:50 +02:00
Robert Reif
f11e54aa42
Fixed #4902 (printf and scanf format checks don't support microsoft %I, %I32 and %I64 extensions)
2013-07-21 08:35:01 +02:00
Daniel Marjamäki
2ab8489e1b
archive: added report.c
2013-07-21 08:26:25 +02:00
Daniel Marjamäki
71138cffd2
manual: cleanup
2013-07-20 19:44:39 +02:00
Robert Reif
e6ab8f478b
Symbol database: improved handling of array members
2013-07-20 17:51:13 +02:00
Daniel Marjamäki
37716fb8bb
Tokenizer: Set variable() pointer for array members
2013-07-20 17:46:39 +02:00
Lucas Manuel Rodriguez
59f448da8a
Fixed #4908 (False positive: void * calculation (struct member, cast))
2013-07-20 17:20:16 +02:00
Daniel Marjamäki
0c5e39a813
Library: Added configuration file std.cfg that clients should load.
2013-07-20 17:12:56 +02:00
Daniel Marjamäki
941da42cfd
GUI: updated swedish translation
2013-07-20 16:01:02 +02:00
Daniel Marjamäki
0832734503
Library: Fixed compiler error
2013-07-20 15:40:57 +02:00
Daniel Marjamäki
be5e4ccfd5
Library: Renamed <ignore> to <leak-ignore>
2013-07-20 13:12:24 +02:00
Daniel Marjamäki
9c67af058a
SymbolDatabase: Renamed Variable::varId() to Variable::declarationId() to make it more clear how it works.
2013-07-20 12:31:04 +02:00
Daniel Marjamäki
1a2aaa6780
Library: If load from current path fails, try to load 'default' configuration from cppcheck-executable path. Allow that '.cfg' extension is not used. Allow that multiple configurations are provided (comma separated).
2013-07-20 10:21:05 +02:00
Daniel Marjamäki
1dc8b1706b
cfg/gtk.cfg: Updated configuration
2013-07-20 10:19:12 +02:00
Daniel Marjamäki
a216edfd07
updated manual and CLI --help output
2013-07-20 09:38:44 +02:00
Daniel Marjamäki
4a2c200b7a
renamed the folder data/ to cfg/ in the repo
2013-07-20 08:26:15 +02:00
Daniel Marjamäki
dfed6bbea0
Fixed #4445 (Token::Match called with varid 0)
2013-07-19 21:18:54 +02:00
XhmikosR
e09dfadce6
htdocs: Make the Cppcheck header clickable.
2013-07-19 09:39:11 +02:00
Daniel Marjamäki
7eb1f36200
astyle formatting
2013-07-19 09:28:45 +02:00
Daniel Marjamäki
794aebe3cf
MathLib: Return inf.0 for NAN and INF calculations
2013-07-19 09:27:33 +02:00
Daniel Marjamäki
f02e885b42
CheckMemoryLeakInFunction: Use <ignore> info from Library
2013-07-19 07:50:54 +02:00
Daniel Marjamäki
6fe1b92a47
Improved --check-library messages
2013-07-16 18:50:25 +02:00
Daniel Marjamäki
c071d752e0
Manual: Made chapter about library configuration shorter
2013-07-16 10:28:43 +02:00
Daniel Marjamäki
fa7f8ddc78
Library: Renamed Argument to ArgumentChecks to make it a bit more clear
2013-07-16 09:40:31 +02:00
XhmikosR
548234ba50
Trim trailing spaces.
2013-07-16 09:02:31 +02:00
XhmikosR
29475d056a
Use the full sourceforget.net url.
2013-07-16 09:01:56 +02:00
Daniel Marjamäki
d25e7d4a21
Library: fixed problems
2013-07-16 08:21:38 +02:00
Daniel Marjamäki
2a884446be
Library: document not-null and not-uninit argument configuration
2013-07-15 21:58:29 +02:00
Daniel Marjamäki
24dfc052e2
astyle formatting
2013-07-15 21:57:58 +02:00
Daniel Marjamäki
a01e54fdd9
astyle formatting
2013-07-15 21:57:10 +02:00
Daniel Marjamäki
7b5c58d286
astyle formatting
2013-07-15 21:56:31 +02:00
Daniel Marjamäki
7443883b9c
Library: Improved handling in CheckNullPointer::parseFunctionCall for Library data
2013-07-15 18:55:40 +02:00
Daniel Marjamäki
66d8fa62d1
Library: added init attribute to <alloc>
2013-07-15 08:44:00 +02:00
Daniel Marjamäki
16d0a818c9
manual: describe rules and library configuration
2013-07-14 16:41:20 +02:00
Daniel Marjamäki
b2f6e9e3eb
library: improved handling of noreturn. The Tokenizer::isScopeNoReturn will now try to use the library to determine if scope is noreturn.
2013-07-14 10:10:11 +02:00
Daniel Marjamäki
7d237579c9
htdocs/archive: renamed 'history.txt' to 'setfiledata.log'. use full url cppcheck.sourceforge.net.
2013-07-13 21:02:45 +02:00
Daniel Marjamäki
ab2d2a7484
democlient: log input
2013-07-13 18:15:20 +02:00
Daniel Marjamäki
dcb38ff637
htdocs/archive: Save every version
2013-07-13 17:32:48 +02:00