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