Daniel Marjamäki
|
168db9351d
|
ClangImport; set exprid
|
2021-01-06 11:03:43 +01:00 |
Oliver Stöneberg
|
96704c9971
|
fixed and enabled some more clang-tidy warnings (#3007)
|
2021-01-05 17:51:32 +01:00 |
IOBYTE
|
8897ad3408
|
fix #10068 (typedef not replaced when namespace is involved) (#3009)
|
2021-01-05 16:53:56 +01:00 |
Daniel Marjamäki
|
c546b244a9
|
ClangImport; throw exception if CXXForRangeStmt can't be imported
|
2021-01-04 10:15:09 +01:00 |
Daniel Marjamäki
|
4e4db50311
|
Clang import: Use getChild
|
2021-01-01 17:59:43 +01:00 |
Daniel Marjamäki
|
b16944b310
|
Revert "Clang import: Throw InternalError when nodeType is unknown"
This reverts commit 589174b92d .
|
2020-12-31 18:08:55 +01:00 |
Daniel Marjamäki
|
589174b92d
|
Clang import: Throw InternalError when nodeType is unknown
|
2020-12-31 17:48:39 +01:00 |
Daniel Marjamäki
|
f37274a5c0
|
ClangImport: Improved error handling
|
2020-12-31 17:37:14 +01:00 |
Daniel Marjamäki
|
a1756f3afc
|
Clang import; Function declaration
|
2020-12-30 17:00:05 +01:00 |
Daniel Marjamäki
|
f986b37a50
|
Clang import: Improved function pointer
|
2020-12-30 16:24:10 +01:00 |
Daniel Marjamäki
|
cb9efcb100
|
Clang import; Add a validation step
|
2020-12-29 21:36:50 +01:00 |
Daniel Marjamäki
|
0adf09c507
|
ClangImport; Fixed output for anonymous enum
|
2020-12-29 21:10:34 +01:00 |
Daniel Marjamäki
|
79a8f21183
|
ClangImport; Set Token::scope properly for empty enum body
|
2020-12-29 16:34:06 +01:00 |
Daniel Marjamäki
|
4bd5933691
|
Clang import: Do not write unreferenced enum declaration
|
2020-12-29 15:39:33 +01:00 |
Daniel Marjamäki
|
9d54303cfa
|
Clang import; Fixed segmentation fault
|
2020-12-26 19:59:57 +01:00 |
IOBYTE
|
6103da59be
|
add column number to TokenList::addtoken (#2939)
|
2020-12-08 10:34:23 +01:00 |
Daniel Marjamäki
|
1e8eb28390
|
Clang import: Fix null pointer dereference
|
2020-11-26 17:26:30 +01:00 |
Daniel Marjamäki
|
96392aa212
|
Clang import: better handling of templates
|
2020-11-24 22:02:59 +01:00 |
Daniel Marjamäki
|
aa9281515d
|
Clang import: Handle LinkageSpecDecl
|
2020-11-24 19:34:37 +01:00 |
Daniel Marjamäki
|
788abfa8a4
|
Clang import: better handling of CXXMethodDecl in getSpelling
|
2020-11-24 19:20:30 +01:00 |
Daniel Marjamäki
|
bd5fc4b579
|
Clang import: Fixed variable type for pointers
|
2020-11-10 09:35:41 +01:00 |
Daniel Marjamäki
|
970beaa79a
|
Clang import: Fix Variable::isReference
|
2020-11-09 20:35:00 +01:00 |
Daniel Marjamäki
|
0ac4de2a5e
|
Small refactoring
|
2020-11-09 19:30:05 +01:00 |
Daniel Marjamäki
|
8b52ed590e
|
Clang import: Better handling of const methods
|
2020-11-09 14:50:34 +01:00 |
Daniel Marjamäki
|
06909df8f5
|
Clang import: better handling of ArrayToPointerDecay implicit casts
|
2020-11-08 19:53:28 +01:00 |
Daniel Marjamäki
|
1c742b7995
|
Clang import: Handle AccessSpecDecl
|
2020-11-08 17:02:19 +01:00 |
Daniel Marjamäki
|
818e1574ad
|
Fix Cppcheck self check warning
|
2020-11-08 10:57:48 +01:00 |
Daniel Marjamäki
|
1078855029
|
Clang import: Full name for methods
|
2020-11-08 10:31:48 +01:00 |
Daniel Marjamäki
|
87323b33bd
|
Clang import: Fixed problems when handling CXXConstructorDecl
|
2020-11-08 01:17:34 +01:00 |
Daniel Marjamäki
|
565e67d373
|
Clang import: Ignore VisibilityAttr
|
2020-11-07 22:27:11 +01:00 |
Daniel Marjamäki
|
ff17d3e7c6
|
Clang import: Better handling of scope types
|
2020-11-07 15:02:36 +01:00 |
Daniel Marjamäki
|
52b88bcee3
|
Fix CodeQL warning, Multiplication result converted to larger type
|
2020-11-06 19:44:32 +01:00 |
Daniel Marjamäki
|
198bbc8a5a
|
Clang import: Better type handling
|
2020-11-03 21:37:28 +01:00 |
Daniel Marjamäki
|
8956ecb5fc
|
Clang import: Fixed data for inline static functions
|
2020-11-03 17:52:53 +01:00 |
Daniel Marjamäki
|
e053066d8b
|
Clang import: Fixed Variable::mTypeStartToken and Variable::mTypeEndToken for unnamed parameters
|
2020-11-02 20:58:43 +01:00 |
Daniel Marjamäki
|
a2a948a311
|
Clang Import; Better handling of derived classes
|
2020-11-01 20:32:42 +01:00 |
Daniel Marjamäki
|
4094274723
|
TestClangImport: Fix tests
|
2020-11-01 11:33:01 +01:00 |
Daniel Marjamäki
|
5aab1f9692
|
Clang import: Improved handling of structs
|
2020-11-01 09:12:58 +01:00 |
Daniel Marjamäki
|
226e996e46
|
Clang import: Improved handling of empty structs/classes
|
2020-11-01 08:44:38 +01:00 |
Daniel Marjamäki
|
e044d6e219
|
Clang import: fixed AST for 'return new S()'
|
2020-10-29 21:43:35 +01:00 |
Daniel Marjamäki
|
9ed4dc4199
|
Clang Import: Fix AST for 'new S;'
|
2020-10-29 20:52:09 +01:00 |
Daniel Marjamäki
|
16f4f198eb
|
Clang import: handle DefaultStmt
|
2020-10-29 09:48:35 +01:00 |
Daniel Marjamäki
|
586ddf74f1
|
Clang import; fixed ast for function call with multiple arguments
|
2020-10-09 07:54:16 +02:00 |
Daniel Marjamäki
|
64608f4e95
|
clang import; fix symbol database for 'struct Fred { int a; }; int b; void f(int c, int d) { int e; }'
|
2020-10-06 19:06:10 +02:00 |
Daniel Marjamäki
|
67cc1776d5
|
Clang import: fixed return type
|
2020-10-04 20:02:19 +02:00 |
Daniel Marjamäki
|
e3ab688597
|
Clang import: Fix syntax tree for 'case 1'
|
2020-10-04 19:33:28 +02:00 |
Daniel Marjamäki
|
5cd92a0eb1
|
test/cli/test-clang-import: Improved testing
|
2020-09-03 19:49:02 +02:00 |
Daniel Marjamäki
|
638dcd0aca
|
Fixed #9820 (Crash when --clang used with .c file)
|
2020-09-02 20:29:23 +02:00 |
Daniel Marjamäki
|
1f8896e51c
|
clang import: try to handle CXXFunctionalCastExpr
|
2020-09-01 19:59:41 +02:00 |
Philipp Kloke
|
32923b7ac5
|
Refactorization: Fixed a couple of compiler warnings about reusing variable names
|
2020-05-19 08:35:12 +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
|
0747bc7ba3
|
Clang import; Ensure Function::arg is set
|
2020-04-13 13:37:34 +02:00 |
Daniel Marjamäki
|
adb3588b24
|
Clang import; Set Variable::typeStartToken and Variable::typeEndToken
|
2020-04-13 10:45:31 +02:00 |
Daniel Marjamäki
|
c99867421d
|
Clang import; Fixed dead pointer
|
2020-04-12 22:41:45 +02:00 |
Daniel Marjamäki
|
97f5c5767e
|
Clang import; Ensure function pointer is created
|
2020-04-12 20:34:05 +02:00 |
Daniel Marjamäki
|
6b579293b6
|
Clang import; Destructor
|
2020-04-12 17:27:49 +02:00 |
Daniel Marjamäki
|
4dfb793cd2
|
Clang import; Improved handling of constructor
|
2020-04-12 17:27:49 +02:00 |
Daniel Marjamäki
|
66ee3a0afc
|
Clang import: Better handling of methods that are defined after declaration
|
2020-04-06 17:18:52 +02:00 |
Oliver Stöneberg
|
1863ccb0a7
|
fixed Clang warnings about unused variables (#2554)
|
2020-02-26 14:52:43 +01:00 |
Daniel Marjamäki
|
569b2a4171
|
Fixed #9600 (false positive: compareBoolExpressionWithInt with --clang)
|
2020-02-15 14:45:12 +01:00 |
Daniel Marjamäki
|
6a2312087c
|
Clang import; Fix crash
|
2020-02-02 12:13:19 +01:00 |
Daniel Marjamäki
|
b1abcc06df
|
Clang import; distinguish static variable
|
2020-01-27 13:00:52 +01:00 |
Daniel Marjamäki
|
211d2e336d
|
Clang import; Handle EnumDecl without children
|
2020-01-26 14:35:08 +01:00 |
Daniel Marjamäki
|
66dd985c9d
|
Clang import; Better handling of enums
|
2020-01-26 07:32:14 +01:00 |
Daniel Marjamäki
|
6f8799023f
|
Clang import; Clang 9 fix
|
2020-01-25 17:22:22 +01:00 |
Daniel Marjamäki
|
b6833b525f
|
Clang import
|
2020-01-25 17:01:17 +01:00 |
Daniel Marjamäki
|
f911495db3
|
Clang import; Handle clang-9 while loop better
|
2020-01-25 16:10:13 +01:00 |
Daniel Marjamäki
|
0bab9ba6e3
|
Clang import; Handle clang-9 range for loop
|
2020-01-25 14:47:51 +01:00 |
Daniel Marjamäki
|
afad8b1f5c
|
Clang import; Set Scope::check
|
2020-01-25 11:59:01 +01:00 |
Daniel Marjamäki
|
569523bbef
|
Clang import; Better handling of enums
|
2020-01-25 09:31:47 +01:00 |
Daniel Marjamäki
|
1cabba8755
|
Clang import; Improved enum handling
|
2020-01-24 21:34:29 +01:00 |
Daniel Marjamäki
|
fc813cef2a
|
Clang import: IfStmt
|
2020-01-23 16:18:39 +01:00 |
Daniel Marjamäki
|
ce77db2b1b
|
Clang import; EnumDecl
|
2020-01-23 16:06:25 +01:00 |
Daniel Marjamäki
|
fcd6c62a0d
|
Clang import; Always set Scope::classDef token
|
2020-01-23 10:33:29 +01:00 |
Daniel Marjamäki
|
b6db5116c3
|
Clang import; CXXStdInitializerListExpr
|
2020-01-21 18:29:04 +01:00 |
Daniel Marjamäki
|
a20b3a9e2e
|
Clang import; better handling of string literals
|
2020-01-21 17:47:57 +01:00 |
Daniel Marjamäki
|
6386f0e633
|
Clang import; CXXDeleteExpr
|
2020-01-21 17:47:57 +01:00 |
Daniel Marjamäki
|
9f26e8a356
|
Clang import; CXXNewExpr
|
2020-01-21 12:16:39 +01:00 |
Daniel Marjamäki
|
7fecc17707
|
Clang import; CXXThrowExpr
|
2020-01-21 11:16:22 +01:00 |
Daniel Marjamäki
|
549df6a80e
|
Clang import; Fixed wrong AST
|
2020-01-21 11:07:47 +01:00 |
Daniel Marjamäki
|
459e906ae1
|
Clang import; ConditionalExpr
|
2020-01-21 07:00:03 +01:00 |
Daniel Marjamäki
|
e5662ceef2
|
Clang import; CXXDefaultArgExpr
|
2020-01-21 06:52:45 +01:00 |
Daniel Marjamäki
|
f048b4ca57
|
Clang import; CXXBindTemporaryExpr and CXXTemporaryObjectExpr
|
2020-01-20 21:43:25 +01:00 |
Daniel Marjamäki
|
bdc621b7a3
|
Clang import; MaterializeTemporaryExpr
|
2020-01-20 21:27:49 +01:00 |
Daniel Marjamäki
|
78fcf93342
|
Clang import; DoStmt
|
2020-01-20 20:46:33 +01:00 |
Daniel Marjamäki
|
cd3ad89777
|
Clang import; GotoStmt, LabelStmt
|
2020-01-20 19:07:10 +01:00 |
Daniel Marjamäki
|
6722ee9d3f
|
test/bug-hunting: add --clang option to the juliet testing
|
2020-01-20 18:53:40 +01:00 |
Daniel Marjamäki
|
3ccd369cf5
|
Clang import; CaseStmt
|
2020-01-20 17:38:54 +01:00 |
Daniel Marjamäki
|
d635ea4b7f
|
Clang import; SwitchStmt
|
2020-01-20 14:24:03 +01:00 |
Daniel Marjamäki
|
dea6cc3b76
|
Clang import; FloatingLiteral
|
2020-01-20 14:10:43 +01:00 |
Daniel Marjamäki
|
7d4bd57cc5
|
Clang import; Fix crash
|
2020-01-19 09:45:47 +01:00 |
Daniel Marjamäki
|
3d1cb87a11
|
Clang import; range for
|
2020-01-18 19:23:37 +01:00 |
Daniel Marjamäki
|
36a67c7022
|
Clang import; fixed ValueType::typeSize calls
|
2020-01-18 17:32:59 +01:00 |
Daniel Marjamäki
|
269d21e972
|
Clang import; Better array handling in sizeof()
|
2020-01-18 11:55:50 +01:00 |
Daniel Marjamäki
|
b905547c76
|
Clang import; Better sizeof/type handling
|
2020-01-18 11:07:36 +01:00 |
Daniel Marjamäki
|
bc39cd73f0
|
Clang import; fix wrong 'sizeof' import
|
2020-01-17 03:15:08 +01:00 |
Daniel Marjamäki
|
dfbf347912
|
Clang import; Better type
|
2020-01-13 17:56:30 +01:00 |
Daniel Marjamäki
|
a17ded3862
|
Clang import; handle {} that is not a scope better
|
2020-01-13 13:16:02 +01:00 |