Skip to content
Snippets Groups Projects
Commit d8df285e authored by Zhang HuiJie's avatar Zhang HuiJie
Browse files
parent cdafed17
No related branches found
No related tags found
No related merge requests found
......@@ -697,6 +697,9 @@ bool CppLanguageSupport::isFunctionLike(const rpp::pp_macro& pm, const QUrl& url
while(!strdef.isEmpty()) {
IndexedString preName(strdef);
if(pm.name == preName)
return false;
if(!p->usedMacroNames().contains(preName) && !p->definedMacroNames().contains(preName))
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment