Daniel Marjamäki
e4676b70dd
Remove wrong testcase test/cfg/windows.cpp, there is missing configuration for that given code
2017-10-06 14:42:19 +02:00
Daniel Marjamäki
a1053dd7dd
--check-library: Report unconfigured scoped functions also
2017-10-06 11:27:01 +02:00
Daniel Marjamäki
2a6fbe2e3c
astyle formatting
...
[ci skip]
2017-10-05 23:01:42 +02:00
hexcoder
051a18b120
pull request for ticket 8180 (better diagnostic output for bailouts) ( #964 )
...
* sync build instructions from readme.txt
* refactored the patch from ticket 8180. Moved logic from macros to the bailoutInternal function
* adapt to new bailout message format
* adapt to new bailout message format
* adapt to new bailout message format
* compile fix for Microsoft platform
* remove directory part from file locations in bailout message (normalize)
* remove directory part from valueflow message filter
* adapt tests to file format without directory part
* adapt tests to file format without directory part
* new line number agnostic assert_equals methods
* new line number agnostic assert_equals methods
* adapt to new method assertEqualsWithoutLineNumbers()
* adapt to new method assertEqualsWithoutLineNumbers()
* Bugfix: do not replace line number with spaces, remove it
* review changes: const char * -> std::string, size_t -> int, std::to_string() -> MathLib::toString()
* set #line at the beginning to guard against insertions from match compiler
* Bugfix: counting lines can be difficult :-) #line 1 -> #line 2
* added method stripDirectoryPart()
* added method stripDirectoryPart()
* used new method Path::stripDirectoryPart()
* new dependency path.h in lib/valueFlow.cpp
* code cleanup, removing redundant temporary objects and casts
2017-10-05 23:03:13 +02:00
Daniel Marjamäki
13c0b4131b
--check-library: improved function name output
2017-10-05 21:50:24 +02:00
Dmitry-Me
d170b496ba
Improve test coverage for wide string literals passed into printf
2017-10-05 17:45:06 +03:00
orbitcowboy
91202c47e6
windows.cfg: Added more returnValue-types.
2017-10-05 11:55:27 +02:00
orbitcowboy
cbc95c5662
gnu.cfg: Added more returnValue-types.
2017-10-05 11:45:46 +02:00
orbitcowboy
1a4c25243c
posix.cfg: Added more returnValue-types.
2017-10-05 11:38:11 +02:00
orbitcowboy
beb9223b6f
std.cfg: Added more returnValue-types.
2017-10-05 10:23:48 +02:00
orbitcowboy
f3d5e526d0
std.cfg: Added more returnValue-types.
2017-10-05 09:58:12 +02:00
orbitcowboy
00bff02e13
Formatted the code. There are no functional changes [ci skip].
2017-10-05 09:02:55 +02:00
Daniel Marjamäki
52c121c223
Disable Clang Analyzer for now. It needs a little more work.
2017-10-05 08:47:07 +02:00
Dmitry-Me
da0185387f
Improve coverage for %j used with printf
2017-10-04 17:51:35 +03:00
Alexey Eryomenko
22483baf72
missed simplification in parsing of std function declaration resulted in ( #967 )
...
wrong type detection
2017-10-03 22:10:13 +02:00
Oleksandr Redko
2bee664ec9
Return non-const object to enable move compiler optimization ( #966 )
2017-10-03 18:24:18 +02:00
Daniel Marjamäki
2545a628b2
rundaca2: fix import
2017-10-03 17:37:08 +02:00
Dmitry-Me
9564442167
Improve test coverage for detecting wrong file mode
2017-10-03 18:25:15 +03:00
orbitcowboy
0d888ba82d
std.cfg: Added more return value types.
2017-10-03 09:39:43 +02:00
orbitcowboy
c133e1d6f3
std.cfg: Added more returnValue-types.
2017-10-02 19:15:38 +02:00
Dmitry-Me
4601e40615
Simplify code for finding string format token
2017-10-02 18:03:55 +03:00
orbitcowboy
e9b4cbbd87
std.cfg: Added more returnValue-types.
2017-10-02 17:01:10 +02:00
orbitcowboy
543cf89f76
Merge pull request #965 from orbitcowboy/master
...
Improved const correctness of local variables.
2017-10-01 15:58:40 +02:00
orbitcowboy
d9ef5c5a85
Improved const correctness of local variables.
2017-10-01 14:24:37 +02:00
Daniel Marjamäki
406ddc5c10
cleanup dead code, spotted by dmitry-me!
2017-09-30 23:05:42 +02:00
Daniel Marjamäki
9ce23203cc
Fix includes
2017-09-30 12:45:25 +02:00
Daniel Marjamäki
64ce252f19
update Makefile
2017-09-30 12:42:41 +02:00
Daniel Marjamäki
885f8452e4
reuse case insensitive string comparison function
2017-09-30 11:25:46 +02:00
Dmitry-Me
2b7ef7156a
Improve test coverage for accessing closed files
2017-09-29 17:12:50 +03:00
Dmitry-Me
9fdfada4b5
Compute value earlier and reuse it
2017-09-28 23:41:29 +03:00
Dmitry-Me
7308901add
Omit duplicate and opposite checks
2017-09-28 17:59:55 +03:00
Daniel Marjamäki
a1df585ec1
rundaca2: if file upload fails, retry
2017-09-28 09:57:13 +02:00
Dmitry-Me
d18e8466a9
Cache and reuse values
2017-09-27 00:51:04 +03:00
Alexander Mai
8d4c2d3145
Fix typo
2017-09-26 20:59:23 +02:00
Daniel Marjamäki
ecc90c040e
GUI: When creating a new project, set a default value for build dir
2017-09-25 09:19:22 +02:00
Daniel Marjamäki
04c2be33a6
Unit testing visual studio import
2017-09-24 22:57:24 +02:00
Daniel Marjamäki
30e6a05aa0
ImportProject: Macro names in visual studio solutions/projects are case insensitive
2017-09-24 22:36:20 +02:00
Daniel Marjamäki
1b93e2fad9
GUI: Make last results work better
2017-09-23 15:11:42 +02:00
Daniel Marjamäki
bdac09c3af
GUI: Fix compile error
2017-09-22 23:24:03 +02:00
Daniel Marjamäki
b1a4860a0c
extracttests.py: allow that only TP tests are extracted
2017-09-22 23:23:36 +02:00
Daniel Marjamäki
233a6d2fc6
GUI: Fix warning ids and severities for clang/clang-tidy warnings
2017-09-22 22:32:02 +02:00
Daniel Marjamäki
9f306cf3aa
Added C++14 option
2017-09-22 22:00:00 +02:00
Daniel Marjamäki
791f6ecbec
GUI: Add 'Clang Analyzer' option
2017-09-22 18:57:53 +02:00
Daniel Marjamäki
6ddcfc3d1c
GUI: Updated handling of clang and clang-tidy
2017-09-22 15:41:27 +02:00
Daniel Marjamäki
5993c40d5b
Improve 'opposite inner condition' check
2017-09-22 14:01:20 +02:00
Daniel Marjamäki
5e618418d5
Refactoring, use early continue in loop
2017-09-21 22:53:15 +02:00
Daniel Marjamäki
411c5e5f7e
Fixed #8190 (False positive constStatement - return (struct media_frames_per_second) {0};)
2017-09-21 22:50:46 +02:00
Daniel Marjamäki
89b9f57759
Fix corrupt Token::Match pattern
2017-09-21 15:01:34 +02:00
orbitcowboy
9647793af9
wxwidgets.cfg: Added support for some wxStaticBoxSizer functions.
2017-09-21 14:47:24 +02:00
orbitcowboy
7e6aeb6394
wxwidgets.cfg: Added support for some wxBoxSizer functions.
2017-09-21 14:37:42 +02:00