Commit graph

154 commits

Author SHA1 Message Date
Omer Ozarslan
a89ebcdf0a Use empty underlying type for aliases of anonymous types (#83)
Fixes #58
2019-08-16 12:58:48 +02:00
Jonathan Müller
ade719651f Copyright year update 2019-02-01 14:14:36 +01:00
Jonathan Müller
44fbe78b2e Fix issue with double quotation of macros
Fixes foonathan/standardese#117.
2018-12-20 16:20:45 +01:00
Jonathan Müller
d44571f1c8 Improve CMake 2018-12-18 18:27:36 +01:00
Jonathan Müller
51c2fc6569 Extend variable range to include attributes
Fixes #27.
2018-12-18 16:42:57 +01:00
Jonathan Müller
3aaa73020d Handle inline type declarations and attributes
Fixes #27.
2018-12-18 16:42:57 +01:00
Jonathan Müller
40236f606b Support multiple separate attributes in front
Fixes #60.
2018-12-18 16:42:57 +01:00
Jonathan Müller
4b5fc57f32 Add test for default argument fix
Fixes #41.
2018-12-18 16:42:57 +01:00
Jonathan Müller
d971d9a59e Workaround Windows bug in test 2018-12-18 16:42:57 +01:00
Jonathan Müller
f66ec833c1 Fix issue with defaulted destructors 2018-12-18 16:42:57 +01:00
Jonathan Müller
69c6ca17f5 Change external macro test 2018-12-18 16:42:57 +01:00
Jonathan Müller
101b7ccc18 Simplify tokenizer
Fixes #26.
2018-12-18 16:42:57 +01:00
Jonathan Müller
336a00946d Parse feature flags in compilation database 2018-12-03 12:20:32 +01:00
Jonathan Müller
8073d61049 Disable problematic integration test include 2018-11-28 17:08:05 +01:00
Jonathan Müller
8a60d52be1 Remove dependency on system include dir 2018-11-28 16:32:54 +01:00
Jonathan Müller
44fb635a90 Handle upstream fix for #1 in tests 2018-10-25 22:09:09 +02:00
Jonathan Müller
34fd07b1b4 Ignore maximal munch issue in type spelling in clang 7 2018-10-25 22:08:57 +02:00
Jonathan Müller
73f41aac05 Fix ctest configuration 2018-09-20 21:02:21 +02:00
Jonathan Müller
9f18b7f4d8 Update clang-format 2018-09-20 19:57:03 +02:00
Zhansong Li
25afbdbe35 Fix catch2 download link
Fixes #61.
2018-07-11 11:07:56 +02:00
Jonathan Müller
56d4964b61 [breaking] Turn macro parameters into propert entities 2018-06-20 09:54:16 +02:00
Jonathan Müller
19f237043b Handle attribute names that are keywords 2018-03-28 17:16:39 +02:00
Jonathan Müller
4b73c44133 Fix issue with array function arguments
Fixes #47.
2018-03-20 15:19:41 +01:00
Jonathan Müller
003207361a Properly handle unnecessary semicolons
Now fixes #45.
2018-03-19 21:12:40 +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
b36a4a84b8 Properly detect include guard macros when fast preprocessing
Fixes #35.
2018-02-17 13:01:34 +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
98e709fdfc Fix return type having same name as function 2018-02-01 09:24:30 +01:00
Jonathan Müller
4c78c69da0 Update copyright year 2018-01-26 08:39:09 +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
Jonathan Müller
1e5271a4b7 Fix and improve C comment indent heuristic 2018-01-15 09:08:48 +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
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
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
8532de1479 Fix CMake 2017-11-11 10:33:01 +01:00
Jonathan Müller
d102d769c1 Improve visit facility 2017-10-31 18:03:44 +01:00
Jonathan Müller
6af95dde8e Add first example 2017-10-31 15:55:06 +01:00
Jonathan Müller
0875721452 Handle parsing of extern templates 2017-10-30 22:25:12 +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
1572920650 Add function to tokenize strings 2017-10-19 19:02:27 +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