159 Commits

Author SHA1 Message Date
efa7f5eaad Fixed operator*(). 1.3.0-2 2024-01-05 14:36:06 +01:00
83a0fb805d Added basic parsing of pointer-to-member types. 1.3.0-1 2024-01-05 14:24:47 +01:00
Dustin Spicuzza
29b71ab2ed
Merge pull request #87 from justinboswell/ctad
Added support for template deduction guides
1.3.0
2023-12-05 17:51:52 -05:00
Justin Boswell
88a7048513 Added support for template deduction guides
* Added DeductionGuide as a language element
2023-12-05 17:49:14 -05:00
Dustin Spicuzza
64c5290318
Merge pull request #89 from robotpy/fn-constraints
Move non-template requires to the function
2023-12-03 01:04:11 -05:00
Dustin Spicuzza
85f93ec09e Move non-template requires to the function
- Methods can have a requires() that refer to the class template without
  an explicit function template
- This is a breaking change, but since the values aren't parsed yet I
  can't imagine anyone is using it
2023-12-02 04:51:00 -05:00
Dustin Spicuzza
04ba4bffae
Merge pull request #88 from robotpy/more-using
Retain doxygen comments for using declarations and type aliases
2023-12-02 04:45:11 -05:00
Dustin Spicuzza
73a81d3107 Retain doxygen comments for using declarations and type aliases 2023-12-02 04:24:10 -05:00
Dustin Spicuzza
f1708bf9b8
Merge pull request #85 from robotpy/static-inline
Allow fields to be marked inline
1.2.2
2023-11-19 12:50:09 -05:00
Dustin Spicuzza
cafb594179 Allow fields to be marked inline
- Fixes #84
2023-11-19 12:47:09 -05:00
Dustin Spicuzza
0e732f1d43
Merge pull request #82 from robotpy/trailing-return-type-body
Consume function body if present after trailing return type
1.2.1
2023-11-13 23:27:15 -05:00
Dustin Spicuzza
42bc6b60ad Consume function body if present after trailing return type
- Fixes #81
2023-11-13 23:23:40 -05:00
Dustin Spicuzza
9883a4e247
Merge pull request #80 from robotpy/cpp20
Add various C++20 features
1.2.0
2023-10-13 02:37:46 -04:00
Dustin Spicuzza
37cd3abee9 Parse C++20 requirement constraints for functions/classes
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com>
2023-10-13 02:34:21 -04:00
Dustin Spicuzza
2957e70823 Add support for C++20 abbreviated function templates
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com>
2023-10-13 02:34:17 -04:00
Dustin Spicuzza
e935959ad3 Implement basic concept parsing
- requires clauses are collected into a Value and not interpreted at
  this time
