forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user