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
orbitcowboy
28763fa020
Libary: Fixed gcc warning -Wmissing-field-initializers
2014-06-13 13:17:08 +02:00
Alexander Mai
0f7071a000
Fix clang and coverity warnings
2014-06-12 20:03:11 +02:00
Daniel Marjamäki
86ef5f8ae7
CheckIO: Handle library types
2014-06-12 07:01:44 +02:00
Daniel Marjamäki
977af89fa9
std.cfg: configure standard types
2014-06-12 06:43:19 +02:00
Daniel Marjamäki
a4a6f3e1be
Tokenizer: Removed Tokenizer::simplifyConditionOperator(). Using the AST and ValueFlow, it should be much easier to parse ?: than before.
2014-06-10 19:30:13 +02:00
amai2012
4daf775fe1
Merge pull request #336 from Dmitry-Me/SimplifyCodeBreakLoopsEarly
...
Simplify code - bail out early, vreak loops early, reorder checks and declarations
2014-06-09 21:42:40 +02:00
Dmitry-Me
6e1568a6db
Simplify code - bail out early, vreak loops early, reorder checks and declarations.
2014-06-09 13:35:30 +04:00
Daniel Marjamäki
42c3b3c89d
Library: Change range operator in validation pattern to ':'
2014-06-08 18:12:11 +02:00
Daniel Marjamäki
228d67cf05
Merge pull request #335 from simartin/ticket_5907
...
Ticket #5907 : Properly handle extern declarations in Tokenizer::simplifyVarDecl
2014-06-08 15:59:23 +02:00
Simon Martin
dc12a73987
Ticket #5907 : Properly handle extern declarations in Tokenizer::simplifyVarDecl.
2014-06-08 14:59:58 +02:00
Daniel Marjamäki
a41f6077e1
Tokenizer: Use 'podtype' info from library. Partial fix for #5623
2014-06-08 13:28:15 +02:00
Daniel Marjamäki
9e81fa04b2
Library: Added 'podtype' element. Partial fix for #5623
2014-06-08 12:09:00 +02:00
Alexander Mai
e1513090e2
#5909 crash: clang: test/Preprocessor/ifdef-recover.c. Avoid segfault in Preprocessor::getcfgs() on invalid code.
2014-06-08 10:02:16 +02:00
Daniel Marjamäki
56e3e150c2
Merge pull request #334 from Dmitry-Me/ReorderChecksAndCleanupDeclarations
...
Cleanup code - reorder checks and make variable declaration scope narrower
2014-06-07 18:35:03 +02:00
Daniel Marjamäki
4c7b0806aa
Library: handle validation expression '-1000-0'. Ticket #5847
2014-06-07 16:28:29 +02:00
Alexander Mai
4d5b463613
Fix clang compiler warning in mathlib.cpp and repair test case for #5895
2014-06-07 13:16:02 +02:00