Commit graph

168 commits

Author SHA1 Message Date
Lucas Jansen
7b25525232
Add support for C language standards (#159) 2023-01-26 12:17:44 +01:00
Jonathan Müller
34e7bb4bf4 Fix unmunch for template arguments
Fixes #147.
2022-10-13 17:30:41 +02:00
waitingtocompile
a937efbcbc
Add basic concept support (#144) 2022-09-03 21:22:59 +02:00
Jonathan Müller
135e4d65e8 Update catch to latest version 2022-06-30 14:58:41 +02:00
Bartek Kryza
19cbc378f8
Fix virtual inheritance parsing (#137) 2022-04-17 19:14:08 +02:00
Jonathan Müller
62e571a4d6 Update copyright notices 2022-02-07 20:43:22 +01:00
Jonathan Müller
373717cc5e Fix multidimensional array of incomplete size
Fixes #129.
2022-02-06 21:50:54 +01:00
Minh Lu
1b03d106ab Add support for consteval 2021-03-24 19:47:50 +01:00
Minh Lu
ce218dfb8a Add basic C++20 support 2021-03-24 19:47:50 +01:00
Jonathan Müller
39ba4f5de2 Use catch via FetchContent
Fixes #111 and #112.
2021-02-17 13:37:14 +01:00
Julian Rüth
36b64d29b9
Segfault when parsing an empty extern "C" {} block (#110)
extern declaration blocks can be empty: https://en.cppreference.com/w/cpp/language/language_linkage
2021-02-03 19:28:49 +01:00
Loïc Touraine
9ab6ef877a
fix: update catch.hpp link to fix broken link due to Catch2 repository branches evolution (#108) 2021-02-03 16:54:22 +01:00
Jonathan Müller
000febb999 Fix parsing of explicit template instantiation
Fixes #82.
2019-11-18 17:22:00 +01:00
Jonathan Müller
72850d4362 Specify C++ standard in integration test 2019-11-18 17:01:39 +01:00
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