Use the full URL for links to Breathe issues

This commit is contained in:
Adam Turner 2025-02-15 21:46:00 +00:00
parent 89797c728a
commit 2c46e547f8
2 changed files with 9 additions and 7 deletions

View File

@ -419,7 +419,8 @@ def test_domain_c_ast_type_definitions():
# test decl specs on right
check('type', '{key}bool const b', {1: 'b'}, key='typedef')
# from breathe#267 (named function parameters for function pointers
# from https://github.com/breathe-doc/breathe/issues/267
# (named function parameters for function pointers
check(
'type',
'{key}void (*gpio_callback_t)(struct device *port, uint32_t pin)',
@ -533,7 +534,7 @@ def test_domain_c_ast_function_definitions():
check('function', 'void f(int *const p)', {1: 'f'})
check('function', 'void f(int *volatile const p)', {1: 'f'})
# from breathe#223
# from https://github.com/breathe-doc/breathe/issues/223
check('function', 'void f(struct E e)', {1: 'f'})
check('function', 'void f(enum E e)', {1: 'f'})
check('function', 'void f(union E e)', {1: 'f'})
@ -678,7 +679,7 @@ def test_domain_c_ast_attributes():
check('enumerator', '{key}Foo [[attr1]] [[attr2]]', {1: 'Foo'})
check('enumerator', '{key}Foo [[attr1]] [[attr2]] = 42', {1: 'Foo'})
# issue michaeljones/breathe#500
# issue https://github.com/breathe-doc/breathe/issues/500
check(
'function',
'LIGHTGBM_C_EXPORT int LGBM_BoosterFree(int handle)',

View File

@ -503,7 +503,8 @@ def test_domain_cpp_ast_type_definitions():
check('type', '{key}A = B', {2: '1A'}, key='using')
check('type', '{key}A = decltype(b)', {2: '1A'}, key='using')
# from breathe#267 (named function parameters for function pointers
# from https://github.com/breathe-doc/breathe/issues/267
# (named function parameters for function pointers
check(
'type',
'{key}void (*gpio_callback_t)(struct device *port, uint32_t pin)',
@ -865,7 +866,7 @@ def test_domain_cpp_ast_function_definitions():
{1: 'f__osR.i', 2: '1fRNSt7ostreamEi'},
)
# from breathe#223
# from https://github.com/breathe-doc/breathe/issues/223
check('function', 'void f(struct E e)', {1: 'f__E', 2: '1f1E'})
check('function', 'void f(class E e)', {1: 'f__E', 2: '1f1E'})
check('function', 'void f(typename E e)', {1: 'f__E', 2: '1f1E'})
@ -912,7 +913,7 @@ def test_domain_cpp_ast_function_definitions():
check('function', 'template<typename T> int f()', ids)
check('function', 'template<typename T> f() -> int', ids)
# from breathe#441
# from https://github.com/breathe-doc/breathe/issues/441
check(
'function',
'auto MakeThingy() -> Thingy*',
@ -1349,7 +1350,7 @@ def test_domain_cpp_ast_requires_clauses():
def test_domain_cpp_ast_template_args():
# from breathe#218
# from https://github.com/breathe-doc/breathe/issues/218
check(
'function',
'template<typename F> void allow(F *f, typename func<F, B, G != 1>::type tt)',