Commit Graph

108 Commits

Author SHA1 Message Date
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
orbitcowboy 4222333785 std.cfg: Added documentation to some functions. 2015-01-15 10:43:15 +01:00
orbitcowboy 823af34c67 std.cfg: Added support for <cwtype> (wtype.h) functions. 2015-01-14 06:54:35 +01:00
orbitcowboy c4fc2181a7 std.cfg: Added support for <csignal> (signal.h) functions. 2015-01-13 23:13:25 +01:00
orbitcowboy da1389880a std.cfg: Documented <csetjmp> (setjmp.h) functions. No functional changes. 2015-01-13 21:55:43 +01:00
orbitcowboy b10a082ba5 std.cfg: Added support for <clocale> (locale.h) functions. 2015-01-13 21:49:08 +01:00
orbitcowboy c8678c90f4 std.cfg: Fixed missing attributes of <ctime> (time.h) functions. 2015-01-13 19:29:44 +01:00
orbitcowboy 3f6933c7e3 std.cfg: Added support for <cfenv> (fenv.h) functions. 2015-01-13 19:21:22 +01:00
Martin Ettl 6f000fb16b Fixed #6407: Add support for C++11 float_t and double_t types. 2015-01-11 09:58:15 +01:00
Alexander Mai b30f03709a Remove <use-retval/> for feclearexcept() and getwchar() 2015-01-10 18:16:07 +01:00
PKEuS c4269b3b44 Fixed #6390, strncmp and similar functions are <pure/> 2015-01-09 14:35:12 +01:00
orbitcowboy a5e3f2889c std.cfg: Added functions from <cfenv>. 2015-01-09 13:39:46 +01:00
orbitcowboy 85bca7e22f std.cfg: Improved documentation for some functions. No functional changes. 2015-01-07 20:15:08 +01:00
orbitcowboy 346ec0e7e9 std.cfg: Added support for <cmath> functions. 2015-01-07 14:02:33 +01:00
orbitcowboy 64d81a6552 std.cfg: Improved <cstring> function strerror. 2015-01-07 10:29:53 +01:00
orbitcowboy fa5375bf94 Added more functions from <cwchar> to std.cfg. 2015-01-07 10:16:58 +01:00
orbitcowboy fd9134fe5b Added more functions to std.cfg from <cwchar> (wchar.h). 2015-01-07 03:08:34 +01:00
orbitcowboy ba837a6f2d Added support for strpbrk to std.cfg. Running astyle. 2015-01-07 02:34:41 +01:00
Daniel Marjamäki f998871d59 astyle formatting 2015-01-04 13:51:49 +01:00
PKEuS e06a4cdf00 Refactorized CheckStl::if_find():
- Added support for find()-like functions to Library::Container
- Use <container> information from library
- Fixed false positive #6402
2015-01-04 12:43:50 +01:00
PKEuS e39729ffcc Library: Add <container> tag to Libraries, provide configuration for std::vector, std::deque, std::array and STL strings
Token: Added function to jump to the next template argument
2015-01-03 22:18:33 +01:00
PKEuS 520424324d Fixed wrong configuration of modf in std.cfg (#6312) 2014-12-10 16:33:04 +01:00
Alexander Mai d11eb4931a #6306 false positive with strxfrm NULL argument. Adjust std.cfg in favor of no false positive 2014-12-07 15:24:27 +01:00
Alexander Mai a2f669eff7 Using the return value of strtok() is not mandatory since it the first argument may be modified (fixing a FP in LibreOffice) 2014-10-18 08:29:42 +02:00
Daniel Marjamäki 44420bdbf1 cfg: formatted the cfg files with the runastyle script 2014-10-14 06:46:47 +02:00
PKEuS 374ea8f039 Fixed false positive ignoredReturnValue on unknown member function log() (#6197) 2014-09-29 19:55:32 +02:00
PKEuS cbb8360b30 Added version attribute to .cfg files (#5928) 2014-09-29 16:26:17 +02:00
PKEuS df01bf5006 Fixed false positive introduced recently: return value of time() does not need to be taken 2014-09-28 10:04:33 +02:00
PKEuS 210294443e New check: Check for unused return values (#653) 2014-09-27 21:31:04 +02:00
Alexander Mai b0c34390cd Fix FP: tmpnam() expects a valid pointer, an uninitialized array (of conforming size) is fine 2014-09-27 20:29:54 +02:00
Alexander Mai 98d4c944e3 #6163 False nullPointer for strtok(NULL, ...). Correct std.cfg 2014-09-15 20:57:34 +02:00
PKEuS 6c2943d33d Extended std.cfg 2014-09-11 21:37:39 +02:00
PKEuS fd2346e4ec Added strtok and assert to std.cfg 2014-09-11 20:27:04 +02:00
PKEuS a0d8fc1df4 Fixed 32 wrongly configured functions (#6120) and added support for second argument of strchr() to std.cfg. 2014-09-02 17:55:59 +02:00
PKEuS f717f4c6b8 Set <pure/> attribute for various functions in std.cfg 2014-09-02 13:39:34 +02:00
Alexander Mai f94e208862 #6116 False positive uninitvar - first argument to wcstombs(). Correct stf.cfg 2014-09-01 19:53:24 +02:00
PKEuS 40e5dab9dc Refactorization in checkmemoryleak.cpp:
- Use Library to detect noreturn/notnoreturn functions
- Removed realloc from std.cfg as long as there is no proper way to configure such functions
2014-09-01 13:54:33 +02:00