When a function is referenced via a macro definition, the referencing function cannot find it
meijialun opened this issue · comments
Environment
- OS and Version: Win10 x64
- VS Code Version: 1.89.1
- C/C++ Extension Version: v1.20.5
- If using SSH remote, specify OS of remote machine: No
Bug Summary and Steps to Reproduce
Bug Summary:
When a function is referenced via a macro definition, the referencing function cannot find it
Steps to reproduce:
- Define a function
- Define a macro definition, pointing to the function
- Call the function through the macro definition
- Find all references to the function
Expected behavior:
Expecting to find that the function is referenced by a macro definition or an objective function, but not actually finding anything
Configuration and Logs
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"__TASKING__",
"BRS_COMP_TASKING"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}
Other Extensions
No response
Additional context
No response