Martin Ettl
10da5d6d2f
std.cfg: Added configuration for std::string:find.
2015-09-21 23:01:51 +02:00
Martin Ettl
3d0cc38d90
test/cfg: Attempt to fix travis build, caused by my previous commit due to wrong configuration.
2015-09-21 14:00:24 +02:00
Martin Ettl
55ccaea4a5
std.cfg: Added more functions from <cuchar> and corresponding test cases.
2015-09-21 13:40:56 +02:00
Martin Ettl
39622417b1
Improved std.cfg and added coressponding test cases to test/cfg.
2015-09-18 23:57:20 +02:00
Martin Ettl
841ad5462d
test/cfg: Improved std.cfg and added corresponding test cases.
2015-09-18 23:02:51 +02:00
Martin Ettl
fc4b9d320d
test/cfg: Improved testing of std.cfg about std::stod().
2015-09-18 16:25:05 +02:00
orbitcowboy
fd81ee9804
test/cfg: Improved testing of std.cfg regarding uninitialized and nullPointer checks.
2015-09-11 16:50:59 +02:00
orbitcowboy
3187a2b972
test/cfg: Improved testing of std.cfg regarding null pointer dereferences.
2015-09-11 16:29:39 +02:00
Daniel Marjamäki
e09f583096
GUI: library editor, edit function comments
2015-09-10 20:11:05 +02:00
orbitcowboy
5e50166135
Improved testing of std.cfg.
2015-09-10 16:45:14 +02:00
orbitcowboy
2b416419de
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-09 16:59:26 +02:00
orbitcowboy
52090f5725
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-09 16:32:52 +02:00
orbitcowboy
e929e9e7d9
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-08 16:08:43 +02:00
orbitcowboy
60770a8fdc
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-08 15:43:22 +02:00
orbitcowboy
7d229f082c
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-08 11:45:13 +02:00
orbitcowboy
03495360d8
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-07 16:57:34 +02:00
Daniel Marjamäki
0e5f7fe567
GUI: fixes to save cfg files properly in the library editor
2015-09-06 08:48:13 +02:00
Daniel Marjamäki
c8662a7880
Reverted changes to std.cfg. It somehow causes test failures.
2015-09-05 20:36:22 +02:00
Daniel Marjamäki
ff0f4cef16
GUI: Add handling of containers to CppcheckLibraryData
2015-09-05 20:13:26 +02:00
Alexander Mai
b46df3d551
Correct attriutes for raise() in library
2015-09-05 16:58:46 +02:00
Alexander Mai
9255173267
Correct signal attributes in library
2015-09-05 13:09:56 +02:00
Alexander Mai
d0ab00b100
Correct library std.cfg about setjmp
2015-09-05 07:00:22 +02:00
Martin Ettl
bcb7dce97e
Fix Travis build.
2015-09-04 23:50:50 +02:00
Martin Ettl
6304eb35f9
Improved testing of std.cfg regarding uninitialized variables.
2015-09-04 23:45:31 +02:00
Martin Ettl
27b3461e84
Fixed #6974 - false negative: uninitialized variable not detected (signal).
2015-09-04 22:48:00 +02:00
orbitcowboy
5428813534
Improved testing of std.cfg regarding uninitialized variables.
2015-09-04 11:59:19 +02:00
orbitcowboy
c955fafd84
Improved testing of std.cfg regarding uninitialized variables.
2015-09-04 11:26:43 +02:00
orbitcowboy
9daf78527f
Improved testing of std.cfg regarding uninitialized variables.
2015-09-03 16:34:44 +02:00
orbitcowboy
b16a480dfe
Merge branch 'master' of https://github.com/danmar/cppcheck
2015-09-03 16:03:23 +02:00
orbitcowboy
84d8a869d0
Improved testing of std.cfg regarding uninitialized variables.
2015-09-03 16:03:16 +02:00
Daniel Marjamäki
92d3510de4
std.cfg: Removed <noreturn>true</noreturn>
...
that was added in the previous commit by library editor
2015-09-03 08:26:47 +02:00
Daniel Marjamäki
bfb70f3312
saving std.cfg with libraryeditor, applied some of the generated diffs.
2015-09-03 07:00:43 +02:00
orbitcowboy
34551203a6
Improved testing of std.cfg regarding uninitialized variables.
2015-09-02 17:08:25 +02:00
orbitcowboy
89c4e08fc4
Improved testing of std.cfg regarding uninitialized variables.
2015-09-02 15:43:52 +02:00
orbitcowboy
651e225069
Improved testing of std.cfg regarding uninitialized variables.
2015-09-02 12:00:03 +02:00
orbitcowboy
d87d2ff779
Improved testing of std.cfg regarding uninitialized variables.
2015-09-01 16:50:36 +02:00
orbitcowboy
c64e74492b
Improved testing of std.cfg regarding uninitialized variables.
2015-09-01 11:59:24 +02:00
orbitcowboy
974414645a
Improved testing of std.cfg regarding uninitialized variables.
2015-09-01 11:29:28 +02:00
orbitcowboy
f24fdb4257
Improved testing of std.cfg.
2015-08-31 17:10:10 +02:00
orbitcowboy
0dd0f2a97d
Improved testing of std.cfg and added more test cases.
2015-08-31 13:35:57 +02:00
orbitcowboy
d1ba919e39
Improved testing of std.cfg regarding uninitialized variables.
2015-08-31 11:59:57 +02:00
orbitcowboy
f653189bd4
Improved testing of std.cfg and added more test cases.
2015-08-31 11:39:25 +02:00
Martin Ettl
5e9325b4f4
test/cfg: Improved testing of std.cfg and added more test cases.
2015-08-30 12:05:38 +02:00
Martin Ettl
0e3b74fbbc
test/cfg: Improved testing of std.cfg. Fixed false negatives by adding more stdandard namespace functions and test cases.
2015-08-29 01:43:17 +02:00
Martin Ettl
08413f0112
test/cfg: Improved testing of std.cfg.
2015-08-29 00:09:33 +02:00
orbitcowboy
994ba5d5a4
Improved testing of std.cfg.
2015-08-28 17:04:47 +02:00
Martin Ettl
c26ec86508
std.cfg: Readded accidentially removed functions from <cfenv> and added test cases to test/cfg/std.cpp.
2015-08-16 15:05:42 +02:00
Martin Ettl
58d7b8a3f2
std.cfg: Added more test cases.
2015-08-16 14:49:35 +02:00
Martin Ettl
2665fb9481
std.cfg: Removed some non-existent functions that accidentially declared being in standard namespace. Improved testing of std.cfg functions.
2015-08-16 14:38:13 +02:00
Martin Ettl
7e189d6b91
std.cfg: Removed complex floating point podtypes.
2015-08-16 13:58:55 +02:00
Martin Ettl
1dca7c2162
std.cfg: Added float complex, double complex and long double complex as podtype.
2015-08-16 01:43:23 +02:00
Martin Ettl
716b4d6e18
Another attempt to fix the current travis build. Improved testing of std.cfg.
2015-08-16 01:21:11 +02:00
Martin Ettl
ab0862f218
std.cfg: Fixed travis build. Added noreturn to the assert-definition in std.cfg. Improved testing of std.cfg.
2015-08-16 01:09:03 +02:00
Martin Ettl
b2bf6cde5f
std.cfg: Improved testing of libary functions. Removed some non existent such as std::sinf from the libary and added corresponding test cases to test/cfg/.
2015-08-16 00:52:52 +02:00
Daniel Marjamäki
3ccb2ba9da
astyle formatting
...
[ci skip]
2015-08-15 14:26:50 +02:00
PKEuS
aaefdd2f92
std.cfg: Unified comment style
2015-08-15 11:17:29 +02:00
PKEuS
5ca82b8c69
Refactorized std.cfg:
...
- Shrinked size of std.cfg by sharing same definitions for several similiar functions (for example round, roundf and roundl share the same definitions)
- Added a few more std::-overloads
- Fixed several typos
2015-08-15 11:17:29 +02:00
Martin Ettl
e9b1f1f0a6
test/cfg/ Started to test std::complex functions.
2015-08-14 02:06:48 +02:00
PKEuS
4180ad38d4
Fixed bugs in std.cfg
2015-08-13 14:11:16 +02:00
Daniel Marjamäki
c0998cbc11
std.cfg: add std:: functions
2015-08-13 11:03:21 +02:00
Daniel Marjamäki
8d79b9595e
Merge pull request #638 from pepsiman/freopen
...
freopen does not allocate
2015-08-11 14:29:39 +02:00
PKEuS
ebfdacb0d3
Introduced .cfg file format version to 2 (to prevent older cppcheck versions from failing silently when reading them), because 5b287fc849
introduced a backward-incompatible feature.
...
Increased format version of std.cfg, which is the only cfg file that makes use of the new backward incompatible feature.
Refactorization: Avoid a redundant std::string::find()-call
2015-08-11 14:05:01 +02:00
Malcolm Parsons
fcea689a20
freopen does not allocate
2015-08-11 12:09:46 +01:00
Martin Ettl
797cac5098
Library: Started to test functions from std-namespace.
2015-08-10 23:44:36 +02:00
Daniel Marjamäki
5b287fc849
Library: The <function> name attribute can now have a comma separated list of names
2015-08-09 21:27:57 +02:00
Daniel Marjamäki
b70fe4c609
Fixed #6711 (Add namespace support to library files)
2015-08-09 19:55:33 +02:00
Daniel Marjamäki
bd56381fd2
Add configuration for div/ldiv/lldiv, 2nd argument must not be 0.
2015-07-30 14:08:59 +02:00
Alexander Mai
3c97736d44
Remove functions min()/max() from std.cfg (revert f430748
)
2015-05-13 21:25:04 +02:00
orbitcowboy
f430748e0c
std.cfg: Added support for min() and max() functions.
2015-05-07 08:45:38 +02:00
Alexander Mai
97f998e6dd
Remove <use-retval/> attribute from strto*() APIs fixing false positives
2015-05-03 16:38:13 +02:00
Daniel Marjamäki
88a6c2bf9d
std.cfg: Added <strz/> configurations
2015-05-03 16:04:15 +02:00
Martin Ettl
b5f20be151
std.cfg: Improved matching of functions. Improved documentation.
2015-04-05 22:48:53 +02:00
Martin Ettl
a16ed8f0e7
posix.cfg: Added support for more functions. std.cfg: Fixed mktime->mkxtime wrong naming and improved asctime() function checking. It is not allowed to provide a NULL pointer to asctime().
2015-04-04 23:59:05 +02:00
Martin Ettl
c89d2b16cc
std.cfg: Improved function matching of strto* functions.
2015-04-04 22:59:58 +02:00
Martin Ettl
19e4c8bed0
std.cfg: Added support for functions from <iomanip>.
2015-04-04 22:42:12 +02:00
Daniel Marjamäki
a24891f335
std.cfg: Add <not-null/> to atoll
2015-02-26 20:14:20 +01:00
Daniel Marjamäki
18285eadc7
std.cfg: Add <not-null/> to atof/atoi/atol
2015-02-26 19:47:05 +01:00
Alexander Mai
cea71f8625
Fix false positive ignoredReturnValue about strtol
2015-02-25 22:03:10 +01:00
Alexander Mai
fd7d29447d
std.cfg: snprintf(NULL,0,) is legal. Fix some testcases in test/cfg as well
2015-02-22 14:25:25 +01:00
Daniel Marjamäki
2d21eb07ba
Cleaned up snprintf hardcoding in CheckBufferOverrun
2015-02-13 06:44:38 +01:00
Daniel Marjamäki
9aad4fa8ca
CheckBufferOverrun: Remove hardcoding for sprintf and rely on cfg configuration instead
2015-02-12 17:29:36 +01:00
Daniel Marjamäki
3285f85ebf
Fixed #6460 (Library: better function/type matching)
2015-01-27 17:55:18 +01:00
orbitcowboy
3aa4f5de47
std.cfg: Fixed from spelled podtype win_t --> wint_t
2015-01-27 07:57:20 +01:00
Daniel Marjamäki
f1e7d7894f
std.cfg: arguments for rename/remove must be zero-terminated strings
2015-01-27 06:20:46 +01:00
orbitcowboy
d2b9abc4d3
std.cfg: Added missing podtypes. Fixed a FP when in fgetpos(). The second parameter is allowed to be uninitialized.
2015-01-26 11:52:41 +01:00
orbitcowboy
07ae1d4278
posix.cfg: Added support for 'DIR' dataype.
2015-01-26 08:49:35 +01:00
Martin Ettl
e5c7766293
posix.cfg and std.cfg: Added missing type definitions.
2015-01-23 18:15:03 +01:00
PKEuS
60b2b655df
Support new/delete in new uninitialized variable checking; realloc() requires an initialized first argument.
2015-01-21 23:46:52 +01:00
orbitcowboy
81aaa02c76
std.cfg: Added support for swprintf().
2015-01-19 14:30:58 +01:00
orbitcowboy
91d58a51cb
std.cfg: wcsrtombs() is allowed to have a NULL pointer as first argument.
2015-01-19 13:21:47 +01:00
orbitcowboy
7c737f0350
std.cfg: Added more functions and improved documentation.
2015-01-19 11:55:16 +01:00
Martin Ettl
e7a95e68ac
std.cfg: Improved documentation. No functional changes. [ci skip]
2015-01-18 16:11:20 +01:00
Martin Ettl
4294e7a2d9
std.cfg: Improved documentation and added support for more functions.
2015-01-18 15:31:16 +01:00
Martin Ettl
8dab677eac
std.cfg: Improved documentation and added ilogb function support.
2015-01-18 15:05:06 +01:00
Martin Ettl
7c91dd2da6
std.cfg: Improved function support and documentation.
2015-01-18 14:37:07 +01:00
Martin Ettl
b23772381d
std.cfg: Improved support for math functions.
2015-01-18 13:35:40 +01:00
orbitcowboy
42397ee8cb
std.cfg: Improved support for <cwchar> (wchar.h).
2015-01-15 23:14:10 +01:00
orbitcowboy
4e549d7d22
std.cfg: Fixed typo in previous commit, where support for wcsftime() from <cwchar> (wchar.h) was added.
2015-01-15 21:11:21 +01:00
orbitcowboy
fb984ab5e9
std.cfg: Added support for wcsftime() from <cwchar> (wchar.h).
2015-01-15 21:09:55 +01:00
orbitcowboy
4b71e5f9cb
std.cfg: Improved support for complex.h functions and improved documentation.
2015-01-15 15:25:50 +01:00