We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c501a4a commit 2cddd8bCopy full SHA for 2cddd8b
1 file changed
lib/clangimport.cpp
@@ -913,6 +913,7 @@ Token *clangimport::AstNode::createTokens(TokenList &tokenList)
913
return nullptr;
914
}
915
if (mKind == CXXMethodDecl) {
916
+ (void)mData.hasDecl(""); // <- do not show warning that hasDecl is not used
917
/* JSON
918
for (std::size_t i = 0; i+1 < mExtTokens.size(); ++i) {
919
if (mExtTokens[i] == "prev" && !mData.hasDecl(mExtTokens[i+1]))
0 commit comments