-
-
Notifications
You must be signed in to change notification settings - Fork 293
C++按照谷歌编程格式函数无法提取参数 #325
Copy link
Copy link
Closed
Description
描述bug
在vscode中设置了google编程格式,但是使用这个格式,对于C++函数参数,尤其是对于指针类型参数,无法正确提取参数
你得到的注释(必填):
如果C++使用Google编程格式,如下,无法正确解析函数参数
/**
* @description:
* @param {*}
* @return {*}
*/
char test(char* temp) {
cout << temp << endl;
}你生成的注释为:
预期的行为(必填):
如果使用如下,可以正确解析出来函数参数
/**
* @description:
* @param {char} *temp
* @return {*}
*/
char test(char *temp) {
cout << temp << endl;
}错误日志(选填):
无
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels