orbitcowboy
f90445e947
Extended std.cfg and avr.cfg about more functions.
2014-06-23 14:15:47 +02:00
orbitcowboy
f57e875351
Astyle run; Extended std.cfg and avr.cfg about a few more functions.
2014-06-23 11:59:14 +02:00
Daniel Marjamäki
ae81b09b58
Refactoring: Move isScopeNoReturn implementation to library and reuse it both in ValueFlow and Tokenizer
2014-06-22 19:13:15 +02:00
Daniel Marjamäki
c19fc08a68
Merge pull request #344 from matthiaskrgr/travis_O
...
travis: change build optimization level back to -O2 (from -O3) as discussed
2014-06-22 19:10:52 +02:00
Matthias Krüger
b4630e03ab
travis: change build optimization level back to -O2 (from -O3) as discussed in
...
59077b06f9
2014-06-22 13:56:06 +02:00
Daniel Marjamäki
f78cbda2db
Refactoring: Removed CheckNullPointer::nullPointerByCheckAndDeRef and implemented needed analysis in ValueFlow instead.
2014-06-22 10:02:14 +02:00
XhmikosR
8d796519d9
Update .gitignore.
...
Remove accidentally added file.
[ci skip]
2014-06-21 19:56:26 +03:00
XhmikosR
88f8349a45
Clean up .gitignore and remove the currently unneeded .gitattributes file.
...
[ci skip]
2014-06-21 19:47:59 +03:00
Daniel Marjamäki
3e8cf81dbf
htdocs: removed files, they have been moved to the repo cppcheck-htdocs
2014-06-21 18:00:32 +02:00
Daniel Marjamäki
717b9f970f
htdocs: change link to trac
2014-06-21 17:29:00 +02:00
Martin Ettl
be51637c1c
avr.cfg: Added support for some stdio.h macros.
2014-06-20 09:49:06 +02:00
Daniel Marjamäki
ef81bc363a
ValueFlow: analysis in condition.
2014-06-19 17:29:41 +02:00
Daniel Marjamäki
dec251ac44
ValueFlow: Refactoring. Use utility function isVariableChanged.
2014-06-19 05:41:19 +02:00
Martin Ettl
e8f0da845b
avr.cfg: Removed NAN definition.
2014-06-18 05:38:05 +02:00
Martin Ettl
2ee0723ad4
avr.cfg: Added macros of stdint.h.
2014-06-18 05:34:31 +02:00
Martin Ettl
156300b2bf
avr.cfg: Added accidently commented out define.
2014-06-18 05:20:33 +02:00
Martin Ettl
f0099905e9
avr.cfg: Added more defines.
2014-06-18 05:18:48 +02:00
Toralf Förster
d3a71916aa
htmlreport: Use source_encoding to open XML files
2014-06-18 22:13:26 +02:00
PKEuS
a703f643f9
Merge pull request #342 from matthiaskrgr/travis_working
...
Travis working
2014-06-18 21:08:30 +02:00
Daniel Marjamäki
84581817f6
ValueFlow: Improved valueFlowForward. RHS in assignment.
2014-06-18 21:07:01 +02:00
Matthias Krüger
59077b06f9
travis: add -O3 -march=native -mtune=native to default CXXFLAGS
2014-06-18 19:30:32 +02:00
Matthias Krüger
cfd7279455
travis: run cppcheck with --exception-handling where it matters
2014-06-18 19:15:06 +02:00
Matthias Krüger
94c6fa1083
travis: move CHECK_INTERNAL check up, remove "SRCDIR=build VERIFY=1" job in favor of "MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1"
...
Conflicts:
.travis.yml
2014-06-18 19:14:25 +02:00
Matthias Krüger
1900e7b25f
travis: run test_matchcompiler.py
2014-06-18 19:08:27 +02:00
PKEuS
e2b77a33dd
Fixed test_matchcompiler.py
2014-06-18 18:51:24 +02:00
PKEuS
188f9b4509
Fixed #error handling:
...
- Reporting them once is enough
- Don't report them if --force is used - since we silently drop these configurations when we check multiple configurations. Without the fix, -f combined with -D resulted in #error being shown erroneously.
- No redundant preprocessor instance to report them
2014-06-18 17:57:31 +02:00
PKEuS
dcc646735d
Made static local variable non-static (thread-safety, #5934 )
2014-06-18 17:57:31 +02:00
orbitcowboy
0804997c9b
avr.cfg: Cleanup.
2014-06-18 11:58:32 +02:00
orbitcowboy
5d579dc21b
avr.cfg: Added more defines.
2014-06-18 08:31:32 +02:00
Daniel Marjamäki
13761927ff
ValueFlow: better analysis in valueFlowAfterCondition of 'if|while ( %var% )' etc
2014-06-18 06:57:48 +02:00
Daniel Marjamäki
9999ce9468
ValueFlow: extend aftercondition analysis below conditional code
2014-06-18 05:51:23 +02:00
Daniel Marjamäki
b983a8795f
runastyle
...
[ci skip]
2014-06-18 05:43:44 +02:00
orbitcowboy
2255ece5c5
Extended std.cfg about alloca function and avr.cfg about a few definitions.
2014-06-17 17:00:27 +02:00
orbitcowboy
11cf4d3215
avr.cfg: Added more podtypes.
2014-06-17 13:04:48 +02:00
orbitcowboy
5a4cf3be53
Cleanup avr.cfg file.
2014-06-17 09:02:04 +02:00
orbitcowboy
fc84e9dcff
Running astyle, no functional changes. [ci skip].
2014-06-17 08:55:22 +02:00
Alexander Mai
2e3f26ba58
Patch from Dmitry-Me: reorder checks so that cheaper ones go first, reuse previously computed values, return early on edge condition
2014-06-16 21:36:31 +02:00
amai2012
c61d2b9f41
#5926 Dangerous iterator comparison using operator< on 'std::deque'.
...
std::deque features a random access iterator, so warning stlBoundaries
is a false positive
2014-06-16 20:50:47 +02:00
Daniel Marjamäki
847bb44bdd
ValueFlow: Improved analysis after condition when ! operator is used
2014-06-16 16:39:41 +02:00
orbitcowboy
b501708b6f
Added cfg for AVR microcontrollers. This config file contains podtype definitions so far.
2014-06-16 15:14:33 +02:00
orbitcowboy
be49185471
Fixed #5925 : The first include in path.cpp is not path.h and astyle run.
2014-06-16 15:11:44 +02:00
orbitcowboy
c8e4ac1b03
Astyle run [ci skip]
2014-06-16 14:01:56 +02:00
orbitcowboy
50e15f3f02
posix.cfg: Add more podtype definition for POSIX systems.
2014-06-16 14:01:25 +02:00
orbitcowboy
072dc4881c
posix.cfg: Started to add podtype definition for POSIX systems.
2014-06-16 13:45:32 +02:00
orbitcowboy
76f3f67bcf
Fixed fsanitize=undefined: left shift of negative value -10000 in lib/templatesimplifier.cpp.
2014-06-16 10:58:41 +02:00
Daniel Marjamäki
6f6642dcc5
GUI: In win32, use Win32W instead of Win32A as default platform
2014-06-16 06:30:42 +02:00
Daniel Marjamäki
c24a6e190b
Merge pull request #340 from HeisSpiter/master
...
Add a few more types for Windows
2014-06-15 18:14:44 +02:00
Daniel Marjamäki
0e971f2979
Merge pull request #341 from simartin/ticket_5268
...
Ticket #5268 : Properly detect function heads when in Tokenizer::simplifyEnum
2014-06-15 18:14:20 +02:00
Daniel Marjamäki
cb9725b18a
ValueFlow: Fixed testcase
2014-06-15 17:15:09 +02:00
Daniel Marjamäki
a27ca11b85
Fixed #5916 (ValueFlow: Add a valueFlowAfterCondition() function)
2014-06-15 16:47:01 +02:00