Commit graph

153 commits

Author SHA1 Message Date
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
Jonathan Müller
eeb48f1df5 Parse cpp_function_template 2017-03-25 14:34:04 +01:00
Jonathan Müller
d6f0997fb6 Parse cpp_alias_template 2017-03-24 16:49:31 +01:00
Jonathan Müller
cd4a25e959 Parse template parameters and part of alias template 2017-03-23 09:10:14 +01:00
Jonathan Müller
d21d017d8a Add support for multiple namespace entities with the same name 2017-03-22 12:09:13 +01:00
Jonathan Müller
08717b2ae7 Add support for overloaded entity references 2017-03-19 16:07:54 +01:00
Jonathan Müller
cb9ad57e87 Register declarations as well
Will be overriden by definitions.
2017-03-18 11:01:27 +01:00
Jonathan Müller
db0e649bf6 Properly handle libclang diagnostics 2017-03-16 12:15:46 +01:00
Jonathan Müller
183aeaafde Parse documentation comments 2017-03-16 11:49:37 +01:00
Jonathan Müller
e787b845d5 Parse cpp_destructor 2017-03-12 18:38:31 +01:00
Jonathan Müller
68c74a9f07 Parse cpp_constructor 2017-03-12 18:18:26 +01:00
Jonathan Müller
8691628ec5 Parse cpp_converison_op 2017-03-12 17:43:57 +01:00
Jonathan Müller
85ca226117 Parse cpp_member_function 2017-03-12 16:04:28 +01:00
Jonathan Müller
9267bbbff2 Parse free functions 2017-03-11 18:08:06 +01:00
Jonathan Müller
210fcf2c36 Add support for forward declarations 2017-03-11 15:36:51 +01:00
Jonathan Müller
c31e306e91 Clarify cpp_storage_class_specifiers meaning 2017-03-02 17:19:55 +01:00
Jonathan Müller
de2855820a Add test for static member variable 2017-03-02 16:22:16 +01:00
Jonathan Müller
c87b296d4e Parse cpp_member_variable and cpp_bitfield 2017-02-25 11:17:18 +01:00
Jonathan Müller
51bdbca81d Parse cpp_variable 2017-02-24 22:29:48 +01:00
Jonathan Müller
e0b76a07d0 Parse cpp_class 2017-02-23 21:34:36 +01:00
Jonathan Müller
a47e66e2c4 Parse enums 2017-02-23 21:30:44 +01:00
Jonathan Müller
23a7248964 Add support for member pointer types 2017-02-23 15:39:12 +01:00
Jonathan Müller
8bb6268626 Add support for function types 2017-02-23 14:36:37 +01:00
Jonathan Müller
0eb14d8cab Add support for array types 2017-02-23 09:23:30 +01:00
Jonathan Müller
b183513166 Parse cpp_type_alias and simple cpp_type's 2017-02-22 22:42:20 +01:00
Jonathan Müller
8d864bdbe1 Parse cpp_language_linkage 2017-02-22 20:44:19 +01:00
Jonathan Müller
087b9583ff Parse cpp_using_directive/declaration
Both of them now also don't have a name() anymore as it was inconsistent with get_full_name().
2017-02-22 20:09:40 +01:00
Jonathan Müller
45e9e5305b Parse cpp_namespace_alias 2017-02-22 11:04:34 +01:00
Jonathan Müller
ce69b0157f Parse cpp_namespace 2017-02-21 22:36:38 +01:00
Jonathan Müller
f66fa70b1f Format preprocessor diagnostics 2017-02-19 20:51:08 +01:00
Jonathan Müller
108fd1b2ee Add diagnostic_logger 2017-02-16 22:08:56 +01:00
Jonathan Müller
a0c2eece5b Add and use libclang_error exception class 2017-02-16 21:33:41 +01:00