Commit Graph

24556 Commits

Author SHA1 Message Date
Daniel Marjamäki f37274a5c0 ClangImport: Improved error handling 2020-12-31 17:37:14 +01:00
Rikard Falkeborn fb35756126
TestLeakAutoVar: Split recursiveCountLimit test to separate class (#2995)
This test is by far the slowest one to run. Split it to a separate class
to make it easy to select if it should be run during development.
2020-12-31 09:34:53 +01:00
IOBYTE e7bdf5f71c
remove cleanupAfterSimplify from the template simplifier (#2998)
The template simplifier works well enough now so cleanupAfterSimplify is
no longer necessary.  In fact cleanupAfterSimplify was introducing a bug
which improperly simplified C++ style casts.

Bugs should be exposed and fixed properly rather than just hiding them.

Co-authored-by: Robert Reif <reif@FX6840>
2020-12-31 09:33:23 +01:00
Daniel Marjamäki d99f17b6aa AUTHORS: Add 'uhziel' 2020-12-30 20:00:55 +01:00
Daniel Marjamäki a1756f3afc Clang import; Function declaration 2020-12-30 17:00:05 +01:00
Daniel Marjamäki f986b37a50 Clang import: Improved function pointer 2020-12-30 16:24:10 +01:00
IOBYTE 277da763aa
fix #10054 (debug: Executable scope 'x' with unknown function.) (#2994) 2020-12-30 08:09:34 +01:00
Daniel Marjamäki cb9efcb100 Clang import; Add a validation step 2020-12-29 21:36:50 +01:00
Daniel Marjamäki 0adf09c507 ClangImport; Fixed output for anonymous enum 2020-12-29 21:10:34 +01:00
Daniel Marjamäki 79a8f21183 ClangImport; Set Token::scope properly for empty enum body 2020-12-29 16:34:06 +01:00
Daniel Marjamäki 4bd5933691 Clang import: Do not write unreferenced enum declaration 2020-12-29 15:39:33 +01:00
Daniel Marjamäki 1e9f67936e Cppcheck: Fix; Do not run clang twice 2020-12-29 12:43:21 +01:00
Daniel Marjamäki 7719b27e44 Cppcheck: Print clang command when --verbose is used and build dir is empty 2020-12-29 10:20:46 +01:00
Daniel Marjamäki 2898a2925d Cppcheck: Using both --clang and --project 2020-12-29 10:15:38 +01:00
orbitcowboy ec5cdc4b0d wxwidgets.cfg: Added support for more interfaces, found by daca@home 2020-12-29 09:44:44 +01:00
orbitcowboy e785e426c2 wxwidgets.cfg: Added support for more interfaces, found by daca@home 2020-12-29 09:40:52 +01:00
Daniel Marjamäki b94a6d595a Fixed #9295 (ValueFlow: Does not handle noreturn function) 2020-12-28 20:00:35 +01:00
orbitcowboy c643e7e7b5 donate_cpu: Improved auto detection of bsd library configuration 2020-12-28 18:08:36 +01:00
orbitcowboy 922e2b5713 donate_cpu: Added auto detection for GiNaC 2020-12-28 17:41:16 +01:00
orbitcowboy 826609ad95 ginac.cfg: Added configuration for GiNaC (ref. https://www.ginac.de/ ) 2020-12-28 17:38:11 +01:00
shaneasd 53734a3da1
Test for return address of reference (#2991) 2020-12-28 10:50:42 +01:00
orbitcowboy 28b4d1a6b3 donate_cpu: Auto detect pcre.h 2020-12-28 09:30:39 +01:00
orbitcowboy 2f52863af8 pcre.cfg: Added PCRE configuration 2020-12-28 09:29:15 +01:00
Daniel Marjamäki e7c462b827 Refactoring; Avoid 'unsigned' 2020-12-27 21:05:31 +01:00
orbitcowboy ef485f7d17 wxsvg: Updated configuration and added missing <use-retval/>-flags 2020-12-27 14:48:06 +01:00
orbitcowboy 77675f220d wxsqlite3.cfg: Added missing <leak-ignore/>-flags 2020-12-27 14:43:38 +01:00
orbitcowboy 81be03fd6d donate_cpu: Incremented client version. 2020-12-27 14:41:36 +01:00
orbitcowboy 5fbf2d4e26 wxwidgets.cfg: Added missing <leak-ignore/>-flag 2020-12-27 14:40:59 +01:00
orbitcowboy 4ab5b33cc7 donate_cpu: Auto detect wxSqlite3 includes 2020-12-27 12:44:56 +01:00
orbitcowboy e8f2f40cd2 cfg: Added wxSqlite3 configuration 2020-12-27 12:44:20 +01:00
orbitcowboy f1688667a5 Running astyle [ci skip] 2020-12-27 12:38:21 +01:00
Ken-Patrick Lehrmann f1169bf2b4
10062: Fix FP due to assignment in reverseanalyzer (#2983)
reverseanalyzer has a special process for assignments, and would not see
a stop condition on a rhs of an assignment.
2020-12-27 10:14:46 +01:00
Oliver Stöneberg 30fbded406
enabled precompiled headers for CMake (if supported) and disabled the prologue so includes will not be treated as system one and emit warnings (#2986) 2020-12-27 09:17:57 +01:00
Oliver Stöneberg 0a1012a273
fixed and enabled -Wdocumentation and -Wdocumentation-pedantic clang warnings (#2819) 2020-12-27 09:15:59 +01:00
Georgy Komarov 1c12b4fd78
ExprEngine: Handling cases when for condition is always false (#2984) 2020-12-26 21:29:50 +01:00
Paul Fultz II bd22070df5
Fix issue 10027: Segmentation fault in ValueFlowAnalyzer::analyze (#2987) 2020-12-26 21:26:39 +01:00
Daniel Marjamäki 9d54303cfa Clang import; Fixed segmentation fault 2020-12-26 19:59:57 +01:00
Daniel Marjamäki d024eb3ee0 Fixed #10051 (AST: Wrong ast for function call with initializer list) 2020-12-26 18:33:54 +01:00
orbitcowboy 56fbd4cba5 wxwidgets.cfg: Added support fore more interfaces, found by daca@home 2020-12-26 18:10:14 +01:00
orbitcowboy 92f1d1b9a5 wxwidgets.cfg: Added support fore more interfaces, found by daca@home 2020-12-26 18:04:23 +01:00
orbitcowboy 88280ae6ee wxwidgets.cfg: Added support fore more interfaces, found by daca@home 2020-12-26 18:00:56 +01:00
Oliver Stöneberg 018b26a4ef
donate_cpu_lib.py: fixed some cases with missing error information / cleanups (#2982) 2020-12-26 17:59:19 +01:00
orbitcowboy 1f0187a8e6 wxwidgets.cfg: Added support fore more interfaces, found by daca@home 2020-12-26 17:57:40 +01:00
orbitcowboy ca1fb2d2da wxwidgets.cfg: Added support fore more interfaces, found by daca@home 2020-12-26 17:53:35 +01:00
Oliver Stöneberg 1223750913
.travis.yml: use all available threads for CI builds (#2985) 2020-12-26 16:55:30 +01:00
orbitcowboy d59164e9ef wxwidgets.cfg: Added support for more interfaces, found by daca@home 2020-12-26 14:07:06 +01:00
orbitcowboy 38fc6f209d Running astye [ci skip] 2020-12-26 14:02:03 +01:00
orbitcowboy 745a386eab wxwidgets.cfg: Added support for more interfaces, found by daca@home 2020-12-26 14:01:45 +01:00
orbitcowboy dc0a7aab9f wxwidgets.cfg: Added support for more interfaces, found by daca@home 2020-12-26 13:57:05 +01:00
Oliver Stöneberg 00071d09f6
split "valueFlowBailoutIncompleteVar" from more generic "valueFlowBailout" (#2976) 2020-12-26 13:48:22 +01:00