1
0
Fork 0

Fix #13875: [Script] be less strict about empty constructor format for doxygen (#13882)

pull/13848/head
Loïc Guilloux 2025-03-24 13:38:10 +01:00 committed by GitHub
parent 997f8abaec
commit bdea29c414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 5 deletions

View File

@ -84,9 +84,6 @@ BEGIN {
api_selected = "false"
}
public = "false"
cls_param[0] = ""
cls_param[1] = 1
cls_param[2] = "x"
cls_in_api = api_selected
api_selected = ""
cls = $2
@ -275,8 +272,10 @@ BEGIN {
/^.*\(.*\).*$/ {
if (cls_level != 1) next
if (!match($0, ";")) {
gsub(/ :$/, ";")
skip_function_body = "true"
if (!match($0, "}$")) {
skip_function_body = "true"
}
gsub(/ :.*$/, ";")
}
if (match($0, "~")) {
if (api_selected != "") {