diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-04-23 12:06:12 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-05-03 13:34:21 +0000 |
commit | ce032552c0df8306eefa55bc049b694762e334fa (patch) | |
tree | 6d310c4d17d3bf6377d00e02e1caa37cc281ec83 /src/tools/clangbackend/source/sourcelocation.cpp | |
parent | a2e8c68feeea4c4b1d46398f8b5b1f7b9956b4ad (diff) | |
download | qt-creator-ce032552c0df8306eefa55bc049b694762e334fa.tar.gz |
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>
Diffstat (limited to 'src/tools/clangbackend/source/sourcelocation.cpp')
-rw-r--r-- | src/tools/clangbackend/source/sourcelocation.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tools/clangbackend/source/sourcelocation.cpp b/src/tools/clangbackend/source/sourcelocation.cpp index 77fd9e61da..2450dcf590 100644 --- a/src/tools/clangbackend/source/sourcelocation.cpp +++ b/src/tools/clangbackend/source/sourcelocation.cpp @@ -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; |