2023-10-10 03:45:55 -04:00
Dustin Spicuzza
e23c4db96d
Merge pull request #78 from robotpy/msvc-preprocessor
Add MSVC compatible preprocessing function
1.1.0
2023-10-08 23:06:01 -04:00
Dustin Spicuzza
196e88b85e Add MSVC preprocessor support 2023-10-08 01:51:13 -04:00
Dustin Spicuzza
3d23375190 Make content optional
- Some preprocessors read the file directly
2023-10-08 01:21:31 -04:00
Dustin Spicuzza
d94df61c63
Merge pull request #77 from robotpy/gcc-preprocessor
Add GCC compatible preprocessing function
2023-10-08 01:07:13 -04:00
Dustin Spicuzza
8f9e8626af Add GCC compatible preprocessing function 2023-10-08 01:01:18 -04:00
Dustin Spicuzza
9dd573e433 Make pcpp more optional 2023-10-08 00:56:25 -04:00
Dustin Spicuzza
2a17b27225
Merge pull request #75 from seladb/do-not-skip-headers-in-preprocessor
Add option to retain #include directives in preprocessor
2023-10-06 02:38:34 -04:00
seladb
312f6fba6b Add option to retain #include directives in preprocessor 2023-10-06 02:34:06 -04:00
Dustin Spicuzza
26da91836a Update sphinx configuration 2023-10-06 02:09:45 -04:00
Dustin Spicuzza
458d3e0795 Fix RTD configuration 2023-10-06 02:03:29 -04:00
Dustin Spicuzza
e9df106bee Add RTFD configuration 2023-10-06 01:59:25 -04:00
Dustin Spicuzza
9c587e9414 Prepare to publish 1.0.0 2023-10-05 02:53:55 -04:00
Dustin Spicuzza
93bdfee934 Add preprocessor-only mode to the dump command 2023-10-05 02:48:22 -04:00
Dustin Spicuzza
955214cef4
Merge pull request #73 from robotpy/multiple-template-declarations
Support multiple template declarations on a class or function
2023-10-05 02:35:13 -04:00
Dustin Spicuzza
51d29a0791 Support multiple template declarations on a class or function
- Fixes #20
2023-10-05 02:29:25 -04:00
Dustin Spicuzza
175815525f
Merge pull request #6 from robotpy/fmt-types
Add pretty formatting for types
2023-10-04 04:04:03 -04:00
Dustin Spicuzza
6ac0bdb4e3
Merge pull request #72 from robotpy/auto-decltype-fn
Parse auto functions with trailing return
2023-10-04 03:33:49 -04:00
Dustin Spicuzza
e30c117b62 Parse auto functions with trailing return 2023-10-04 03:29:27 -04:00
Dustin Spicuzza
a5ce9a24e6 Add pretty formatting for types and template specializations
- Fixes #3
2023-10-04 03:16:33 -04:00
seladb
1f5ba1b3ca
Various fixes after running pylint (#71) 2023-10-04 02:57:34 -04:00
Dustin Spicuzza
0280e8d7e1
Merge pull request #70 from robotpy/fwd-template-method
Allow forward declared template methods
2023-10-02 01:48:52 -04:00
Dustin Spicuzza
4d16552544 Allow forward declared template methods 2023-10-02 01:45:51 -04:00
Dustin Spicuzza
cc47d6785a
Merge pull request #69 from robotpy/fix-pp-again
Handle pcpp relative path quirk
2023-10-01 03:10:10 -04:00
Dustin Spicuzza
ab99f2fa72 Handle pcpp relative path quirk 2023-10-01 03:07:26 -04:00
Dustin Spicuzza
e6908386ea Add documentation clarifying FundamentalSpecifier 2023-09-30 16:28:42 -04:00
Dustin Spicuzza
bdcee6f9c0
Merge pull request #68 from robotpy/simplify-blocks
breaking change: remove empty block state and update visitor types
2023-09-28 21:01:26 -04:00
Dustin Spicuzza
bf54be5bbb Constrain visitor state types further to valid combinations 2023-09-27 11:37:48 -04:00
Dustin Spicuzza
326da6112c Remove EmptyBlockState
- Turns out you can't put an empty block except in code
2023-09-27 01:14:21 -04:00
Dustin Spicuzza
8c69970857
Merge pull request #66 from robotpy/fn-operator
breaking change: Remove operator type and make part of Function
2023-09-24 22:01:10 -04:00
Dustin Spicuzza
c3fbe4c16c breaking change: Remove operator type and make part of Function
- Unifies free function operators and method operators -- otherwise users
  would need to parse the operator themselves to deal with free function operators
- We don't have any releases yet, so there are no stability guarantees
2023-09-23 21:45:30 -04:00
Dustin Spicuzza
09eb5af3a3 Add tokfmt test for void** 2023-09-19 00:19:46 -04:00
Dustin Spicuzza
67c1f2b17d Reorder enum in file 2023-09-19 00:19:39 -04:00
Dustin Spicuzza
960ed68785
Merge pull request #65 from robotpy/skip-sections
Skip sections
2023-09-09 23:14:05 -04:00
Dustin Spicuzza
8e2d9909fa Provide mechanism to skip entire blocks
- Simplifies usage of visitor logic considerably
- Add null_visitor to help with this
2023-09-09 23:10:17 -04:00