Daniel Marjamäki
|
43b58dbc9e
|
Fixed #9729 (AST: lambda with noexcept)
|
2020-05-22 11:29:10 +02:00 |
Daniel Marjamäki
|
ac1ceb85b6
|
AST: improved AST when expression starts with %char% or %str%
|
2020-05-22 09:35:55 +02:00 |
PKEuS
|
fb1afe2345
|
Fixed test suite: Do no longer apply simplifyTokenList2 to token lists, except for those tests that test those simplifications, because checks are no longer run on that simplified token list
Changed failing unit test to TODO tests, as they indicate patterns we do no longer understand properly.
|
2020-05-20 18:54:16 +02:00 |
Daniel Marjamäki
|
f5f7cb7ff7
|
test: Removed AstStyle::Verbose
|
2020-05-19 18:27:44 +02:00 |
shaneasd
|
44a3501f1b
|
cleanup after #9700 (#2648)
|
2020-05-19 18:15:05 +02:00 |
shaneasd
|
7bfd686f04
|
Fix #9700 duplicateBranch false positive from missing scope operator :: in ast (#2646)
|
2020-05-18 19:31:13 +02:00 |
Daniel Marjamäki
|
9eda399323
|
Less strict unknownMacro
|
2020-05-17 19:12:16 +02:00 |
Daniel Marjamäki
|
08ddd84780
|
Update copyright year
|
2020-05-10 11:16:32 +02:00 |
Daniel Marjamäki
|
3e0218299b
|
Revert "Update copyright year"
This reverts commit 6eec6c4bd5 .
|
2020-05-10 11:13:05 +02:00 |
Daniel Marjamäki
|
6eec6c4bd5
|
Update copyright year
|
2020-05-10 11:11:34 +02:00 |
Daniel Marjamäki
|
06cb0e99d1
|
Tokenizer: Fix syntax error when operator* is called
|
2020-05-04 21:33:30 +02:00 |
Oliver Stöneberg
|
1af959af2c
|
fixed -Wextra-semi-stmt Clang warnings (#2553)
* fixed -Wextra-semi-stmt Clang warnings
* adjusted REDIRECT macro to require a semicolon
* testmathlib.cpp: rolled back accidental change
|
2020-04-21 17:27:51 +02:00 |
Daniel Marjamäki
|
bda73600e0
|
Tokenizer: Improved removal of unused template (#9588)
|
2020-04-20 20:48:22 +02:00 |
Zorgovskiy
|
08fc956990
|
Fixes issue #9664 (#2614)
|
2020-04-20 08:59:35 +02:00 |
Daniel Marjamäki
|
3c56ccc33f
|
Fixed #9531 (Syntax Error: AST broken, 'for' doesn't have two operands.)
|
2020-04-19 17:00:22 +02:00 |
Daniel Marjamäki
|
98be091d80
|
Fixed typedef simplification for array of function pointers
|
2020-04-13 16:28:01 +02:00 |
Daniel Marjamäki
|
97b04ba9a7
|
Syntax check: Using keyword in global scope
|
2020-04-11 17:36:22 +02:00 |
Daniel Marjamäki
|
e8e3c2660d
|
Detect syntax error 'x ==> y'
|
2020-04-11 11:05:27 +02:00 |
Daniel Marjamäki
|
0725c2290c
|
Tokenizer: Do not simplify function pointers to normal pointers as we loose important information
|
2020-04-10 11:53:32 +02:00 |
Paul Fultz II
|
40e1e82a65
|
Fix issue 9644: Token::astOperand1() cyclic dependency on valid C++ code (#2590)
* Remove check for lambda
* Add test case
|
2020-04-04 10:55:31 +02:00 |
Daniel Marjamäki
|
e0acd1abf8
|
Tokenizer: Report unknown macro that contains '.x=..' argument
|
2020-04-04 10:32:56 +02:00 |
Paul Fultz II
|
58e3f19ed8
|
Fix issue 9662: AST broken, ternary operator missing operand(s) on valid C++ code (#2589)
* Fix issue 9662: AST broken, ternary operator missing operand(s) on valid C++ code
* Add test for issue 9537
|
2020-04-03 10:04:10 +02:00 |
Daniel Marjamäki
|
1173186876
|
Fixed daca@home crash by stopping for unknown macro 'MACRO(a();b();)'
|
2020-03-12 13:28:09 +01:00 |
Daniel Marjamäki
|
900b99fbd8
|
Tokenizer; Report unknown macro used in function declaration
|
2020-03-10 20:22:46 +01:00 |
Daniel Marjamäki
|
5376ba1701
|
AST: Throw validation exception if ternary operator is missing operands
|
2020-03-07 21:46:38 +01:00 |
Daniel Marjamäki
|
5df6d5bc7c
|
Tokenizer; Warn about unknown macro used in string concatenation
|
2020-02-28 21:52:01 +01:00 |
Daniel Marjamäki
|
38b570138f
|
AST: Try to handle c++17 for properly 'for (auto [a,b]:c)'
|
2020-02-27 09:58:53 +01:00 |
Daniel Marjamäki
|
e4937ed621
|
AST: Fixed wrong AST for cast '(std::vector<int>&&)s->second'
|
2020-02-25 21:05:49 +01:00 |
Daniel Marjamäki
|
ef26b55737
|
AST: Fix wrong handling for '{scope} (expr)'
|
2020-02-23 15:01:06 +01:00 |
Daniel Marjamäki
|
f07a71e3e1
|
Report unknown macros for pattern '%name% %num%'
|
2020-02-22 11:57:36 +01:00 |
Daniel Marjamäki
|
cf10b1a220
|
fix ast for expression that starts with number
|
2020-02-21 21:11:32 +01:00 |
Daniel Marjamäki
|
ec8c733afb
|
Improved Qt simplification
|
2020-02-21 19:04:21 +01:00 |
Daniel Marjamäki
|
388b5118df
|
Fixed bad ast (wrong result from iscast())
|
2020-02-21 17:15:33 +01:00 |
Daniel Marjamäki
|
6f6f9dd5bc
|
Tokenizer: Throw unknownMacro in non-executable scope
|
2020-02-19 21:12:58 +01:00 |
Rikard Falkeborn
|
f6e7fb4bd9
|
Bugfix valuetype for some integer constants (#2545)
|
2020-02-19 07:51:39 +01:00 |
Daniel Marjamäki
|
ae0a73a538
|
Fixed #9618 (isCast flag not set for c++ casts)
|
2020-02-16 16:46:40 +01:00 |
Daniel Marjamäki
|
a350ed9bc2
|
Fixed #9023 (AST: wrong lhs for a = b + foo(A::Hash{}("")))
|
2020-02-16 13:58:43 +01:00 |
Simon Martin
|
2840173a72
|
Ticket #9569: Do not substitute type aliases within enum definitions. (#2504)
|
2020-01-25 10:18:37 +01:00 |
Simon Martin
|
224a41361d
|
Ticket #9572: Properly detect designated initializers. (#2496)
|
2020-01-25 10:14:16 +01:00 |
Paul Fultz II
|
e07801a891
|
Fix issue 9563: new daca crash: findLambdaEndToken not finding end token (#2472)
|
2020-01-04 10:45:24 +01:00 |
Daniel Marjamäki
|
c84ba10b37
|
Fixed #8774 (Wrong handling of function with name 'or')
|
2019-12-19 19:22:39 +01:00 |
Paul Fultz II
|
ad352daa08
|
Fix issue 9535: Syntax Error: AST broken, 'if' doesn't have two operands. (#2450)
|
2019-12-16 12:17:01 +01:00 |
Daniel Marjamäki
|
f614d32d6a
|
Fixed #9519 (Syntax error on valid C++ 'enum {} (a)')
|
2019-12-15 08:40:04 +01:00 |
RobkeBaer
|
370196a14c
|
Fix extern c typedef syntax error (#2438)
* Fix extern c typedef syntax error
* Fix extraWhiteSpaceError
* Move test from testgarbage to testtokenize
|
2019-12-12 13:51:14 +01:00 |
Paul Fultz II
|
ad2f71338c
|
Fix issue 9525: Syntax Error: AST broken, 'if' doesn't have two operands inside lambda (#2433)
* Fix issue 9525: Syntax Error: AST broken, 'if' doesn't have two operands inside lambda
* Fix incorrect matchers
|
2019-12-10 21:21:07 +01:00 |
Paul Fultz II
|
ea2916a3e4
|
Fix issue 9514: Syntax Error: AST broken, 'for' doesn't have two operands. (#2429)
* Fix issue 9514: Syntax Error: AST broken, 'for' doesn't have two operands.
* Fix typo
|
2019-12-07 21:16:25 +01:00 |
Paul Fultz II
|
56e17fb228
|
Fix issue 9524: Syntax Error: AST broken, 'if' doesn't have two operands. (#2432)
|
2019-12-07 21:06:45 +01:00 |
IOBYTE
|
f637d97080
|
Fix 9509 (Syntax error on empty attribute list) (#2423)
|
2019-12-06 05:17:19 +01:00 |
Paul Fultz II
|
2978c67e6f
|
Fix issue 9511: Syntax Error: AST broken, 'if' doesn't have two operands. (#2428)
|
2019-12-06 04:19:46 +01:00 |
Paul Fultz II
|
f77347d7b4
|
Fix crash 9492: Crash in FwdAnalysis::checkRecursive() (condTok is nullptr) (#2411)
* Fix crash 9492: Crash in FwdAnalysis::checkRecursive() (condTok is nullptr)
* Formatting
|
2019-12-01 14:53:03 +01:00 |