Daniel Marjamäki
|
2b12ef653d
|
Merge pull request #2792 from IOBYTE/main
fix #9886 (Hang in TemplateSimplifier (gcc/gcc/testsuite/g++.dg/cpp0x…
|
2020-09-10 21:47:44 +02:00 |
Daniel Marjamäki
|
51f5f2c7d0
|
Fix inline suppressions problem
|
2020-09-10 21:46:15 +02:00 |
Robert Reif
|
a52ce7379a
|
fix #9886 (Hang in TemplateSimplifier (gcc/gcc/testsuite/g++.dg/cpp0x/decltype34.C))
|
2020-09-10 14:47:59 -04:00 |
Daniel Marjamäki
|
f052d32e31
|
astyle formatting
|
2020-09-10 08:02:45 +02:00 |
Daniel Marjamäki
|
d60520137c
|
ExprEngine: Refactoring
|
2020-09-10 08:02:15 +02:00 |
Paul
|
5033fb4418
|
Fix issue 9869: False positive: knownEmptyContainer when passed to constructor
|
2020-09-09 22:23:42 -05:00 |
Paul
|
bb9dbaa8f5
|
Format
|
2020-09-09 21:32:07 -05:00 |
Paul
|
75b955b9c6
|
Fix issue 9833: False positive: Division by zero when using pointer to struct
|
2020-09-09 21:29:26 -05:00 |
Paul Fultz II
|
34d65e25d6
|
Merge branch 'main' into lifetime-subfunction
|
2020-09-09 12:02:02 -05:00 |
Daniel Marjamäki
|
7c8c0ef3a2
|
Bug hunting: Avoid uninit struct member false positives
|
2020-09-09 18:26:04 +02:00 |
Daniel Marjamäki
|
f95a53b0ca
|
Fixed #9821 (False positive: Delegating constructor and initialization list)
|
2020-09-09 18:04:21 +02:00 |
Daniel Marjamäki
|
687b44dbb7
|
Token: add flag for splitted variable declaration with initialization
|
2020-09-09 16:22:47 +02:00 |
Paul Fultz II
|
bfe53fce04
|
Fix issue 9878: false positive: multiCondition (#2787)
|
2020-09-09 15:39:36 +02:00 |
Daniel Marjamäki
|
b1401c6536
|
Merge pull request #2789 from pfultz2/smart-ptr-constructor
Fix issue 9496: False negative: Dereferencing returned smart null-pointer
|
2020-09-09 08:16:30 +02:00 |
Daniel Marjamäki
|
1c37423f1b
|
Merge pull request #2788 from pfultz2/lifetime-dangling-temp-reference
Fix issue 9835: False negative: Return reference to temporary with const reference
|
2020-09-09 08:01:22 +02:00 |
Paul
|
965fea370f
|
Formatting
|
2020-09-08 21:55:53 -05:00 |
Paul
|
382408f59e
|
Fix issue 9496: False negative: Dereferencing returned smart null-pointer
|
2020-09-08 21:54:38 -05:00 |
Paul
|
8d7088aa24
|
Fix issue 9835: False negative: Return reference to temporary with const reference
|
2020-09-08 18:30:45 -05:00 |
Daniel Marjamäki
|
5376decbe7
|
Merge pull request #2783 from pfultz2/out-of-bounds-at-index
|
2020-09-08 20:30:31 +02:00 |
Paul
|
8c425790f4
|
Merge branch 'main' into lifetime-subfunction
|
2020-09-08 13:18:01 -05:00 |
Daniel Marjamäki
|
18e99176e5
|
Fix issue 9883: endless recursion in getLifetimeTokens (#2786)
|
2020-09-08 20:14:54 +02:00 |
Paul Fultz II
|
5099ca3c8b
|
Fix issue 9882: segfault in ForwardTraversal (#2785)
|
2020-09-08 20:14:10 +02:00 |
Paul
|
1753c2ddee
|
Remove known conditions
|
2020-09-08 12:39:27 -05:00 |
Paul
|
d5489fd1f0
|
Fix issue 9883: endless recursion in getLifetimeTokens
|
2020-09-08 11:33:29 -05:00 |
Paul
|
1be67ea008
|
Merge
|
2020-09-08 11:00:57 -05:00 |
Daniel Marjamäki
|
e802d85315
|
Fixed #9445 (Syntax error on typeof word in C)
|
2020-09-08 17:12:54 +02:00 |
Daniel Marjamäki
|
c0ef640304
|
Fixed #9881 ((Regression) Hang with operator() in function call)
|
2020-09-07 21:32:29 +02:00 |
Daniel Marjamäki
|
07f6876dc8
|
Bug hunting; avoid uninit var fp for struct variables
|
2020-09-07 21:19:07 +02:00 |
Daniel Marjamäki
|
cfd41fea83
|
Fixed #9879 (Tokenizer: Better handling of operator() '(*this)(...)')
|
2020-09-07 20:07:21 +02:00 |
IOBYTE
|
2106e30304
|
fix template namespace bug (#2780)
Co-authored-by: Robert Reif <reif@FX6840>
|
2020-09-07 17:45:19 +02:00 |
Daniel Marjamäki
|
acfff072ae
|
Bug hunting; avoid bughuntingUninitVar fp for template variable
|
2020-09-07 16:25:37 +02:00 |
Daniel Marjamäki
|
0c6dc84cbb
|
astyle formatting
[ci skip]
|
2020-09-07 10:56:02 +02:00 |
Paul Fultz II
|
ac67049661
|
Fix issue 9858: Token::astOperand1() cyclic dependency on valid C++ code (#2784)
|
2020-09-07 10:54:32 +02:00 |
Paul Fultz II
|
362ab44c40
|
Fix issue 9646: False negative: Return reference to temporary with const reference (#2782)
|
2020-09-07 10:52:54 +02:00 |
Daniel Marjamäki
|
06c4b8897b
|
Bug hunting: Avoid uninitialized fp for smart pointer
|
2020-09-07 09:34:08 +02:00 |
Paul Fultz II
|
a4f43fc2ad
|
Fix issue 8234: false negative: (warning) Opposite inner 'if' condition leads to a dead code block. (#2781)
|
2020-09-07 07:53:41 +02:00 |
Paul
|
7754449fd6
|
Format
|
2020-09-06 23:48:05 -05:00 |
Paul
|
04c85baf03
|
Fix issue 8869: false negative: (error) Invalid v.at() argument nr 1
|
2020-09-06 23:46:31 -05:00 |
Paul
|
786672e19d
|
Format
|
2020-09-06 21:59:21 -05:00 |
Paul
|
c7a5d3c5f1
|
Fix FPs
|
2020-09-06 21:58:36 -05:00 |
Daniel Marjamäki
|
136ac2c643
|
Fixed #9266 (handle operator() better)
|
2020-09-06 21:02:06 +02:00 |
Daniel Marjamäki
|
54b5e77548
|
TestImportProject: Use raw strings
|
2020-09-06 16:00:19 +02:00 |
Dan
|
7efd84ecaf
|
Fix false skipping of folder-seperator (#2749)
|
2020-09-06 15:35:14 +02:00 |
Daniel Marjamäki
|
9a943e7616
|
misra: rewrote rule 12.3
|
2020-09-06 11:33:37 +02:00 |
Daniel Marjamäki
|
7969bf7ae8
|
Token: Add 'isSplittedVarDecl attribute
|
2020-09-06 11:02:22 +02:00 |
Daniel Marjamäki
|
c7aed8bd0e
|
astyle formatting
|
2020-09-06 07:47:17 +02:00 |
Oliver Stöneberg
|
fb37137216
|
extended the --clang command-line option so you can specify a custom … (#2734)
|
2020-09-06 07:46:51 +02:00 |
Daniel Marjamäki
|
b0b31feadd
|
fix ubsan errors
|
2020-09-05 21:09:11 +02:00 |
shaneasd
|
9712c136bd
|
make result of <<|>> an xvalue (#2775)
|
2020-09-05 12:07:06 +02:00 |
Daniel Marjamäki
|
7d51baa2f0
|
Fixed GCC warning, variable bodyTok is unused. False negative ticket: #9876
|
2020-09-05 08:17:40 +02:00 |
Daniel Marjamäki
|
a102574e3f
|
astyle formatting
|
2020-09-05 08:00:51 +02:00 |
Paul Fultz II
|
cc2bc74084
|
Track lifetime for lambdas with explicit capture (#2776)
|
2020-09-05 07:56:01 +02:00 |
Daniel Marjamäki
|
8027f40418
|
Fixed #8506 (CPPCheck printing invalid characters in output)
|
2020-09-04 20:43:54 +02:00 |
Daniel Marjamäki
|
1daf1ec108
|
Fixed #9875 (Crash)
|
2020-09-04 19:15:48 +02:00 |
Paul
|
264c0cae8b
|
Formatting
|
2020-09-04 11:59:30 -05:00 |
Paul
|
bb37b07def
|
Extend lifetimes to subfunctions
|
2020-09-04 11:56:34 -05:00 |
Daniel Marjamäki
|
30d3643bb8
|
Fixed #9851 (FP virtualDestructor - private virtual dtor)
|
2020-09-04 18:56:12 +02:00 |
Daniel Marjamäki
|
7d01ad5b50
|
add test-clang-import that compares symboldatabases
|
2020-09-04 15:29:19 +02:00 |
IOBYTE
|
2db0d2878b
|
fix daca crash in TemplateSimplifier::getNewName (#2772)
Don't add the same template instantiation multiple times.
Co-authored-by: Robert Reif <reif@FX6840>
|
2020-09-04 07:08:28 +02:00 |
shaneasd
|
84dd0c961f
|
False positive dynamic_cast auto variable which has been checked against null (#2769)
|
2020-09-04 07:06:26 +02:00 |
Daniel Marjamäki
|
5cd92a0eb1
|
test/cli/test-clang-import: Improved testing
|
2020-09-03 19:49:02 +02:00 |
Daniel Marjamäki
|
efa113db55
|
Refactoring; do not use pointless lambda
|
2020-09-03 18:58:25 +02:00 |
Daniel Marjamäki
|
5acd6fcdc8
|
astyle formatting
|
2020-09-03 18:55:40 +02:00 |
shaneasd
|
08ea6435ac
|
fix false positives in constParameter (#2758)
|
2020-09-03 18:44:44 +02:00 |
Daniel Marjamäki
|
3fe46239cf
|
SymbolDatabase; Refactoring, use Tokenizer::isFunctionHead to skip function attributes
|
2020-09-03 11:21:12 +02:00 |
Dan
|
974b6fb8e5
|
Add test cases for assign operators with default implementation (#2767)
|
2020-09-03 07:29:54 +02:00 |
Paul Fultz II
|
090eba7e7f
|
FIx issue 6140: ValueFlow: valueFlowForward, loop (#2770)
|
2020-09-03 07:17:36 +02:00 |
Daniel Marjamäki
|
638dcd0aca
|
Fixed #9820 (Crash when --clang used with .c file)
|
2020-09-02 20:29:23 +02:00 |
Paul Fultz II
|
03cefd5d70
|
Fix issue 9853: False positive: returnReference when using a pointer to container (#2765)
|
2020-09-02 20:01:08 +02:00 |
Daniel Marjamäki
|
12d51ae5c4
|
Fixed #9809 (Tokenizer; Fix handling of variable declaration with @)
|
2020-09-02 13:04:33 +02:00 |
Daniel Marjamäki
|
c1e03d63b2
|
astyle formatting
[ci skip]
|
2020-09-02 13:03:30 +02:00 |
Paul Fultz II
|
32df807b22
|
Fix issue 9783: wrong lifetime analysis temporary assigned to object (#2711)
|
2020-09-02 07:13:15 +02:00 |
Paul Fultz II
|
dea5a23c34
|
Improve check: check for known empty containers passed to algorithms (#2768)
|
2020-09-02 07:11:23 +02:00 |
Daniel Marjamäki
|
8e79b0c8bc
|
astyle formatting
[ci skip]
|
2020-09-01 20:00:04 +02:00 |
Daniel Marjamäki
|
1f8896e51c
|
clang import: try to handle CXXFunctionalCastExpr
|
2020-09-01 19:59:41 +02:00 |
Paul Fultz II
|
ba84196dca
|
Fix issue 9865: false positive: knownConditionTrueFalse (#2764)
|
2020-09-01 11:22:38 +02:00 |
Paul Fultz II
|
0a718694af
|
Fix issue 9852: False positive: danglingTemporaryLifetime when returning a vector of vectors (#2766)
|
2020-09-01 11:21:29 +02:00 |
Paul Fultz II
|
3e99bff764
|
Same expression when comparing with zero (#2762)
|
2020-08-31 08:48:48 +02:00 |
Paul Fultz II
|
1c5f496350
|
Fix issue 8373: false negative: invalid iterator (#2761)
|
2020-08-31 08:46:56 +02:00 |
Daniel Marjamäki
|
d23fd26ce0
|
Cppcheck: Try to fix addon problems when paths have spaces
|
2020-08-30 18:15:48 +02:00 |
Daniel Marjamäki
|
18c29544eb
|
astyle formatting
|
2020-08-28 19:29:33 +02:00 |
Paul Fultz II
|
6ab3c93fb1
|
Fix issue 9756: false negative: invalid iterator from std::find_if (#2760)
|
2020-08-28 19:29:09 +02:00 |
Paul Fultz II
|
82bdbcd73b
|
Fix issue 9859: false positive: knownConditionTrueFalse (#2759)
|
2020-08-28 19:26:09 +02:00 |
Paul Fultz II
|
494fff65b7
|
Add outOfBounds check for iterators to containers (#2752)
|
2020-08-26 21:05:17 +02:00 |
IOBYTE
|
8774e97f26
|
fix #9771 (Syntax error; operator != <> ()) (#2757)
|
2020-08-26 18:39:33 +02:00 |
Daniel Marjamäki
|
bb5cad42cd
|
astyle formatting
[ci skip]
|
2020-08-26 10:15:09 +02:00 |
Paul Fultz II
|
9ec27c112f
|
Fix issue 9855: false positive: uninitvar (#2754)
|
2020-08-26 07:02:15 +02:00 |
IOBYTE
|
7cf3909275
|
fix #9854 (Syntax error on valid C++ code) (#2756)
|
2020-08-26 07:00:58 +02:00 |
Paul Fultz II
|
46bf2d7d52
|
Dont diagnose impossible values for iterators (#2755)
|
2020-08-26 06:58:53 +02:00 |
shaneasd
|
45fc6a0eeb
|
Test for syntax error in nested templates (#2746)
|
2020-08-25 07:14:44 +02:00 |
Paul Fultz II
|
ec89c57a90
|
Fix issue 9849: false positive: containerOutOfBounds (#2753)
|
2020-08-25 07:12:41 +02:00 |
Daniel Marjamäki
|
6277eece67
|
Variable contracts
|
2020-08-24 20:57:49 +02:00 |
Paul Fultz II
|
02287d9d34
|
Fix issue 7324: valueFlowForward : decrement (#2737)
|
2020-08-24 13:10:36 +02:00 |
Georgy Komarov
|
c5369b84e1
|
Prevent copying in range-based for loops (#2751)
Use reference types in range for loops to prevent copying.
|
2020-08-23 20:53:44 +02:00 |
Daniel Marjamäki
|
2bb73840fc
|
astyle formatting
|
2020-08-23 17:17:33 +02:00 |
Paul Fultz II
|
ac846b96d1
|
New check: Iterating a known empty container (#2740)
|
2020-08-22 09:16:26 +02:00 |
Paul Fultz II
|
becdf20310
|
Fix crash in isSameExpression (#2748)
|
2020-08-22 07:05:21 +02:00 |
Kamil Dudka
|
33fb0e782e
|
enable moduloofone reports only with --enable=style (#2747)
... because it is reported with Severity::style
|
2020-08-21 20:43:03 +02:00 |
Daniel Marjamäki
|
e0e70c2531
|
Fixed compiler warnings
|
2020-08-21 17:23:55 +02:00 |
eivindt
|
27e40af06c
|
Add support for comments at end of suppression in suppression files (#2736)
|
2020-08-20 21:49:07 +02:00 |