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
Simon Martin
efb12f0409
Ticket #5268 : Properly detect function heads when in Tokenizer::simplifyEnum.
2014-06-15 15:52:58 +02:00
Daniel Marjamäki
d4bc643ed4
CLI: don't use unix-signals if NO_UNIX_SIGNAL_HANDLING is defined. don't use unix-signals in os/2.
2014-06-15 11:17:44 +02:00
Daniel Marjamäki
e3c45334d9
Fixed #5585 (GUI: Project file -dialog lists all .cfg files as config libraries)
2014-06-14 21:17:04 +02:00
Daniel Marjamäki
5471185781
GUI: save platform setting
2014-06-14 18:47:19 +02:00
Pierre Schweitzer
cd69b000c4
Add a few more types for Windows
2014-06-14 17:11:28 +02:00
Daniel Marjamäki
8f0b57861c
Merge pull request #338 from HeisSpiter/master
...
Add sign information for a few Windows types
2014-06-14 12:58:09 +02:00
Robert Reif
1f09cb0c30
Fixed #5807 (non virtual dtor in virtual class)
2014-06-14 12:55:20 +02:00
Daniel Marjamäki
17f1841fba
Merge pull request #339 from simartin/ticket_5868
...
Ticket #5868 : Ignore variables called like a typedef when substituting typedefs
2014-06-14 12:38:02 +02:00
PKEuS
47a1122eb8
Updated matchcompiler to latest changes
2014-06-14 10:57:38 +02:00
PKEuS
8b9daadd25
Replaced static variable isCPP in Token (was not threadsafe):
...
- Encapsulate parameters passed through AST compiler functions in a struct
-> Reduces maintenance overhead when changing them
-> Contains parameter indicating if the file is C or C++
- Added eKeyword Token type (at the moment, only true for C++ keyword "delete", but should be set for other keywords as well)
2014-06-14 10:28:12 +02:00
Simon Martin
d588ed49b3
Ticket #5868 : Ignore variables called like a typedef when substituing typedefs.
2014-06-14 00:50:14 +02:00
Pierre Schweitzer
2a027039c7
Add Windows type sizes when possible
2014-06-13 23:17:01 +02:00
Pierre Schweitzer
d055d9e3dc
Add sign information for a few Windows types
2014-06-13 18:17:06 +02:00
Daniel Marjamäki
ad879320e5
ValueFlow: Fixed 'function call => calculation' value flow
2014-06-13 16:34:57 +02:00
orbitcowboy
5c2ed8450e
Revert my previous fix 28763fa020
and suppress gcc false positive warnings.
2014-06-13 15:46:43 +02:00