Daniel Marjamäki
65d18b3da9
test/cli: refactorings
2019-04-15 10:02:25 +02:00
Daniel Marjamäki
1a8a40ea35
test/cli: tweak exclude path to make it work in windows
2019-04-15 09:11:23 +02:00
Daniel Marjamäki
4adc3773c5
test/cli: add vs project
2019-04-15 09:04:23 +02:00
Daniel Marjamäki
b845ec41d4
test/cli: renamed tests
2019-04-15 08:53:23 +02:00
Daniel Marjamäki
15eba39963
test/cli: better handling of absolute ignored paths
2019-04-15 08:48:58 +02:00
Daniel Marjamäki
0c3a6b44f8
tools/pr.py: add --rebase=true to pull command and abort if there are conflicts
2019-04-15 06:59:28 +02:00
Paul Fultz II
a90caa7e5a
Fix issue 9006: False positive: Return value of function std::move() is not used.
...
This is trying to fix the issue by fixing the ast and symbol database. First, the ast nodes will be created for the init list and the symbol database will not mark it as a scope. I am not sure if this is the correct approach as I dont really understand how the AST part works.
It did change the AST for `try {} catch (...) {}` but that is because it incorrectly treats `try {}` as an initializer list.
2019-04-15 06:37:27 +02:00
Daniel Marjamäki
a3efe4e03c
test/cli: added proj2 test project
2019-04-14 21:02:53 +02:00
Daniel Marjamäki
57479dc948
test/cli: importing cppcheck gui project that imports vcxproj
2019-04-14 18:21:27 +02:00
Daniel Marjamäki
7a122cc846
test/cli: import vs project with absolute path
2019-04-14 18:09:35 +02:00
Daniel Marjamäki
fd0309db9b
test/cli: Add tests that loads vs project
2019-04-14 16:48:59 +02:00
Daniel Marjamäki
a18025c95d
test/cli: tweaks for running it in windows
2019-04-14 15:53:32 +02:00
Daniel Marjamäki
2cd5a8fde0
test/cli/1-helloworld: add vs solution/project
2019-04-14 15:11:39 +02:00
Daniel Marjamäki
b94f4176f1
test/cli: execute addon
2019-04-14 15:00:03 +02:00
Daniel Marjamäki
964c2a237a
Travis: Try to run the cli testing on Travis
2019-04-14 12:49:43 +02:00
Daniel Marjamäki
6a83c5d3f3
Add cli testing
2019-04-14 10:46:47 +02:00
Daniel Marjamäki
97157046f7
addons: /reportErrorCli/reportError/
2019-04-14 08:54:53 +02:00
Daniel Marjamäki
0cc2b5ca14
Fix wrong assignment
2019-04-14 07:27:23 +02:00
Daniel Marjamäki
a0dd853642
analyzing one vs config (first debug config that matches platform)
2019-04-13 20:01:40 +02:00
Daniel Marjamäki
d3e7d09f5c
Refactoring; Reorder Settings members alphabetically.
2019-04-13 15:34:50 +02:00
Daniel Marjamäki
b1b5b27b4e
addons: write column in error message(s)
2019-04-13 10:22:13 +02:00
Daniel Marjamäki
1393c1c3a0
AST: Try to handle C++17 syntax 'if (init;expr)'
2019-04-12 17:35:06 +02:00
orbitcowboy
2105247934
wxwidgets.cfg: Added support for wxPropertyGridManager::Enable().
2019-04-12 13:49:12 +02:00
Daniel Marjamäki
8bacfafd01
misra.py: Advisory=>style
2019-04-12 12:30:06 +02:00
Daniel Marjamäki
76e64dce8c
misra: fix crash if Misra severity Required/Mandatory/Advisory is not set
2019-04-12 12:28:44 +02:00
Daniel Marjamäki
d7e08ce75f
GUI: Refactoring handling of setting for c++/c std
2019-04-12 12:12:12 +02:00
Daniel Marjamäki
f7be03fcbc
GUI: removed -std=posix and added -std=c++17
2019-04-12 11:52:28 +02:00
Daniel Marjamäki
773d19b2d6
Fix compiler errors. After removing the -std=posix.
2019-04-12 10:41:53 +02:00
Daniel Marjamäki
b04d1815ed
Add -std=c++17 and allow semicolon in 'if ()'
2019-04-12 09:10:25 +02:00
Daniel Marjamäki
cb06aebdab
Removed --std=posix. From now on, if you use --library=posix then the posix checks will be enabled.
2019-04-12 06:47:28 +02:00
Daniel Marjamäki
dfe417c369
msvc compatibility: /constexpr/const/
2019-04-11 21:06:37 +02:00
Daniel Marjamäki
c9172b169a
Improved handling of paths when importing cppcheck gui project
2019-04-11 21:02:49 +02:00
Daniel Marjamäki
7ede0feb2c
Better handling for excluded paths
2019-04-11 18:46:57 +02:00
Daniel Marjamäki
a1c30b834c
misra.py: Added rule 20.10
2019-04-11 10:50:07 +02:00
Daniel Marjamäki
3e3c805a66
misra.py: Add rule 20.7
2019-04-11 10:36:02 +02:00
Daniel Marjamäki
548ddf815c
oss-fuzz: debug code to output testcase in file code.cpp
2019-04-11 09:03:29 +02:00
Daniel Marjamäki
3c1f6ae5c2
appveyor: /constexpr/const/
2019-04-10 21:27:07 +02:00
Daniel Marjamäki
cb55ccb9b0
misra.py: Fix dereference of None
2019-04-10 21:21:17 +02:00
Daniel Marjamäki
b5d9313663
naming.py: Unify addon output
2019-04-10 21:11:50 +02:00
Daniel Marjamäki
7b6d7b9335
threadsafety.py: allow execution with --addon
2019-04-10 21:06:40 +02:00
Daniel Marjamäki
f6f8e2c192
Travis: Try to make travis happy by temporary setting checkUnusedTemplates to true
2019-04-10 20:27:24 +02:00
Daniel Marjamäki
292b679aba
Fixed build error. Renamed variable
2019-04-10 19:17:24 +02:00
Daniel Marjamäki
e27b54664e
appveyor: /constexpr/const/
2019-04-10 19:15:56 +02:00
Daniel Marjamäki
c47de235f7
Travis: Disable noisy Wshadow warnings
2019-04-10 19:10:05 +02:00
Daniel Marjamäki
05fcfc85fa
findcasts: Unify output
2019-04-10 18:29:46 +02:00
Daniel Marjamäki
2015f25a84
addon: Fix parsing of addon output
2019-04-10 18:28:46 +02:00
Daniel Marjamäki
bf5ad56dba
cert.py: Removed CLI
2019-04-10 18:09:27 +02:00
Daniel Marjamäki
42fdb1f826
ImportProject: checkHeaders, checkUnusedTemplates, maxCtuDepth
2019-04-10 17:04:18 +02:00
Daniel Marjamäki
37c540b380
Use constexpr
2019-04-10 16:54:16 +02:00
Daniel Marjamäki
f6b410b469
GUI: add setting for 'checkHeaders', 'checkUnusedTemplates' and 'maxCtuDepth' to project
2019-04-10 16:49:24 +02:00