Dustin Spicuzza
2192a92003
Adjust testcase generator to remove unneeded whitespace
2022-12-06 07:46:16 -05:00
Dustin Spicuzza
ba4222560f
Checkout full history to allow git describe to work
2022-05-02 12:51:11 -04:00
Dustin Spicuzza
a68f05a840
Add live demo link
...
- Fixes #4
2022-04-30 02:16:01 -04:00
Dustin Spicuzza
1b308ff0ab
Ignore .nojekyll file on deploy
2022-04-30 02:12:54 -04:00
Dustin Spicuzza
b525f18f6b
Copy latest commit to interactive demo
2022-04-30 02:06:38 -04:00
Dustin Spicuzza
944c9daf10
Merge pull request #35 from robotpy/mypy-madness
...
Check codebase using mypy
2022-01-02 21:55:40 -05:00
Dustin Spicuzza
977fe133d0
Check codebase using mypy in github actions
2022-01-02 21:53:22 -05:00
Dustin Spicuzza
f29c1d5a30
mypy: address issues parsing const/volatile/*/& items
2022-01-02 21:52:36 -05:00
Dustin Spicuzza
83aa34d06e
mypy: functions should be a list of functions
2022-01-02 21:51:49 -05:00
Dustin Spicuzza
ce4124d5dd
mypy: add temporary variables to ease type checking
2022-01-02 21:51:19 -05:00
Dustin Spicuzza
b05b1b16c1
mypy: add assertions/logic to ensure that ClassScope/NamespaceScope are correct
2022-01-02 21:48:49 -05:00
Dustin Spicuzza
2eb13496fa
mypy: function return types marked as optional
...
Only methods can have optional return types, but it has to be applied to function
as well as method, otherwise mypy complains.
I considered making a special return type for constructors/destructors, but it
seemed to just make things too messy. Time will tell if this was the right
decision.
2022-01-02 21:45:06 -05:00
Dustin Spicuzza
36d23c37bd
mypy: add trivial annotations to functions that don't change logic
2022-01-02 21:41:34 -05:00
Dustin Spicuzza
9756025e2d
mypy: add None return types to functions that don't return a value
2022-01-02 21:30:41 -05:00
Dustin Spicuzza
cd6d4f23f3
parse errors should use standard filename:lineno prefix when possible
2021-12-17 00:22:21 -05:00
Dustin Spicuzza
8f7455f3d3
Enable test with duplicate name
2021-12-16 23:03:18 -05:00
Dustin Spicuzza
5d564687c3
Add support for conversion operators
...
- Fixes #9
2021-11-29 22:56:43 -05:00
Dustin Spicuzza
92f8e72779
Support parsing MSVC calling conventions
...
- Fixes #5
- Fixes #33
2021-11-27 21:40:10 -05:00
Dustin Spicuzza
a67c9c4afe
Add test for #21
...
- Fixes #21
2021-11-26 10:19:48 -05:00
Dustin Spicuzza
bcc57c72c0
Merge pull request #30 from robotpy/fix-12
...
Support __declspec (and other attributes) when parsing a name
2021-11-26 10:09:11 -05:00
Dustin Spicuzza
8d506e5700
Support __declspec (and other attributes) when parsing a name
...
- Sometimes this will lead to accepting invalid code, but "dont do that"
- Fixes #12
2021-11-26 10:03:26 -05:00
Dustin Spicuzza
88dab86a9e
Merge pull request #29 from robotpy/allow-fn-typedef
...
Allow typedefs of function definitions
2021-11-26 01:15:01 -05:00
Dustin Spicuzza
3c5174b52f
Allow typedefs of function definitions
...
- Fixes #13
2021-11-26 01:11:50 -05:00
Dustin Spicuzza
e750418d08
Merge pull request #28 from robotpy/fix-final-as-name
...
Allow using 'final' as a name in some contexts
2021-11-26 00:50:37 -05:00
Dustin Spicuzza
b611b9189a
Allow using 'final' as a name in some contexts
...
- Strictly speaking, this fix will allow 'final' in some contexts where it isn't actually
allowed. However, cxxheaderparser "will not reject all invalid C++ headers!" so this is ok
- Fixes #14
2021-11-26 00:28:54 -05:00
Dustin Spicuzza
7f6ae6bcbf
Merge pull request #27 from robotpy/fix-fnptr-w-refs
...
Handle function pointer parameters where the return value is a reference
2021-11-26 00:27:41 -05:00
Dustin Spicuzza
c7d480e8c3
Handle function pointer parameters where the return value is a reference
...
- Fixes #17
2021-11-26 00:11:36 -05:00
Dustin Spicuzza
b1808f77ad
Merge pull request #25 from robotpy/fixes
...
Add tests for bugs that were already fixed
2021-11-25 23:41:04 -05:00
Dustin Spicuzza
7094a0c677
Add python 3.10 to github actions
2021-11-25 23:38:52 -05:00
Dustin Spicuzza
5f57509568
Format with latest black
2021-11-25 22:51:08 -05:00
Spicuzza
420f293ead
Add test for inline + volatile function
...
- Fixes #18
2021-11-21 12:59:54 -05:00
Spicuzza
8591e3114f
Add test for mutable
...
- Fixes #19
2021-11-21 12:56:26 -05:00
Dustin Spicuzza
4521e0d594
Merge pull request #24 from michelp/main
...
allow single hyphen to represent stdin for filename.
2021-11-07 23:17:09 -05:00
Michel Pelletier
83bb290379
allow single hyphen to represent stdin for filename.
2021-11-06 08:30:55 -07:00
Dustin Spicuzza
f08ad8dee6
Merge pull request #23 from robotpy/add-volatile-test
...
Add test for volatile field
2021-09-08 09:23:06 -04:00
Dustin Spicuzza
65e05bfb90
Add test for volatile field
...
- Fixes #16
2021-09-08 09:21:01 -04:00
Dustin Spicuzza
f9e19de5af
Merge pull request #22 from robotpy/fix-volatile
...
Support volatile keyword correctly
2021-08-16 16:09:42 -04:00
Dustin Spicuzza
6435b47744
Support volatile keyword correctly
2021-08-16 16:07:13 -04:00
Dustin Spicuzza
a25bb077d7
Merge pull request #8 from robotpy/typename-type
...
Support using 'typename' qualifier before type names
2021-01-09 13:08:29 -05:00
Dustin Spicuzza
3c51a30efe
Support using 'typename' qualifier before type names
...
- Fixes #7
2021-01-09 12:54:45 -05:00
Dustin Spicuzza
07b63127f7
Don't run CI on pushes unless part of a PR
2021-01-04 22:00:24 -05:00
Dustin Spicuzza
1b2e622418
Merge pull request #2 from robotpy/trailing-return-type
...
Add support for C++17 trailing return types
2021-01-04 21:59:14 -05:00
Dustin Spicuzza
8c9f8fd8ba
Add support for C++17 trailing return types
2021-01-04 21:55:29 -05:00
Dustin Spicuzza
43431f3fe4
Use utf-8-sig to open files by default
2021-01-02 19:22:22 -05:00
Dustin Spicuzza
23b95f09f2
Make mypy happier
2021-01-01 15:49:43 -05:00
Dustin Spicuzza
0329268622
Remove static content from docs
2020-12-31 02:07:28 -05:00
Dustin Spicuzza
1392fceeb5
Add documentation
2020-12-31 01:55:29 -05:00
Dustin Spicuzza
e361d4443a
Add additional template specialization tests
2020-12-31 00:40:42 -05:00
Dustin Spicuzza
80fb4982ba
Fix formatting
2020-12-31 00:25:08 -05:00
Dustin Spicuzza
a6977325b9
Fix doxygen tests
2020-12-31 00:24:45 -05:00