ClangRefactor: Avoid warnings

... about unused code by removing it.

Change-Id: I827db7880d5fca8a736b34fa58608328645bf80f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
hjk
2019-07-05 11:50:58 +02:00
parent a6d3101207
commit 288ff9a854

View File

@@ -103,20 +103,6 @@ SymbolKindAndTags symbolKindAndTags(const clang::Decl *declaration)
return visitor.Visit(declaration);
}
bool isDeclaration(clang::index::SymbolRoleSet symbolRoles)
{
using namespace clang::index;
return symbolRoles & (uint(SymbolRole::Declaration) | uint(SymbolRole::Definition));
}
bool isReference(clang::index::SymbolRoleSet symbolRoles)
{
using namespace clang::index;
return symbolRoles & (uint(SymbolRole::Reference) | uint(SymbolRole::Call));
}
} // namespace
bool IndexDataConsumer::skipSymbol(clang::FileID fileId, clang::index::SymbolRoleSet symbolRoles)