Jonathan Müller
34a072cafc
Log diagnostic when a file is not found
2018-03-12 12:03:14 +01:00
Jonathan Müller
0caa3bdb15
Add missing case for CXType_Float16
2018-03-12 11:49:09 +01:00
Jonathan Müller
670551faa5
Fix include issue on pre-clang 4.0.0
2018-03-12 11:44:04 +01:00
Jonathan Müller
a91746c145
Improve variadic token workaround
2018-03-12 11:26:56 +01:00
Jonathan Müller
c2b86d1cad
Fix full path of includes
2018-02-21 16:25:46 +01:00
Jonathan Müller
2ced972b9f
Add missing missing file check
2018-02-19 19:24:54 +01:00
Jonathan Müller
cc5127979b
Fix external macro use when fast_preprocessing=false
...
Forget to add standard library includes...
Fixes #39 .
2018-02-17 16:06:12 +01:00
Jonathan Müller
d2dc8907e2
Fix issues with fast preprocessing option
2018-02-17 13:16:14 +01:00
Jonathan Müller
b36a4a84b8
Properly detect include guard macros when fast preprocessing
...
Fixes #35 .
2018-02-17 13:01:34 +01:00
Jonathan Müller
d6ae705b5e
Update copyright in tool version
2018-02-16 10:50:30 +01:00
Jonathan Müller
cc35c30e38
Add option for fast preprocessing to tool
2018-02-16 10:49:38 +01:00
Jonathan Müller
159bc38883
Fix logic for building examples/tests
...
Fixes #36 .
2018-02-14 15:50:16 +01:00
Jonathan Müller
4c34587668
Add integration test that parses cppast itself
...
Fixes #29 .
2018-02-01 19:04:23 +01:00
Jonathan Müller
c7b13d89bc
Fix CI errors
2018-02-01 18:52:37 +01:00
Jonathan Müller
8c426ac115
Add fast preprocessing mode
2018-02-01 18:27:41 +01:00
Jonathan Müller
bd4db2ce80
Add self-parsing integration test
2018-02-01 16:32:30 +01:00
Jonathan Müller
59c7ea31e1
Handle string literals in macro definition
2018-02-01 09:24:32 +01:00
Jonathan Müller
be0390446d
Ignore macro expansion cursors
2018-02-01 09:24:32 +01:00
Jonathan Müller
98e709fdfc
Fix return type having same name as function
2018-02-01 09:24:30 +01:00
Jonathan Müller
03495fbf11
Add informational log output to simple_file_parser
2018-02-01 09:22:34 +01:00
Jonathan Müller
ca5623b43d
Add file name to error output
2018-02-01 09:22:34 +01:00
Jonathan Müller
3998d6154e
Allow arrays as range type for parse_files()
2018-02-01 09:22:34 +01:00
Jonathan Müller
4c78c69da0
Update copyright year
2018-01-26 08:39:09 +01:00
Jonathan Müller
bca488c3d7
Improve fix #32
2018-01-25 21:57:07 +01:00
Zsolt Erhardt
ca2fae08a2
Bugfix/escaped character parsing ( #32 )
...
So as it turns out there's a nasty little piece of code in rapidjson's
source which breaks the preprocessor and will leave things a little bit
weird.
The test "preprocessor_parses_escaped_character" should prove
its validity.
2018-01-22 11:18:38 +01:00
Manu Sánchez
24365e8b82
Check if libclang components are found by cmake ( #31 )
...
Add checks after find_xxxx() cmake commands to abort configuration
if any of the components/configs (include dir, libclang binary, etc) are
not found.
2018-01-18 07:47:32 +01:00
Jonathan Müller
1e5271a4b7
Fix and improve C comment indent heuristic
2018-01-15 09:08:48 +01:00
Jonathan Müller
3e4a3e4037
Don't download from LLVM website
2018-01-12 20:53:00 +01:00
Jonathan Müller
3e8b2b429c
Better handling of include refs
2018-01-11 21:22:28 +01:00
Jonathan Müller
1e50e12742
Fix get_instantiation_template() so that it returns the primary template
2018-01-09 21:03:00 +01:00
Jonathan Müller
6c27481fa7
Allow exclude of template parameters in generation
2018-01-09 20:38:37 +01:00
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