summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow multi-line object description signatures (#11011)TLouf2023-05-111-1/+253
| | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com> Co-authored-by: TLouf <loufthomas@gmail.com>
* Fix COM812Adam Turner2023-02-181-4/+4
|
* Adopt ``profile = "black"`` for ``isort``Adam Turner2023-01-071-2/+8
| | | | This allows using Ruff's import sorting fixers
* Run pyupgrade (#11070)Adam Turner2023-01-021-7/+7
|
* remove blanket 'noqas'Daniel Eades2022-12-161-2/+2
|
* Run the ``pyupgrade`` toolAdam Turner2022-10-171-8/+8
|
* C++, restructure testsJakob Lykke Andersen2022-07-291-34/+32
|
* C++, fix parsing of certain non-type template parametersJakob Lykke Andersen2022-07-291-3/+4
| | | | Specifically 'template<int (X::*)(bool)...>'
* C++, ensure merging case is as assumedJakob Lykke Andersen2022-07-291-8/+8
|
* [C++] Ensure consistent non-specialization template argument representationJeremy Maitin-Shepard2022-07-291-3/+89
| | | | | Previously, in certain cases the template arguments of non-specializations were retained, leading to incorrect merging of symbols.
* [C++] Allow template prefix on union declarationsJeremy Maitin-Shepard2022-07-241-0/+3
|
* [C++] Allow trailing requires-clause on constructorsJeremy Maitin-Shepard2022-07-241-0/+2
|
* [C++] Allow trailing-requires-clause on functions without a template prefixJeremy Maitin-Shepard2022-07-241-0/+2
|
* [C++] Support requires-clause in more placesJeremy Maitin-Shepard2022-07-241-0/+18
| | | | | | | | | | | | | | | | | | | | | | | Previously a C++20 requires-clause was only supported on `function` declarations. However, the C++ standard allows a require-clause on class/union templates, alias templates, and variable templates, and also allows a requires clause after each template parameter list, not just the final one. This moves the requiresClause to be a property of `ASTTemplateParams` rather than `ASTDeclaration` to better match the C++ grammar and allows requires clauses in many places that are supported by C++20 but were not previously allowed by Sphinx, namely: - On class templates, alias templates, and variable templates - After each template parameter list, not just the last one. - After the template parameter list in template template parameters. When encoding the id, the requires clause of the last template parameter list is treated specially in order to preserve compatibility with existing v4 ids.
* Lint with `flake8-bugbear` (#10602)danieleades2022-07-121-2/+2
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Use the `flake8-comprehensions` lint plugin (#10601)danieleades2022-06-261-1/+1
|
* remove unnecessary list calls around 'sorted' (C413)Daniel Eades2022-06-031-2/+2
|
* Merge branch '5.x' into fix-warningsAdam Turner2022-05-021-10/+13
|\ | | | | | | | | # Conflicts: # tests/test_search.py
| * C and C++, support attribtues on enumeratorsJakob Lykke Andersen2022-04-171-4/+7
| | | | | | | | Fixes sphinx-doc/sphinx#10341
| * C and C++, refactor attribute listsJakob Lykke Andersen2022-04-171-8/+8
| |
* | `.read_text()` -> `.read_text(encoding='utf8')`Adam Turner2022-04-271-5/+5
|/
* C++, simplify assginemnt-expression parsingJakob Lykke Andersen2022-04-171-1/+3
|
* C++, use Itanium mangling for conditional exprJakob Lykke Andersen2022-04-171-2/+2
|
* [C++] Support conditional operator "?"Jeremy Maitin-Shepard2022-04-171-1/+2
|
* Merge pull request #10212 from AA-Turner/remove-module-docstring-titlesTakeshi KOMIYA2022-03-141-9/+1
|\ | | | | Remove module docstring titles
| * Collapse single line docstringsAdam Turner2022-02-201-2/+1
| |
| * Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
| |
| * Fix module docstring indentationAdam Turner2022-02-201-2/+2
| |
| * Fix module docstring first lineAdam Turner2022-02-201-2/+1
| |
| * Remove module titles in docstringsAdam Turner2022-02-191-3/+0
| |
* | C++, minor formattingJakob Lykke Andersen2022-03-121-2/+1
| |
* | Update tests/test_domain_cpp.pyJeremy Maitin-Shepard2022-03-111-2/+1
| | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
* | Update tests/test_domain_cpp.pyJeremy Maitin-Shepard2022-03-111-2/+1
| | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
* | Update tests/test_domain_cpp.pyJeremy Maitin-Shepard2022-03-111-2/+1
| | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
* | [C++] Support attributes on class and union and improve formattingJeremy Maitin-Shepard2022-03-101-0/+9
|/
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* C, fix parsing of fundamental typesJakob Lykke Andersen2021-11-301-1/+1
| | | | | When multiple simple type specifiers are part of the type, then they may appear in any order.
* C++, fix parsing of fundamental typesJakob Lykke Andersen2021-11-301-1/+10
| | | | | When multiple simple type specifiers are part of the type, then they may appear in any order.
* C++, fix parsing of defaulted fp function paramsJakob Lykke Andersen2021-08-201-0/+3
|
* C++, update fundamental type handling a la in CJakob Lykke Andersen2021-08-201-2/+6
|
* C++, fix name mangling of literals with digit sepsJakob Lykke Andersen2021-06-281-9/+9
|
* C++, support constrains in placeholdersJakob Lykke Andersen2021-06-241-0/+9
|
* C++, C, support digit separators in literalsJakob Lykke Andersen2021-06-241-3/+8
|
* C++, support explicit(<expr>) specifierJakob Lykke Andersen2021-06-241-0/+2
|
* C++, support char8_tJakob Lykke Andersen2021-06-241-0/+1
|
* C++, support consteval and constinitJakob Lykke Andersen2021-06-241-0/+2
|
* C++, support inline variablesJakob Lykke Andersen2021-06-241-0/+2
|
* Refactor C++ testsJakob Lykke Andersen2021-06-031-55/+55
|
* Field roles, add C++ testJakob Lykke Andersen2021-06-031-0/+7
|
* Decl styling, fix cpp testsJakob Lykke Andersen2021-04-121-3/+2
|