Hi,
I have a marco to achieve some template-like function, but the whole intellisense(clang) is down after I added it. I can’t goto definition and I’m not getting highlights for functions. Only basic keywords like “return” is working.
The code is something like
#define FUNC_HANDLER(x,y,z)\
case x:\
do{\
some_function1();\
some_func2();\
while(0)
switch(iii)
{
FUNC_HANDLER(aaa,bbb,ccc);
FUNC_HANDLER(ddd,eee,fff);
}
but if I put case and FUNC_HANDLER in the same line, it’s working. Do you know what’s the difference and why it’s not responding instead of repoerting some errors?
-
This topic was modified 2 years, 8 months ago by wtywtykk.
Attachments:
You must be
logged in to view attached files.