Clang: Fix highlighting of function in using declaration

Change-Id: I0f646ce22cdc95e5932650a3fb2fe34b8d4a89a3
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Nikolai Kosjar
2017-06-01 11:00:59 +02:00
parent e6c8fbfd92
commit a3a62e78f7
6 changed files with 37 additions and 1 deletions

View File

@@ -296,6 +296,16 @@ Cursor Cursor::argument(int index) const
return clang_Cursor_getArgument(cxCursor, index);
}
unsigned Cursor::overloadedDeclarationsCount() const
{
return clang_getNumOverloadedDecls(cxCursor);
}
Cursor Cursor::overloadedDeclaration(unsigned index) const
{
return clang_getOverloadedDecl(cxCursor, index);
}
namespace {
bool isNotUnexposedLValueReference(const Cursor &argument, const Type &argumentType)