Oliver Stöneberg
9028b4a81d
do not access static methods through instance ( #2189 )
2019-09-20 21:54:30 +02:00
Daniel Marjamäki
a17f2a6f05
Compiling/Installing : The CFGDIR parameter was removed. Use FILESDIR instead.
2019-08-17 10:53:07 +02:00
Daniel Marjamäki
7e3626c84e
Travis: Check the naming conventions again
2019-07-15 20:58:07 +02:00
Daniel Marjamäki
96a1c6dec5
Rename errorlist=>mShowAllErrors
2019-07-15 18:31:12 +02:00
Daniel Marjamäki
a6194b81aa
Rename _errorList=>mShownErrors
2019-07-15 18:29:09 +02:00
Daniel Marjamäki
5037ad3d42
Rename _settings=>mSettings
2019-07-15 18:24:27 +02:00
Daniel Marjamäki
0fa8a51815
Rename variable _files=>mFiles
2019-07-15 18:21:52 +02:00
Daniel Marjamäki
122ae198b7
Rename errorOutput=>mErrorOutput
2019-07-15 18:16:07 +02:00
Daniel Marjamäki
876d8c9829
Rename member variable exceptionOutput=>mExceptionOutput
2019-07-15 18:11:26 +02:00
Scott Furry
a195477470
Correct Zero/Null as pointer constant ( #1938 )
...
Building with enhanced clang warnings indicated a large number of
instances with the warning:
`warning: zero as null pointer constant`
Recommended practice in C++11 is to use `nullptr` as value for
a NULL or empty pointer value. All instances where this warning
was encountered were corrected in this commit.
Where warning was encountered in dependency code (i.e. external library)
no chnages were made. Patching will be offered upstream.
2019-06-30 21:39:22 +02:00
Daniel Marjamäki
a0dd853642
analyzing one vs config (first debug config that matches platform)
2019-04-13 20:01:40 +02:00
Daniel Marjamäki
cb06aebdab
Removed --std=posix. From now on, if you use --library=posix then the posix checks will be enabled.
2019-04-12 06:47:28 +02:00
Daniel Marjamäki
c04cc02ee5
Refactoring; Use range for loop
2019-04-07 12:07:47 +02:00
Sebastian
08d41ab8af
Load std.cfg before all other libraries ( #1740 )
...
- CLI: Save the libraries that should be loaded to a list and load them
after the std.cfg has been loaded.
- GUI: Load std.cfg (and windows.cfg / posix.cfg when applicable) before
setting other options and loading the other libraries.
In the project-file-dialog the std.cfg is searched first. If some
other library fails to load is is retried with first loading std.cfg.
- boost.cfg: Enable containers that depend on std containers.
2019-03-15 06:59:37 +01:00
Daniel Marjamäki
bd7790fd8c
Update copyright year
2019-02-09 07:24:06 +01:00
Daniel Marjamäki
d35a26c6f0
--check-library fix
2019-01-22 19:40:39 +01:00
Daniel Marjamäki
4119cfd3d1
Correct exit code when there are no unmatched suppressions
2019-01-21 20:33:22 +01:00
Daniel Marjamäki
0f19dfea82
Do not check unmatched suppressions in --check-library checking
2019-01-20 10:30:38 +01:00
Daniel Marjamäki
0945e827c6
Fixed #8931 (Missing error exitcode when an unmatched suppression is detected)
2019-01-19 21:42:01 +01:00
Daniel Marjamäki
ade18d978a
Inline suppression for knownConditionTrueFalse FP
2019-01-13 13:18:35 +01:00
Daniel Marjamäki
900e26f651
Fix Cppcheck warning
...
[ci skip]
2019-01-13 13:06:51 +01:00
Sebastian
b51f19d530
Fix some doxygen warnings/issues in the comments ( #1537 )
2018-12-21 21:23:03 +01:00
Daniel Marjamäki
7c5058a42d
Refactoring. Rename methods
2018-04-23 12:39:47 +02:00
Daniel Marjamäki
f058d9ad08
CLI: Added more fields for --template and added a new --template-location. The gcc predefined template now matches latest gcc better.
2018-04-23 12:21:18 +02:00
PKEuS
e2002db78d
Replaced make_container by C++11 initializer lists
2018-04-08 23:03:44 +02:00
jrp2014
c2e54fa87f
Refactor cli/cppcheckexecutor.cpp
2018-04-05 08:12:15 +02:00
jrp2014
b813a6d407
Refactoring
2018-04-04 21:11:23 +02:00
jrp2014
07b5afcdc6
Improve constness
2018-04-04 21:02:13 +02:00
amai
dab99e83cd
(Re-)Enable exception handling on cygwin
2018-04-03 00:41:13 +02:00
Daniel Marjamäki
25ef18ab11
astyle formatting
...
[ci skip]
2018-03-22 07:14:01 +01:00
amai2012
ab02595be1
Improve debug output in case of SIGABRT (add hint about assertion) and small refactoring
2018-03-20 14:24:45 +01:00
orbitcowboy
50844aa7fc
checkType: Take into account the size of char.
2018-02-18 14:28:48 +01:00
Daniel Marjamäki
db274e8308
Fix testrunner in cygwin
2018-02-10 15:34:49 +01:00
Daniel Marjamäki
c4caee6b18
Updated copyright year
2018-01-14 15:37:52 +01:00
Ivan Maidanski
97ffec85c0
Fixed #7502 (Correct exit code if never used function is found) ( #1026 )
2018-01-12 08:24:01 +01:00
Dmitry-Me
93e5140945
Better variable names
2017-10-14 23:05:58 +03:00
Oleksandr Redko
2bee664ec9
Return non-const object to enable move compiler optimization ( #966 )
2017-10-03 18:24:18 +02:00
Ayaz Salikhov
2604156fe7
Use C++ headers ( #949 )
2017-09-07 13:02:44 +02:00
Daniel Marjamäki
1a1f2069e9
astyle formatting
...
[ci skip]
2017-08-30 17:42:04 +02:00
Dmitry-Me
9d41b272a1
Brace macro parameter
2017-08-29 21:23:45 +03:00
Dmitry-Me
6f0d5aaee3
Adapt to cases when conversion is a no-op
2017-08-29 21:21:48 +03:00
Dmitry-Me
c9e2b56b08
Make code easier to debug
2017-08-29 17:51:56 +03:00
Heiko Eißfeldt
de9f8b8a3c
refactoring ansiToOEM
2017-08-22 13:15:11 +02:00
Heiko Eißfeldt
04bcc86d59
Fixed #439 (Patch: Cppcheck reports wrong filename for filenames containing 8-bit ASCII)
2017-08-21 12:52:15 +02:00
Ayaz Salikhov
b8cd7dbb5c
Use nullptr instead of 0 or NULL ( #936 )
2017-08-09 20:00:26 +02:00
Daniel Marjamäki
91eb0f1fad
Removed XML version 1
2017-07-29 18:56:22 +02:00
Ayaz Salikhov
4bbc830a85
Fix warnings
2017-07-17 10:13:11 +03:00
Alexander Mai
9da28d5f4c
Signal handling: Don't mix sigaction and signal. SIGUSR1 can be used to print current callstack, SIGUSR2 is being ignored. Minor refactoring
2017-06-06 20:56:59 +02:00
Daniel Marjamäki
dc79f9630f
Fixed unit tests
2017-05-30 15:53:54 +02:00
Daniel Marjamäki
1f48b082d1
CLI: Add --output-file flag so results can be written to file directly.
2017-05-30 15:04:28 +02:00