Daniel Marjamäki
|
29265cdd49
|
Refactoring, use continue
|
2017-07-30 12:46:04 +02:00 |
Daniel Marjamäki
|
f76ff9e7bf
|
Tokenizer: Put struct in anonymous namespace
|
2017-07-29 19:46:18 +02:00 |
Daniel Marjamäki
|
a78fd23732
|
Refactoring, skipEnumBody
|
2017-07-29 12:13:32 +02:00 |
Simon Martin
|
aa35462add
|
Ticket #8091: Don't replace std types within enum definitions. (#922)
|
2017-07-29 11:56:09 +02:00 |
orbitcowboy
|
0e575ce12c
|
Modernize: make use of 'nullptr' and added a rule-file for finding non-nullptr (zero) initializations.
|
2017-07-28 15:20:43 +02:00 |
Daniel Marjamäki
|
f85e43d21f
|
Fixed #8059 (Tokenizer::simplifyWhile0: for loop that modifies local variable)
|
2017-07-09 22:44:10 +02:00 |
Daniel Marjamäki
|
dff9d13758
|
Fixed #8115 (Tokenizer: links not properly set in r-value template 'Foo<int> && foo')
|
2017-07-09 13:26:59 +02:00 |
Daniel Marjamäki
|
6417be4a71
|
Fixed #8054 (Tokenizer::simplifyKnownVariables(): Wrong simplification for global variables)
|
2017-07-08 22:12:01 +02:00 |
Daniel Marjamäki
|
6c2002a150
|
minor constness fix
|
2017-07-08 21:41:57 +02:00 |
Alexander Mai
|
ce13b75967
|
Add missing types to Platform::platformString(). Add another pattern to Tokenizer::findGarbageCode() to avoid potential crash in Valueflow
|
2017-06-06 22:15:11 +02:00 |
Daniel Marjamäki
|
26bd863d0a
|
Fixed #7724 (hang: long expression => wrong AST)
|
2017-06-04 12:16:49 +02:00 |
Daniel Marjamäki
|
bbde3cc23a
|
Merge pull request #910 from mathbunnyru/asalikhov/improve_readability
improve readability
|
2017-06-03 14:33:21 +02:00 |
uburuntu
|
f4ce49d883
|
ENH: perfomance: using clear() and empty() more faster for stl containers
|
2017-06-02 22:38:00 +04:00 |
Daniel Marjamäki
|
b68c8d91ab
|
Fixed #8039 (Tokenizer: wrong simplification of string)
|
2017-06-01 22:21:02 +02:00 |
Ayaz Salikhov
|
3cd2f2d092
|
Don't cast bool to bool
|
2017-06-01 01:49:40 +03:00 |
Frank Zingsheim
|
aa937e426d
|
Fixed #7849 (Tokenizer: Wrong simplification of floating point equality comparison)
|
2017-05-28 10:53:50 +02:00 |
Ayaz Salikhov
|
28aa939d69
|
iwyu - include what you use
|
2017-05-27 04:33:47 +02:00 |
Daniel Marjamäki
|
93e0516291
|
Fixed #8009 (Tokenizer: fix handling of template rvalue references)
|
2017-05-23 18:55:17 +02:00 |
Daniel Marjamäki
|
040d2f0012
|
Use simplecpp lexer in test cases
|
2017-05-18 21:52:31 +02:00 |
Daniel Marjamäki
|
7bd0bc7534
|
Tokenizer: Simplify '->' to '.'
|
2017-05-17 22:50:54 +02:00 |
Daniel Marjamäki
|
59335f80d2
|
Try to fix windows build. Reduce header dependencies
|
2017-05-17 15:38:31 +02:00 |
Daniel Marjamäki
|
6230919976
|
Skip 'Stringification => Tokenize' step
|
2017-05-17 14:57:54 +02:00 |
Daniel Marjamäki
|
a8a54bbfa8
|
Fixed #6028 (Improvement: False positive caused by C keywords in assembly comments)
|
2017-05-05 08:57:24 +02:00 |
Alexander Mai
|
f54a6f085b
|
#7883 hang: CheckOther::checkFuncArgNamesDifferent() template code in .h. Activate language check for header files + Small refactoring
|
2017-05-03 20:36:26 +02:00 |
Daniel Marjamäki
|
1ec9b8c5b4
|
Fixed #8047 (false positive uninitialized variable - sizeof **A)
|
2017-05-03 19:27:55 +02:00 |
Alexander Mai
|
e88b4dcf06
|
Add another check to Tokenizer::validateC(): C++ casts
|
2017-05-03 16:57:42 +02:00 |
Alexander Mai
|
1bc7a89b3c
|
Improve search patterns within Tokenizer::validateC()
|
2017-05-02 17:57:06 +02:00 |
Matthias Krüger
|
cee0f724ff
|
Fixed #8018: Tokenize::findGarbageCode: detect heads of for-loops with 1 or more than 2 semicolons as garbage code.
|
2017-05-01 18:28:26 +02:00 |
Daniel Marjamäki
|
8a08cc0796
|
Fixed #8029 (Tokenizer::simplifyCAlternativeTokens: dont simplify 'eb.and + 1')
|
2017-04-30 14:40:41 +02:00 |
Simon Martin
|
28960a8bba
|
Remove bailout and fix varid for template class member initialized in out-of-line constructor (#8031)
|
2017-04-30 08:59:47 +02:00 |
Daniel Marjamäki
|
bdf16b1157
|
Tokenizer::simplifyComma: dont simplify comma in '=(struct s){...}'
|
2017-04-26 20:48:08 +02:00 |
Daniel Marjamäki
|
1a95dc9bd6
|
Fixed #7979 (Tokenizer: Detect and reject c++ code in .c file)
|
2017-04-17 22:15:29 +02:00 |
Daniel Marjamäki
|
1045ece946
|
dump: refactor valueType dump
|
2017-04-16 09:11:20 +02:00 |
Daniel Marjamäki
|
f90d8c9987
|
dump: fix xml format
|
2017-04-15 14:03:49 +02:00 |
Daniel Marjamäki
|
e71b428740
|
dump: Add platform info and valueType info
|
2017-04-15 12:25:44 +02:00 |
PKEuS
|
b1f4bd7504
|
Refactorization: Reimplemented Settings::_enabled as a bitfeld instead of std::set (#7995)
|
2017-04-11 11:49:26 +02:00 |
Daniel Marjamäki
|
8ffed6862d
|
Tokenizer: Add --check-config warning for macro with semicolon in argument
|
2017-04-07 19:19:10 +02:00 |
Daniel Marjamäki
|
50da7d4919
|
Tokenizer: Write syntax error if there is C++ code in C file.
|
2017-04-06 08:50:35 +02:00 |
Daniel Marjamäki
|
9c5a136f04
|
Fixed #7975 (crash: Tokenizer::createLinks2 problem with enable_if<x&&y,C*>)
|
2017-04-03 21:48:22 +02:00 |
Daniel Marjamäki
|
1faca91c1d
|
Added 'endsWith' utility function. This will make compiling the democlient easier.
|
2017-04-01 18:14:18 +02:00 |
PKEuS
|
3c8f5b85ae
|
Refactorization: Allocate Token::_values (ValueFlow information) dynamically, reducing size of each token by around 10%
|
2017-03-27 18:48:34 +02:00 |
Robert Reif
|
f099c6a110
|
Refactor symbol database value type support by making setValueTypeInTokenList and setValueType member functions of SymbolDatabase. Class variables are no longer passed around as parameters but accessed directly which simplifies the code. There should be no functional change.
|
2017-03-21 21:55:22 -04:00 |
Daniel Marjamäki
|
8c707876ed
|
Tokenizer: Don't simplify '({..})' wrongly
|
2017-03-08 11:41:18 +01:00 |
Daniel Marjamäki
|
2f2ac46243
|
Replaced hardcoding for char16_t and char32_t with configuration
|
2017-03-04 16:30:42 +01:00 |
Daniel Marjamäki
|
ecc59859e1
|
Don't simplify _Bool in TokenList
|
2017-03-04 11:13:28 +01:00 |
Matthias Krüger
|
35e7697474
|
switch some functions from const to static, as cppcheck suggests.
|
2017-02-27 13:51:33 +01:00 |
Daniel Marjamäki
|
2e91858640
|
Fixed #7877 (Tokenizer: Does not clear ValueFlow after first pass)
|
2017-02-25 17:57:39 +01:00 |
Simon Martin
|
487f76cdd1
|
Ticket #7916: Don't incorrectly simplify return statements involving template instantiations.
|
2017-02-18 21:14:50 +01:00 |
Matthias Krüger
|
6f1e7e897d
|
simplify if(tok && Token::{simple,}Match) to if(Token::{simple,}Match).
|
2017-02-06 15:37:12 +01:00 |
Simon Martin
|
5262ed018e
|
Ticket #7440: Function calls should not abort pointer alias analysis for local variables.
|
2017-01-27 22:56:28 +01:00 |