Jonathan Müller
9892cc52f0
Add badges
2017-10-11 21:30:11 +02:00
Manu343726
b1b0cad69a
Code coverage with lcov
...
Includes:
- A cmake script to setup lcov targets
- A predefined cppast_coverage target (Disabled by default, enable by setting CPPAST_TEST_GCOV var to TRUE/ON/1)
- Coverage report submission to coveralls.io
2017-10-11 21:25:37 +02:00
Jonathan Müller
91a6f40d2d
Match comments for unexposed entities
2017-10-11 17:31:55 +02:00
Jonathan Müller
0723bea947
Only generate line directive when necessary
2017-10-11 17:11:27 +02:00
Jonathan Müller
a2929c0020
Handle newlines inside C comments
2017-10-11 17:09:54 +02:00
Jonathan Müller
36d2a815a3
Fix code generation of unexposed entities
2017-10-11 15:10:35 +02:00
Jonathan Müller
69ca035b5a
Improve handling of unexposed entities
2017-10-11 14:34:30 +02:00
Jonathan Müller
0672e85186
Add and use cpp_token_string for unexposed entities
2017-10-11 14:15:44 +02:00
Jonathan Müller
e53fc5e231
Include semicolon in unexposed entity
2017-10-11 10:32:08 +02:00
Jonathan Müller
dd0a20c6d5
Support C-style doc comments with !
2017-10-11 10:15:44 +02:00
Jonathan Müller
2777e396e6
Ensure matching line numbers in preprocessed file
2017-10-11 10:15:09 +02:00
Jonathan Müller
845ef61017
Use #line directive to enforce matching line numbers
...
clang preprocessing output is different on Windows for some reason...
2017-10-10 22:11:29 +02:00
Jonathan Müller
b28fff6c37
Fix preprocessor line numbers if includes aren't supported
2017-10-10 21:13:29 +02:00
Jonathan Müller
d088b44db6
Add line numbers to diagnostics
2017-10-10 17:16:10 +02:00
Jonathan Müller
7c30ba7c46
[breaking] Ensure matching line numbers after preprocessing
...
Unmatched documentation comments are not just a string, but also contain the line number as well.
2017-10-10 17:07:41 +02:00
Jonathan Müller
5c5f30aa7a
Fix a couple of bugs
2017-10-09 09:38:49 +02:00
Jonathan Müller
8e6c5ccf71
Fix type parser for types with keyword prefix
...
E.g. a type `constant` would become `const ant`.
2017-10-09 09:20:35 +02:00
Jonathan Müller
49d77c5543
Fix issue with asymmetric common parents of friend function and friend
2017-10-09 09:05:20 +02:00
Jonathan Müller
b3885bbb68
Remove comments in macro invocations
...
Just breaks to much.
2017-10-07 09:58:14 +02:00
Jonathan Müller
1b468ea476
Dump preprocessed file in verbose mode
2017-10-07 09:35:31 +02:00
Jonathan Müller
08e92c873c
Show line number in error message
2017-10-07 09:29:20 +02:00
Jonathan Müller
be2ea9eb44
Hide "too many errors" error message
2017-10-07 09:24:18 +02:00
Jonathan Müller
b924d8f8d5
Fix code generation bugs
2017-10-02 18:36:00 +02:00
Jonathan Müller
2752d94e2a
Add ability to generate code from code_generator
2017-10-02 17:32:46 +02:00
Jonathan Müller
5a987db7a7
Add ability to customize output
2017-10-02 11:34:34 +02:00
Jonathan Müller
682754649a
Fix excluding last parameter
2017-10-01 21:23:34 +02:00
Jonathan Müller
6e3e358002
Fix whitespace in cv ref qualifiers
2017-09-30 11:36:56 +02:00
Jonathan Müller
a2472cd075
Remove trailing whitespace in type instantiation
2017-09-30 11:36:45 +02:00
Jonathan Müller
27a66f6632
[breaking] Pass current output to on_begin() and on_end()
2017-09-21 10:42:16 +02:00
Jonathan Müller
17ef990bb2
Add getter to retrieve main entity being outputted
2017-09-20 12:51:25 +02:00
Jonathan Müller
bb8a915279
Add getter to retrieve current output object of code generator
2017-09-20 12:47:35 +02:00
Jonathan Müller
dbececfb04
Add comment code generation text
2017-09-20 12:43:30 +02:00
Jonathan Müller
1c15e7fdc3
Fix compilation under clang 5
2017-09-19 20:53:05 +02:00
Jonathan Müller
ffbe878fcb
Add user data pointer to entities
2017-09-15 11:51:25 +02:00
Jonathan Müller
0d549ce3d1
Pass current access specifier to visitors
2017-07-19 13:00:40 +02:00
Jonathan Müller
9c8260e685
[breaking] Change signature of do_get_options()
2017-07-19 12:49:41 +02:00
Jonathan Müller
bb4527ff93
Add access specifier to visitor_info
2017-07-19 08:29:24 +02:00
Jonathan Müller
0c4de49234
Pass current access specifier to code generator
2017-07-18 23:08:53 +02:00
Jonathan Müller
ad2d0f34f9
Add a couple of code gnerator flags
2017-07-17 17:24:55 +02:00
Jonathan Müller
495b82158d
Hide noexcept condition
2017-07-17 16:36:59 +02:00
Jonathan Müller
38dd1c9d18
Hide macro replacement
2017-07-17 16:24:21 +02:00
Jonathan Müller
4e06906876
Fix code generation exclusion
2017-07-17 16:18:14 +02:00
Jonathan Müller
68f2ab91a0
Override scope_name() in templates
2017-07-14 15:14:24 +02:00
Jonathan Müller
93d2c58f7f
Add signature() to cpp_function_base
2017-07-10 19:26:55 +02:00
Jonathan Müller
592eb0284f
Add database support to tool
2017-07-04 12:49:33 +02:00
Jonathan Müller
3c9d53ae0c
Extract logger into own header
2017-06-28 18:20:24 +02:00
Jonathan Müller
63c1fd50e7
Add compilation database parsing and FileParser
...
Closes #19 .
2017-06-27 22:40:09 +02:00
Jonathan Müller
3677aeb564
Add support for drive letters
...
Windows...
2017-06-27 21:58:17 +02:00
Jonathan Müller
abb2ba33d0
Add resolve_includes() function
2017-06-27 21:03:12 +02:00
Jonathan Müller
7092946091
Add parse_database() function
2017-06-27 16:42:59 +02:00