Source code parser can't parse macrocalls.
For example:
#define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
(Source: Vulkan API SDK, vulkan.h)
Or
#define DECLARE_HANDLE(name) struct name##__; typedef struct name##__ *name
(Source: Win32 API, winnt.h)
It can be used like:
VK_DEFINE_HANDLE(VkInstance)
Or
DECLARE_HANDLE(HWND)
But CodeComplition will not show VkInstance or HWND — there is no data about it.
Can you explain this? What is the error, what is the expected behaviour?
Also, I would like to see a minimal code to demostrate the errors. The minimao code should not include any other header files, so that we can debug it easily.
Well,I don't know why, but it is already fixed in last version.
CodeComplition normally show MyHandle in tokens list. So that what I want.
OK, I will close this ticket.