Commit graph

315 commits

Author SHA1 Message Date
Jonathan Müller
9e8dc5dd26 Support C++17 nested namespaces 2017-12-22 17:24:43 +01:00
Jonathan Müller
755f251da9 Steal comment of nested namespace 2017-12-22 10:54:37 +01:00
topisani
037619964f Comments and (failing) tests 2017-12-22 04:09:48 +01:00
topisani
76fb7dee43 Parse C++17 nested namespace declarations
This is maybe not the most correct way to do it, but i dont think it misparses
any valid code.
2017-12-20 18:15:31 +01:00
Jonathan Müller
8eef31bba1 Add on_container_end() function to code generator to allow injection of children 2017-12-14 19:08:22 +01:00
Jonathan Müller
2c7b06dea9 Add get_class() function to resolve base class types 2017-12-14 19:07:47 +01:00
Jonathan Müller
9df3b39e1e Fix comment matching for includes not on top of the file
See foonathan/standardese#83.
2017-12-13 20:49:44 +01:00
Jonathan Müller
cb764832b7
Update README.md 2017-12-07 23:19:41 +01:00
Jonathan Müller
2b3ddf360b Fix member variable type which is typedef in same class
Type spelling included all scopes. See foonathan/standardese#82.
2017-12-07 22:04:51 +01:00
Jonathan Müller
b2121b19c2 Add indentation C comment heuristics
See foonathan/standardese#84.
2017-12-06 19:34:36 +01:00
Jonathan Müller
b0825d5d6f Fix nullptr dereference 2017-11-16 08:58:44 +01:00
Jonathan Müller
c886ef31e4 Add example documentation
Fixes #13.
2017-11-14 18:28:24 +01:00
Jonathan Müller
f73e4b420f Add examples from Meeting C++ talk 2017-11-11 10:45:37 +01:00
Jonathan Müller
8532de1479 Fix CMake 2017-11-11 10:33:01 +01:00
Jonathan Müller
ced136a3a4 Fix comma in attributes on enum value 2017-11-10 13:07:22 +01:00
Jonathan Müller
0b71d7d3b4 Add enum category example 2017-11-10 11:54:21 +01:00
Jonathan Müller
0f9b90a32b Add name override for enum to string 2017-11-10 09:33:37 +01:00
Jonathan Müller
e8f7dd0911 Fix bug in comparison code 2017-11-08 15:41:35 +01:00
Jonathan Müller
0531a19d90 Add comparison 2017-11-02 18:46:00 +01:00
Jonathan Müller
9329fc75ec Add serialization example 2017-10-31 19:35:33 +01:00
Jonathan Müller
b69e7bfacd Add enum_to_string example 2017-10-31 18:28:18 +01:00
Jonathan Müller
6a54fdd277 Add documentation generator example 2017-10-31 18:05:27 +01:00
Jonathan Müller
d102d769c1 Improve visit facility 2017-10-31 18:03:44 +01:00
Jonathan Müller
33d2523893 Extract common main function of examples 2017-10-31 15:55:06 +01:00
Jonathan Müller
6af95dde8e Add first example 2017-10-31 15:55:06 +01:00
Jonathan Müller
6f128da87f Add default constructor to libclang_parser 2017-10-31 15:55:06 +01:00
Jonathan Müller
d8a230bee7 Add support for attributes 2017-10-31 13:16:34 +01:00
Jonathan Müller
0875721452 Handle parsing of extern templates 2017-10-30 22:25:12 +01:00
Jonathan Müller
da3d515d09 Fix issue with GCC attribute syntax 2017-10-30 18:52:11 +01:00
Jonathan Müller
478fd4e90c Fix compilation errors 2017-10-30 10:02:00 +01:00
Jonathan Müller
10dd893b91 Add attribute convenience functions 2017-10-29 20:54:54 +01:00
Jonathan Müller
756fe351f1 Implement alignas parsing 2017-10-29 20:53:30 +01:00
Jonathan Müller
ccb2aaa189 Implement attribute parsing 2017-10-29 19:42:16 +01:00
Jonathan Müller
151e0b1a81 Add attribute information to cpp_entity 2017-10-21 12:47:08 +02:00
Jonathan Müller
3b9d410574 Add simple tokenization function 2017-10-21 12:45:44 +02:00
Jonathan Müller
1572920650 Add function to tokenize strings 2017-10-19 19:02:27 +02:00
Jonathan Müller
cfac41c7b5 Rename tokenizer stuff to include cx prefix 2017-10-14 13:15:38 +02:00
Jonathan Müller
6b55a13a83 Improve diagnostic interface 2017-10-12 07:48:20 +02:00
Jonathan Müller
49e63c4a9b Add format_diagnostic() function 2017-10-11 22:10:17 +02:00
Jonathan Müller
35293edc24 Add column to source_location 2017-10-11 21:56:02 +02:00
Jonathan Müller
3ae969aaae Add code coverage information 2017-10-11 21:44:02 +02:00
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