Dimitar Dobrev
346a18ee3d
Added an event to the pass for inlines to help compile them.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
ee171eb9fa
Freed up the native parser options when done with.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
João Matos
7beb072f0b
Merge pull request #757 from zillemarco/master
...
Changed code to fit repository style and fixed wrong CLI application name
10 years ago
Marco Zille
6faa591884
Fixed wrong application name when showing help (see #745 )
10 years ago
Marco Zille
9b2ef9e520
Fixed up CLI code to match repository's style
10 years ago
Dimitar Dobrev
1f6a285f61
Ignored a test on Linux because incorrectly patched v-tables cause its failure.
...
See https://github.com/mono/CppSharp/issues/755 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
acb159c08f
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
6f367e1af4
Changed the convention of inlined constructors and destructors to C.
...
This is necessary so that they match the C++ functions which wrap their native counterparts.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
9a5728ec16
Fixed equality testing of unsugared template specializalition types.
...
Fixes crash in Test.AST.TestAmbiguity.
System.NullReferenceException: Object reference not set to an instance of an object
at CppSharp.AST.QualifiedType.Equals (System.Object obj) [0x00027] in /Users/joao/Dev/MonoEmbeddinator4000/external/CppSharp/src/AST/Type.cs:89
at CppSharp.AST.QualifiedType.op_Equality (CppSharp.AST.QualifiedType left, CppSharp.AST.QualifiedType right) [0x0000f] in /Users/joao/Dev/MonoEmbeddinator4000/external/CppSharp/src/AST/Type.cs:94
at CppSharp.AST.TemplateSpecializationType.Equals (System.Object obj) [0x00062] in /Users/joao/Dev/MonoEmbeddinator4000/external/CppSharp/src/AST/Type.cs:718
at CppSharp.AST.TypedefType.Equals (System.Object obj) [0x0002a] in /Users/joao/Dev/MonoEmbeddinator4000/external/CppSharp/src/AST/Type.cs:447
10 years ago
Joao Matos
e034bd6f85
Re-use binding context from driver instead of creating new one for test.
10 years ago
Joao Matos
f95ea6bdc8
Fixed TestAst.TestSignature under non-Windows platforms.
10 years ago
Joao Matos
fe0ee21392
Remove and sort usings.
10 years ago
Joao Matos
86f2eca475
Rewrite the way we do embedded resource loading to work with VS for Mac.
10 years ago
Joao Matos
e3ff818433
Throw an exception when embedded verbs file is not found.
10 years ago
Joao Matos
d50ee38470
Fixed GeneratorTests.GetOutputDirectory to work with VS for Mac.
10 years ago
Joao Matos
5e7a7d5d54
Fixed build directory path when copying test libraries in Travis.
10 years ago
Joao Matos
ed08714e9c
Run the AST tests under Travis.
10 years ago
Joao Matos
a2a51fa1a0
Update bundled NUnit to Nuget version.
10 years ago
Joao Matos
b23fd0d21d
Update Git ignore patterns for NUnit Nuget install.
10 years ago
Joao Matos
6c96750d0d
Do not write NUnit XML result files when running tests.
10 years ago
Joao Matos
fd2fd4b96b
Use the test runner script in Travis CI.
10 years ago
Joao Matos
460f32e229
Add a script for running the test suite in Linux/OSX.
10 years ago
Joao Matos
04686b4b60
Modify CovariantTypeComparer to be a pass and remove dummy visitor implementations.
10 years ago
Joao Matos
34ace7c966
Fix indentation for some test cases.
10 years ago
Joao Matos
035c3707e5
Rename template variable.
10 years ago
Joao Matos
2595e2426e
Reduce nesting in CheckMacrosPass.CheckForTemplateConstraints.
10 years ago
Joao Matos
00e29e25b2
Reduce nesting in CheckIgnoredDecls.CheckIgnoredBaseOverridenMethod.
10 years ago
Joao Matos
4043449ddc
Extract inlines code generator handling code into its own method.
10 years ago
Joao Matos
e11314143a
Global qualify ConcurrentDictionary references in generated code.
...
Fixes issue #747 .
10 years ago
Joao Matos
307af5836f
Rewrite shell script OS detection to please Travis.
10 years ago
Joao Matos
f2b7577b03
Fixed NUnit paths in Nuget install script.
10 years ago
Joao Matos
99902c75c1
Fixed Mono install in build script.
10 years ago
Joao Matos
226836f0a6
Updated Travis to use build scripts.
10 years ago
Joao Matos
c210e2f4b9
Added build script to install Nuget deps.
10 years ago
Joao Matos
023ea543f4
Added build script to install Mono.
10 years ago
Joao Matos
7ce23aebc0
Clean up compilation warnings.
...
../../../src/CLI/CLI.cs(147,29): warning CS0168: The variable `ex' is declared but never used
../../../src/CLI/CLI.cs(186,30): warning CS0168: The variable `ex' is declared but never used
10 years ago
Joao Matos
04ee2e5b7d
Rename CodeGenerator.Templates to Outputs.
10 years ago
Joao Matos
b49389e409
Rename CodeTemplate to CodeGenerator.
10 years ago
Dimitar Dobrev
87a75e3acd
Changed the generation of C++ for inlines not to rely on -fkeep-inline-functions.
10 years ago
Dimitar Dobrev
5a17cc12e1
Extended the searching for type maps to try resolving type defs.
10 years ago
Dimitar Dobrev
99bb582e57
Fixed a crash when blocking the pass for finding symbols from outside.
10 years ago
Dimitar Dobrev
8fa4a1082e
Supported the "volatile" qualifier in the CPP printer.
10 years ago
Dimitar Dobrev
fc55c7ed09
Added a mechanism for external code to block the pass for finding symbols.
...
It's useful when waiting for new symbols, such as inlines and templates, to be compiled.
10 years ago
Dimitar Dobrev
e490343dfc
Skipped checking for symbols of virtual functions as we call those through the v-table.
...
Note: in certain cases of optimisation the compiler can, however, remove the whole virtual table, so we need to bear in mind that some day we'll hit trouble here.
10 years ago
Joao Matos
28b28d7420
Remove unused using.
10 years ago
Joao Matos
2e2310a159
Remove some dead code from ClassExtensions.cs.
10 years ago
Dimitar Dobrev
930dd85f15
Ensured delegates are generated within the main name-space and reused them more.
10 years ago
Joao Matos
9807ffdec7
Fixed class documentation for ASTContext.
10 years ago
Joao Matos
2b0380a77e
Simplify return condition in CheckStaticClass.IsProtectedClassMember.
10 years ago
Dimitar Dobrev
c82c6f0048
Removed the method for constructing the type of a function as we now read it in the parser.
10 years ago