Daniel Marjamäki
d95f29b23a
Fixed test/cli
2019-08-18 12:51:32 +02:00
Daniel Marjamäki
6431d1c58a
cli: Change default --template format, Cppcheck will now use the gcc template by default. Added --template=cppcheck1 format.
2019-08-18 07:50:50 +02:00
Paul Fultz II
a08a9c1349
Switch to use lifetime analysis for iterators and pointers to invalid containers
...
This will diagnose more issues such as:
```cpp
void f(std::vector<int> &v) {
auto v0 = v.begin();
v.push_back(123);
std::cout << *v0 << std::endl;
}
```
2019-07-18 10:56:44 +02:00
Ayaz Salikhov
bddc698295
Make warning disappear ( #957 )
2017-09-08 14:25:08 +02:00
PKEuS
c078b3fced
Added testing of samples/ to testrunner ( #3515 ).
2014-03-28 13:06:38 +01:00
XhmikosR
602b5af307
cosmetics
2012-09-28 19:04:11 +02:00
XhmikosR
458b8ce2cc
samples: separate code blocks, remove extra empty lines at the end of files
2012-09-22 12:57:36 +02:00
Reijo Tomperi
5bb956b0ff
Fixing #3515 (Add samples/id/good|bad.cpp)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-22 15:52:31 +02:00