Daniel Marjamäki
5313a40c3b
misra; implement rule 22.8
2021-08-14 19:24:31 +02:00
Paul Fultz II
fdaeaacc40
Symboldatabase: Improve valuetypes for containers, iterators, and smart pointers ( #3398 )
2021-08-14 19:00:58 +02:00
Paul Fultz II
f946bbc249
Only add exprids to expression and not variable declarations ( #3397 )
2021-08-14 06:49:12 +02:00
Paul Fultz II
b9ac48c90a
Fix 10409: FP 'Condition 's.size()<3' is always false' ( #3396 )
2021-08-14 06:48:38 +02:00
ChristophStrehle
4f8b1b2f20
Add macros for data and template tests ( #3395 )
2021-08-13 18:07:18 +02:00
Daniel Marjamäki
4b126db9ca
misra: implement rule 22.10
2021-08-13 18:03:37 +02:00
Paul Fultz II
2a3657154b
Dont require __main__ for an addon ( #3363 )
2021-08-12 20:17:51 +02:00
Daniel Marjamäki
d86ff326e6
AUTHORS: Added DavidSlivka (PR 3387)
2021-08-12 11:00:21 +02:00
Paul Fultz II
69eaa9dfd9
Refactor: ConditionHandler cleanup ( #3394 )
2021-08-11 08:37:37 +02:00
chrchr-github
e626e3065d
Fix MSVC warning: member shadowing ( #3392 )
2021-08-10 22:34:13 +02:00
Daniel Marjamäki
e95395e5f0
Fixed #10397 (FP constParameter - implementing an interface)
2021-08-10 15:37:59 +02:00
Daniel Marjamäki
c2305b1da7
Fixed #10396 (FP missingReturn on void operator=())
2021-08-10 09:55:16 +02:00
Daniel Marjamäki
d0b6079a83
Fixed #10372 (Confusing message for compareValueOutOfTypeRangeError)
2021-08-10 09:38:28 +02:00
Daniel Marjamäki
0093452bed
SymbolDatabase; Better handling of namespace that is defined in several scopes
2021-08-10 07:00:11 +02:00
Paul Fultz II
0f897acecd
Fix FP in solveExpr when using symbolic values ( #3391 )
2021-08-09 20:41:10 +02:00
Daniel Marjamäki
e6cf4cad87
htmlreport: indentation
2021-08-09 20:32:24 +02:00
Daniel Marjamäki
c48fc9ef89
htmlreport: add author information
2021-08-09 20:23:40 +02:00
orbitcowboy
46f7275833
#8113 : Added a regression test.
2021-08-09 18:30:29 +02:00
Daniel Marjamäki
d82df7cc55
Fix self-check warning, condition is always true
2021-08-09 13:17:48 +02:00
Daniel Marjamäki
0cb6603055
SymbolDatabase; Use range based for loops
2021-08-09 12:43:21 +02:00
Daniel Marjamäki
111591a810
AUTHORS: Added threeal
2021-08-09 10:48:01 +02:00
Alfi Maulana
aab5b39e2d
feat: add support for .ipp and .ixx extensions ( #3383 )
2021-08-09 10:46:56 +02:00
Daniel Marjamäki
94e8a69a9b
Fix self-check warning
2021-08-09 09:55:24 +02:00
Paul Fultz II
a218ea3b23
Fix 10404: FP knownConditionTrueFalse after subtraction ( #3390 )
2021-08-09 07:45:41 +02:00
Daniel Marjamäki
820256d10f
Revert "testsymboldatabase: remove INDENT-OFF and INDENT-ON"
...
This reverts commit 623461fc9c
.
2021-08-09 07:42:16 +02:00
Daniel Marjamäki
5f81b03df1
valueflow; Remove unused function, fixing gcc warning
2021-08-08 21:25:47 +02:00
Daniel Marjamäki
fa398a6ba1
valueflow: remove not needed INDENT-OFF and INDENT-ON
2021-08-08 21:22:42 +02:00
Daniel Marjamäki
623461fc9c
testsymboldatabase: remove INDENT-OFF and INDENT-ON
2021-08-08 21:18:56 +02:00
Daniel Marjamäki
0e366e056f
runformat: simple build instruction
2021-08-08 14:34:52 +02:00
Daniel Marjamäki
0f12003e07
crustify; check formatting in CI
2021-08-08 14:17:01 +02:00
orbitcowboy
0b36ece049
#8482 : Added another regression test
2021-08-08 10:55:10 +02:00
Daniel Marjamäki
dc65f9b1a7
Remove astyle scripts
2021-08-07 21:06:14 +02:00
Paul Fultz II
7f358b2bed
Format with uncrustify ( #3388 )
2021-08-07 20:51:18 +02:00
Daniel Marjamäki
f361106770
fix string literals in test code
2021-08-07 15:51:04 +02:00
chrchr-github
edd86c0b0a
Add regression test for ticket #10374 ( #3386 )
2021-08-06 09:41:26 +02:00
Daniel Marjamäki
b729c4a126
ctu: fixes for xml output
2021-08-06 07:57:18 +02:00
orbitcowboy
1f411498b6
#8196 : Added a regression test
2021-08-05 08:07:03 +02:00
Daniel Marjamäki
27a4df06d2
Revert "SymbolDatabase; First fix to handle when a namespace have many scopes"
...
This reverts commit e6cc7201b0
.
2021-08-04 22:30:39 +02:00
Daniel Marjamäki
ad478914f7
cppcheck build dir; Fix several xml syntax errors in the analyzer info files
2021-08-04 21:39:24 +02:00
Paul Fultz II
735f716603
Fix 10394 and 10395: FP knownConditionTrueFalse: loop variable ( #3381 )
2021-08-04 21:07:55 +02:00
Paul Fultz II
8b8ae55490
Fix 10129: false negative: knownConditionTrueFalse ( #3382 )
...
* Add symbolic matching
* Check for truncated values
* Dont propagate uninit values
* Update errorpath test
* Add test case for 10129
* Add test case for FP
* Remove symbolic values that are the same as the token
* Fix test messages
* Fix cppcheck issue
* Format
2021-08-04 21:07:31 +02:00
Daniel Marjamäki
e6cc7201b0
SymbolDatabase; First fix to handle when a namespace have many scopes
2021-08-04 20:36:43 +02:00
Daniel Marjamäki
5e9feb7db1
astyle formatting
2021-08-04 20:32:30 +02:00
amai2012
c60fdc25f9
Delete irc.yml ( #3384 )
2021-08-04 17:28:19 +02:00
Paul Fultz II
4626f9ed76
Fix FP when returning a pointer to a container ( #3379 )
2021-08-04 08:16:31 +02:00
chrchr-github
28c8b00e5c
Minor: fix MSVC shadow warning ( #3376 )
2021-08-04 08:16:02 +02:00
Lauri Nurmi
8869ee3554
Fix compilation with recent glibc where SIGSTKSZ is not constant. ( #3378 )
2021-08-04 07:45:50 +02:00
Paul Fultz II
6736ac7e3a
Revert "Formatted the code [ci skip]" ( #3380 )
...
This reverts commit 7a6d7f7c2d
.
2021-08-03 17:53:30 +02:00
orbitcowboy
7a6d7f7c2d
Formatted the code [ci skip]
2021-08-03 06:33:54 +02:00
Paul Fultz II
08041e3a0b
Refactor: Assert an expression has an id and fix assertion failures ( #3377 )
...
* Fix 10390: FP: knownConditionTrueFalse
* Assert expression has an ID
* Fix assertion errors
* Format
2021-08-03 06:31:52 +02:00