We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cee634 commit b1f1df1Copy full SHA for b1f1df1
lib/library.cpp
@@ -1155,6 +1155,8 @@ std::string Library::getFunctionName(const Token *ftok) const
1155
// Lookup function name using AST..
1156
if (ftok->astParent()) {
1157
bool error = false;
1158
+ if (Token::simpleMatch(ftok->astParent(), "."))
1159
+ return "";
1160
const Token * tok = ftok->astParent()->isUnaryOp("&") ? ftok->astParent()->astOperand1() : ftok->next()->astOperand1();
1161
std::string ret = getFunctionName(tok, error);
1162
if (error)
0 commit comments