对于翻译单元中未定义的类型,libclang会使用int来作为兜底
undefined type undef conveter as a int type &BuiltinType:{Kind:6,Flag:0}
llcppsigfetch --extract "undef fn();" -temp=true -cpp=false
[{
"doc": {
"_Type": "File",
"decls": [{
"Type": {
"_Type": "FuncType",
"Params": {
"_Type": "FieldList",
"List": null
},
"Ret": {
"_Type": "BuiltinType",
"Kind": 6,
"Flags": 0
}
},
}],
},
"isSys": false
}]
对于翻译单元中未定义的类型,libclang会使用int来作为兜底
undefined type
undefconveter as a int type&BuiltinType:{Kind:6,Flag:0}llcppsigfetch --extract "undef fn();" -temp=true -cpp=false[{ "doc": { "_Type": "File", "decls": [{ "Type": { "_Type": "FuncType", "Params": { "_Type": "FieldList", "List": null }, "Ret": { "_Type": "BuiltinType", "Kind": 6, "Flags": 0 } }, }], }, "isSys": false }]