Dimitar Dobrev
|
ab62115edc
|
Prevented class templates from being static.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
bc078d8a15
|
Removed the limitation about class templates when checking v-table entries.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
a1cd57667b
|
Ignored the unused methods in system class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
f7e5d9cc0e
|
Added std::char_traits as a supported type because std::string needs it.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
8fe6e346c5
|
Ignored templates specialised with types external to the template itself.
Supporting such external types is quite difficult so it will be done later on.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
48d373f10b
|
Fixed a typing and a grammatical error in the guide to contributing.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
a1fa5bd93f
|
Changed the generation of patched v-tables to also work for class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
5e5e1d0f11
|
Regenerated the parser bindings with the optimisation when allocating.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
9b7a372a3c
|
Sped up the generated C# by using sizeof instead of Marshal.SizeOf.
They are equivalent in our case because we only use blittable types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
6bff560adc
|
Removed the usages of named pointers when patching v-tables in C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
e0c397d709
|
Collected internal functions of class template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
e799641a87
|
Added a guide to contributing.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
fed72f5910
|
Ensured the C# gen correctly imports a native library with no target triple.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
66fdc64828
|
Removed a missed piece of obsolete code.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
d49453bd67
|
Properly configured the dependencies in our test for them.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
3ccb5361df
|
Shortened the generated C# by not suffixing attributes.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
f9fdacb512
|
Removed a null check for the module of a unit.
Each unit has a module, if it doesn't, it's a bug.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
935c580465
|
Deleted a useless weak reference thus simplifying TranslationUnit.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
c7040fc242
|
Fixed a crash when generating C# for empty enums.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
96aa703b60
|
Fixed the printing of errors during compilation of native symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
f809dbf2d4
|
Removed redundant paragraphs and spaces when printing C# XML comments.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ec6ddb62cf
|
Restored the new line after the last generated item of an enum.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
dbfd93d941
|
Fixed the comment kind of the parser generator.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
8646d3e077
|
Obsoleted the direct settings for wrapped libraries in the options.
Modules should be used instead.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
0454316b96
|
Try and fix apt-get Mono install in Travis.
|
8 years ago |
Joao Matos
|
c16d25f1b0
|
Fixed C# type printer to go through visit method when printing declarations.
|
8 years ago |
Joao Matos
|
5f6561eaf3
|
Deal with null modules when type priting declarations in C#.
|
8 years ago |
Joao Matos
|
98858a73ee
|
Implement GetPrimitiveTypeWidth for signed/unsigned chars.
|
8 years ago |
Joao Matos
|
4a653b00bd
|
Added string as a primitive type to the type system.
This will make it less hacky to represent proper strings in our AST model.
|
8 years ago |
Joao Matos
|
f8725509fb
|
Print null primitive type printing for non-C++ based languages.
|
8 years ago |
Joao Matos
|
44c2be4375
|
Abstract generated method override check into AST extensions.
|
8 years ago |
Joao Matos
|
3b6cfd70f5
|
Added CheckIgnoredDeclsPass.CheckDecayedTypes option.
This is used for Embeddinator-4000 and could be removed once we improve our support for custom types.
|
8 years ago |
Joao Matos
|
a6c3410b09
|
Fixed C typedef type printing regression.
This one was introduced by 8fa4a1082e and broke Embeddinator.
|
8 years ago |
Joao Matos
|
8b2b260d16
|
Fixed visitor regression when visiting declaration contexts.
|
8 years ago |
Joao Matos
|
b7b40ecedc
|
Move type map setup to driver code.
|
8 years ago |
Joao Matos
|
eed3d09d0b
|
Improve error handling when searching for type maps via reflection.
|
8 years ago |
Joao Matos
|
f70d1d0165
|
Unify class method specifier code generation.
|
8 years ago |
Joao Matos
|
157da89ed5
|
Unify class specifier code generation.
|
8 years ago |
Joao Matos
|
591ab6fd57
|
Refactor C# class prologue generation.
|
8 years ago |
Joao Matos
|
1e6bf9b7fd
|
Simplify code.
|
8 years ago |
Joao Matos
|
d4b6476569
|
Unify block kinds between generators.
|
8 years ago |
Dimitar Dobrev
|
cfbc83a331
|
Removed a site for bounties which does not allow free registration.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
9a42bbecf5
|
Added CodeGenerator.AccessIdentifier instance method.
|
8 years ago |
Joao Matos
|
8203515c5b
|
Move C# code generation helpers to base code generator.
|
8 years ago |
Joao Matos
|
a5728225d8
|
Do not use blocks for enum items as NewLineKind.Never is buggy.
|
8 years ago |
Joao Matos
|
76d1145ed4
|
Use object initializer syntax instead of explicit adds.
|
8 years ago |
Dimitar Dobrev
|
1f80e76c51
|
Added a note about bounties to our README.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
02b845e6b0
|
Updated a test to properly check the new printing of comments.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
6cb7ce4a3e
|
Fixed enum generation regression.
|
8 years ago |
Joao Matos
|
b1621d660c
|
Add the enum as the enum item namespace when converting the parser AST.
|
8 years ago |