Commit Graph

24674 Commits

Author SHA1 Message Date
Maksim Derbasov 6b8d0be431
New check: [perf] Copy elision optimization can't be applied for `return std::move(local)` (#3281) 2021-07-06 08:07:46 +02:00
Daniel Marjamäki 6234b5438e New check: Writing overlapping data, detect undefined behavior 2021-07-05 22:07:41 +02:00
orbitcowboy 3985e548c5 wxwidgets.cfg: Added support for more constants 2021-07-05 16:14:26 +02:00
orbitcowboy 2bb1fbe62c wxwidgets.cfg: Added support for more interfaces 2021-07-05 14:42:25 +02:00
orbitcowboy 09b0108a2e wxwidgets.cfg: Added support for more interfaces 2021-07-05 14:26:12 +02:00
yyny 3e6681e2b3
Fix assertion failure in errorlogger.cpp (#3318) 2021-07-05 08:08:15 +02:00
fu7mu4 5ffbfa4cf6
Add Japanese translation for v2.5 (#3325)
Add new Japanese translation for v2.5 and fix some translation only
2021-07-05 08:06:27 +02:00
Daniel Marjamäki 6cb8f87798 missing return; fixed false positive for 'return {};' 2021-07-04 19:59:22 +02:00
Daniel Marjamäki 4fd33ef2b5 test/cli: fixed missing returns in test cases 2021-07-04 18:25:19 +02:00
Daniel Marjamäki fe8a0a87fb democlient; Fixed compile error 2021-07-04 17:04:17 +02:00
Daniel Marjamäki 06f2f75548 samples; Fixed missing return in non-void functions 2021-07-04 16:59:09 +02:00
Daniel Marjamäki 036c71d967 Fixed #5462 (non-void function does not return a value) 2021-07-04 11:27:57 +02:00
Daniel Marjamäki edc468bb2a createrelease: set debug version 2021-07-04 11:20:19 +02:00
Daniel Marjamäki 803eea912c Set debug version 2021-07-04 11:19:08 +02:00
Daniel Marjamäki beac3d37b5 daca@home: OLD_VERSION=2.5 2021-07-04 11:12:48 +02:00
Daniel Marjamäki 0806c8eaed createrelease: restore Makefile debug mode immediately after the tag. build local release binary. 2021-07-04 10:50:18 +02:00
Daniel Marjamäki 672d5dcf30 Set debug mode 2021-07-04 10:25:20 +02:00
Daniel Marjamäki f5b44b0b0b Set release mode 2021-07-04 10:24:24 +02:00
Daniel Marjamäki 6d777368c9 createrelease; should check windows installer before Makefile is changed to release mode 2021-07-04 08:52:38 +02:00
Daniel Marjamäki 0a715c695f win_installer; fix script, windows.cfg is a mandatory configuration file 2021-07-04 08:52:03 +02:00
Daniel Marjamäki ef687af91b createrelease: updated sed commands to write version 2021-07-04 08:41:55 +02:00
Daniel Marjamäki 3e3e9d8c50 2.5; Update versions 2021-07-04 08:40:41 +02:00
Daniel Marjamäki 0e4b460d85 AUTHORS: Added authors for 2.5 release 2021-07-04 08:23:28 +02:00
Daniel Marjamäki c489626167 updated copyright year 2021-07-04 08:09:11 +02:00
orbitcowboy 5287a6b55c wxwidgets.cfg: Added support for more interfaces 2021-07-03 20:07:48 +02:00
Daniel Marjamäki 7f4a4c4b52 lupdate gui.pro 2021-07-03 15:38:07 +02:00
Daniel Marjamäki 19dd034ea9 windows installer; Added bento4.cfg and windows.cfg 2021-07-03 15:30:50 +02:00
Daniel Marjamäki 0bb334c102 astyle formatting 2021-07-03 09:12:51 +02:00
Paul Fultz II fb9d659e25
Fix 10326: Regression: ValueFlow; Wrong Uninit value after do while (#3312) 2021-07-03 09:12:26 +02:00
Armin Müller fc90598077
Typos found by running "codespell" (#3324) 2021-07-02 17:41:51 +02:00
orbitcowboy 30af910b85 wxwidgets.cfg: Added support for more interfaces 2021-07-02 13:17:55 +02:00
Robert Reif 68898e2be0
fix #10335 (Type alias remains unknown with using) (#3323)
Co-authored-by: Robert Reif <reif@FX6840>
2021-07-02 06:19:26 +02:00
Daniel Marjamäki 5426ac6a22 run dmake 2021-07-01 22:26:42 +02:00
Daniel Marjamäki 1a5449cbeb Fixed #10327 (ValueFlow; Wrong Uninit value in called function) 2021-07-01 22:08:00 +02:00
Daniel Marjamäki 869eac5670 astyle formatting 2021-07-01 21:09:32 +02:00
chrchr-github 7a51fc8232
Add regression test for #8942 (#3321) 2021-07-01 21:09:06 +02:00
Georgiy Komarov 426117a30d
misra: Improve warning messages for rule 8.2 when the missing arguments are on the next line (#3320)
This makes it easier for the user to find the violation.

Suggested in the forum: https://sourceforge.net/p/cppcheck/discussion/development/thread/801dc07e59/#a1a8/d3e9/c455/8915/747c/2525/0eb8/0f7d
2021-07-01 21:08:40 +02:00
chrchr-github 9be88a06fe
Add regression test for #9176 (#3319) 2021-07-01 13:58:00 +02:00
Daniel Marjamäki e1cff1d1ef Fixed #10334 (AST: hang with c++ initializer and emplace_back) 2021-06-30 21:40:45 +02:00
Daniel Marjamäki e50f7a3e09 astyle formatting 2021-06-30 20:27:35 +02:00
Daniel Marjamäki 0c66f47fe0 Add vcl.cfg 2021-06-30 07:49:45 +02:00
chrchr-github 5b1420ff64
Add regression test for #10215 (#3317) 2021-06-29 19:42:47 +02:00
Georgiy Komarov 10123b4ad2
misra: Emit more accurate warnings for unused arguments in rule 2.7 (#3314)
Make the MISRA addon emit extra warnings for unused arguments placed in
lines other than the function definition. This makes it easier for the
user to find violations.
2021-06-29 11:17:38 +02:00
Daniel Marjamäki 1783fd1bba duplicateBreak; Allow extra return that clarifies for tool(s) that function does not continue 2021-06-29 11:17:12 +02:00
Georgiy Komarov a2cb9f17c1
misra: Don't consider variadic arguments as the violation of rule 2.7 (#3315)
The MISRA 2012 standard does not say anything about variadic functions
in the definition of rule 2.7. Therefore, these cases should be
considered as false positives.
2021-06-29 08:46:35 +02:00
Daniel Marjamäki 2bc87d13e1 Bump simplecpp 2021-06-28 19:47:37 +02:00
Daniel Marjamäki 33fb855ff9 win_installer; Add dpdk.cfg to installation 2021-06-28 17:40:26 +02:00
PJ Aitken 7944ea9937
Initial support for DPDK functions (#3313) 2021-06-28 17:38:44 +02:00
Georgiy Komarov 62dbe2eb2f
misra: Fix false positives for rule 8.2 (#3311)
Reported in the forum: https://sourceforge.net/p/cppcheck/discussion/development/thread/801dc07e59/?page=1&limit=25#a1a8
2021-06-27 22:57:50 +02:00
Georgiy Komarov 6432922c76
misra: Fix crash on rule 8.2 (#3310)
The example code that reproduces this crash:

```
int misra_8_2_o(
    const uint32_t a1,
    const uint8_t *const a2
)
{ return *a2 + a1; }
int misra_8_2_p(
    const uint32_t a1,
    const uint8_t *const a2
);
```

The unit test was not added because it looks like a typo and regressions
are unlikely.
2021-06-27 22:57:37 +02:00