forked from qt-creator/qt-creator
Clang: Support old-style SIGNAL/SLOT macro
Color types and enable Ctrl+click for the functions and types inside SIGNAL/SLOT macros. Change-Id: Ic1c0b7372fe9a73c5607b1973d75a6656c75ef0e Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -127,11 +127,6 @@ SourceLocation::SourceLocation(CXTranslationUnit cxTranslationUnit,
|
||||
clang_getFileLocation(cxSourceLocation, 0, 0, 0, &offset_);
|
||||
}
|
||||
|
||||
bool operator==(const SourceLocation &first, const SourceLocation &second)
|
||||
{
|
||||
return clang_equalLocations(first.cxSourceLocation, second.cxSourceLocation);
|
||||
}
|
||||
|
||||
SourceLocation::operator CXSourceLocation() const
|
||||
{
|
||||
return cxSourceLocation;
|
||||
|
||||
Reference in New Issue
Block a user