Commit Graph

214 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
2ec069ba9c C and C++, support attribtues on enumerators
Fixes sphinx-doc/sphinx#10341
2022-04-17 17:27:30 +02:00
Jakob Lykke Andersen
991fe26fa5 C and C++, refactor attribute lists 2022-04-17 17:17:19 +02:00
Jakob Lykke Andersen
7dd1e5bbcf C++, simplify assginemnt-expression parsing 2022-04-17 14:22:24 +02:00
Jakob Lykke Andersen
a36c09a97f C++, use Itanium mangling for conditional expr 2022-04-17 14:22:24 +02:00
Jeremy Maitin-Shepard
2d2e0ac01a [C++] Support conditional operator "?" 2022-04-17 14:22:24 +02:00
Takeshi KOMIYA
b12b39db05
Merge pull request #10212 from AA-Turner/remove-module-docstring-titles
Remove module docstring titles
2022-03-14 02:14:17 +09:00
Jakob Lykke Andersen
9362df53be C++, minor formatting 2022-03-12 20:05:26 +01:00
Jeremy Maitin-Shepard
a9a5cec681
Update tests/test_domain_cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:03:05 -08:00
Jeremy Maitin-Shepard
2c1e4c437e
Update tests/test_domain_cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:59 -08:00
Jeremy Maitin-Shepard
ce82f9ee9c
Update tests/test_domain_cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:54 -08:00
Jeremy Maitin-Shepard
670e8b149f [C++] Support attributes on class and union and improve formatting 2022-03-10 22:03:42 -08:00
Adam Turner
5775912455 Collapse single line docstrings 2022-02-20 03:13:45 +00:00
Adam Turner
6bb7b891a1 Remove copyright and licence fields 2022-02-20 03:06:23 +00:00
Adam Turner
5694e0ce60 Fix module docstring indentation 2022-02-20 00:35:13 +00:00
Adam Turner
4f5a3269a6 Fix module docstring first line 2022-02-20 00:11:08 +00:00
Adam Turner
6b8bccec59 Remove module titles in docstrings 2022-02-19 23:17:29 +00:00
Takeshi KOMIYA
b84771dcd2 A happy new year! 2022-01-01 18:45:03 +09:00
Jakob Lykke Andersen
c09643c21f C, fix parsing of fundamental types
When multiple simple type specifiers are part of the type,
then they may appear in any order.
2021-11-30 22:00:54 +01:00
Jakob Lykke Andersen
67d673406f C++, fix parsing of fundamental types
When multiple simple type specifiers are part of the type,
then they may appear in any order.
2021-11-30 22:00:20 +01:00
Jakob Lykke Andersen
73c1520923 C++, fix parsing of defaulted fp function params 2021-08-20 18:17:42 +02:00
Jakob Lykke Andersen
a4371ea94c C++, update fundamental type handling a la in C 2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
358efdd8f3 C++, fix name mangling of literals with digit seps 2021-06-28 19:30:59 +02:00
Jakob Lykke Andersen
450d5caa37 C++, support constrains in placeholders 2021-06-24 22:32:23 +02:00
Jakob Lykke Andersen
7bc2e052c5 C++, C, support digit separators in literals 2021-06-24 21:12:26 +02:00
Jakob Lykke Andersen
799c53aa11 C++, support explicit(<expr>) specifier 2021-06-24 20:26:22 +02:00
Jakob Lykke Andersen
d5da6fdf50 C++, support char8_t 2021-06-24 19:45:44 +02:00
Jakob Lykke Andersen
b94a60dc89 C++, support consteval and constinit 2021-06-24 19:39:15 +02:00
Jakob Lykke Andersen
57237dbb07 C++, support inline variables 2021-06-24 19:15:54 +02:00
Jakob Lykke Andersen
98f827ceee Refactor C++ tests 2021-06-03 20:01:21 +02:00
Jakob Lykke Andersen
783314d54d Field roles, add C++ test 2021-06-03 16:52:38 +02:00
Jakob Lykke Andersen
87414faa92 Decl styling, fix cpp tests 2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
14f7d243bd Decl styling, more nodes and C++ conversion 2021-04-12 19:05:58 +02:00
Jakob Lykke Andersen
72e231d0e6 C and C++, fix nested paramter lists 2021-03-04 21:28:18 +01:00
Jakob Lykke Andersen
4052cbc9b1 C++, support spaceship operator
Fixes sphinx-doc/sphinx#8942
2021-03-02 20:22:22 +01:00
Takeshi KOMIYA
30f8640bab Merge branch '3.x' 2021-01-16 21:51:46 +09:00
Jakob Lykke Andersen
f7a1d66359 C++, fix object types for xrefs
Make them all work with intersphinx.
Strengthen templateParam a bit.
2021-01-11 20:51:36 +01:00
Takeshi KOMIYA
4b452338f9 Merge branch '3.x' 2021-01-01 13:57:19 +09:00
Takeshi KOMIYA
f996859420 A happy new year!
.. note::

   $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \;
   $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
2021-01-01 13:40:48 +09:00
Takeshi KOMIYA
3a4ae2092a Merge branch '3.x' 2020-11-21 01:01:36 +09:00
Takeshi KOMIYA
017698a2c6 test: Fix duplicated testcases 2020-11-16 00:07:36 +09:00
Takeshi KOMIYA
21a3bd4127 refactor: Fix flake8 violations under tests/ directory 2020-11-15 17:15:40 +09:00
Takeshi KOMIYA
279e547860 Merge branch '3.x' 2020-11-12 02:50:43 +09:00
François Freitag
0949735210
Sort imports with isort
Keep imports alphabetically sorted and their order homogeneous across
Python source files.

The isort project has more feature and is more active than the
flake8-import-order plugin.

Most issues caught were simply import ordering from the same module.
Where imports were purposefully placed out of order, tag with
isort:skip.
2020-11-11 13:19:05 +01:00
Takeshi KOMIYA
449a567732 Merge branch '3.x' 2020-11-02 22:25:10 +09:00
Jakob Lykke Andersen
37f1454ec1 C, C++, improve warnings on duplicates 2020-10-24 12:22:02 +02:00
Takeshi KOMIYA
445b9515c1 Merge branch '3.x' 2020-10-24 18:12:45 +09:00
Jakob Lykke Andersen
777bcb43fa C++, properly reject functions as duplicates
Fixes sphinx-doc/sphinx#8270
2020-10-03 16:00:28 +02:00
Takeshi KOMIYA
8412347f5d Merge branch '3.x' 2020-08-14 14:28:58 +09:00
Jakob Lykke Andersen
52140be6b8 C and C++, parsing function attributes
Fixes sphinx-doc/sphinx#8114
2020-08-13 18:39:28 +02:00
Jakob Lykke Andersen
d72fedb69d C++, fix template template parameter parsing
https://github.com/sphinx-doc/sphinx/pull/8037#issuecomment-673511490
2020-08-13 17:08:39 +02:00