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
Jonathan Müller
38831db073
Add parse_files() utility function
2017-06-27 16:42:59 +02:00
Jonathan Müller
6b7ca183f9
Add default_logger() and default_verbose_logger()
2017-06-27 16:42:59 +02:00
Jonathan Müller
44708fff76
[breaking] Move error_logged() from logger to parser
2017-06-27 16:42:59 +02:00
Jonathan Müller
6dd85cb7a7
Silently ignore multiple registration of files
2017-06-27 16:42:59 +02:00
Jonathan Müller
d14965b24e
Add basic compilation database parsing
2017-06-23 17:01:42 +02:00
Jonathan Müller
204961b7b1
Throw exception on multiple parse error
2017-06-23 14:05:46 +02:00
Jonathan Müller
e355e7a653
Fix empty arguments to template instantiation
2017-06-23 09:34:36 +02:00
Jonathan Müller
fd449dde4a
Store full path of header as well
2017-06-20 22:17:44 +02:00
Jonathan Müller
206c771b1d
Define macros to detect cppast when parsing the code
2017-06-06 14:44:19 +02:00
Jonathan Müller
ff2fd014cd
[breaking] Remove on_container_begin()/end()/leaf()
...
Replaced with general on_begin()/end()
2017-05-27 11:23:29 +02:00
Jonathan Müller
bb3253220b
Add formatting options to code generation
2017-05-27 11:11:54 +02:00
Jonathan Müller
315fb3a98f
[breaking] Fix generation when excluding entities
...
Had to change generation options retrieval.
2017-05-25 23:22:59 +02:00
Jonathan Müller
27fd67bad1
[breaking] Rename synopsis_options —> generation_options
...
More consistent.
2017-05-25 21:06:47 +02:00
Jonathan Müller
c86e950847
Add exclude_return and exclude_target code generation options
2017-05-25 21:04:50 +02:00
Tamás Szelei
2be20f60a2
Filtered visitor ( #18 )
...
New `visit()` overload taking a filter.
Closes #17 .
2017-05-07 21:50:34 +02:00
Jonathan Müller
2af22083a6
Add support for C++17 parsing with cpp_1z option
...
Note: It is currently experimental.
2017-04-25 17:30:07 +02:00
Jonathan Müller
fa8ee81b36
Fix OSX compatibility issue
2017-04-21 12:36:01 +02:00
Jonathan Müller
d1fafdaa92
Add appveyor.yml
2017-04-21 11:18:36 +02:00
Jonathan Müller
1420abc81b
Add .travis.yml
2017-04-21 10:12:06 +02:00
Jonathan Müller
599f2bbff8
Add semantic parent to forward declarable entities
2017-04-14 22:06:27 +02:00
Jonathan Müller
06cf090b35
Add cpp_scope_name to support templated scopes
2017-04-13 11:58:52 +02:00
Jonathan Müller
6894a025ca
Remove full_name() function
...
Doesn't work for templates.
2017-04-13 11:35:22 +02:00
Jonathan Müller
365677b2c9
Fix missing include
2017-04-12 18:19:08 +02:00
Jonathan Müller
d0451c517b
Skip templated and friended entities in tool
2017-04-12 15:17:30 +02:00
Jonathan Müller
4db09778b5
Add and parse cpp_static_assert
2017-04-11 20:37:24 +02:00
Jonathan Müller
c5d6df957c
Remove parameter children from e.g. cpp_function_base
...
Also template parameter children of cpp_template_template_parameter.
Now accessible over named function, consistent with base classes, other template parameters etc.
2017-04-11 18:50:02 +02:00
Jonathan Müller
599524a894
Add definition info to AST dump
2017-04-11 18:33:58 +02:00
Jonathan Müller
75fbc577ad
Fix issue when parsing anonymous namespaces
2017-04-10 21:02:23 +02:00
Jonathan Müller
01b206d453
Add simple command line tool to view the AST
2017-04-10 19:58:17 +02:00
Jonathan Müller
88af191c70
Clean kind check functions
2017-04-07 19:06:45 +02:00
Jonathan Müller
a6f15d6334
Add CMake options to control assertion levels
2017-04-06 12:23:31 +02:00
Jonathan Müller
33cff49a20
Add ability to hide definition in code generator
2017-04-06 12:17:04 +02:00
Jonathan Müller
da5b46fdb7
Add debug logging facility
2017-04-06 12:09:29 +02:00
Jonathan Müller
251e9abf5f
Always expose underlying type of enum
2017-04-06 11:51:31 +02:00
Jonathan Müller
c3d1d97892
Add and parse cpp_friend
...
Only works in clang>=4.
2017-04-06 11:45:17 +02:00
Jonathan Müller
9c46c96820
Fix and test include directive parsing
2017-04-03 09:49:29 +02:00
Jonathan Müller
e10a41fea8
Add proper build system
2017-04-02 18:38:28 +02:00
Jonathan Müller
df684694cc
Add and parse unexposed entity
2017-03-30 12:04:18 +02:00
Jonathan Müller
d18070a799
Implement code generation
2017-03-29 19:51:02 +02:00
Jonathan Müller
c44e0b512e
Use enum for builtin types
2017-03-27 22:19:25 +02:00
Jonathan Müller
67f247533c
Add is_templated() helper
2017-03-27 21:47:57 +02:00
Jonathan Müller
dc290415f1
Remove is_valid() for types
...
Not complete and not really necessary.
2017-03-27 21:38:56 +02:00
Jonathan Müller
6f050bac66
Add and parse cpp_decltype_type
2017-03-27 21:36:55 +02:00
Jonathan Müller
acb2f06bfd
Add and parse cpp_auto_type
2017-03-27 12:10:40 +02:00
Jonathan Müller
203cccd687
Add missing static kind function
2017-03-27 11:56:08 +02:00
Jonathan Müller
1bbc962b8c
Parse cpp_class_template_specialization
2017-03-27 11:51:30 +02:00
Jonathan Müller
22fd582756
Parse cpp_class_template
2017-03-27 11:34:51 +02:00
Jonathan Müller
bf7c85a9dd
Parse cpp_function_template_specialization
2017-03-27 10:07:13 +02:00