forked from qt-creator/qt-creator
Clang: Add usage functions to symbol query
Change-Id: If68a5119c863e616fea40275136d028abcf441f3 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -43,6 +43,14 @@ public:
|
||||
: filePathId{directoryId, sourceId}, line(line), column(column)
|
||||
{}
|
||||
|
||||
friend bool operator==(SourceLocation first, SourceLocation second)
|
||||
{
|
||||
return first.filePathId == second.filePathId
|
||||
&& first.line == second.line
|
||||
&& first.column == second.column;
|
||||
}
|
||||
|
||||
public:
|
||||
ClangBackEnd::FilePathId filePathId;
|
||||
int line;
|
||||
int column;
|
||||
|
||||
Reference in New Issue
Block a user