forked from qt-creator/qt-creator
Utils: Make Link a class
Change-Id: Ia2f1c9589f65064eca2416b093b3fecf568058d2 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
2
src/libs/3rdparty/cplusplus/Symbol.h
vendored
2
src/libs/3rdparty/cplusplus/Symbol.h
vendored
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
namespace Utils { struct Link; }
|
||||
namespace Utils { class Link; }
|
||||
|
||||
namespace CPlusPlus {
|
||||
|
||||
|
@@ -35,8 +35,9 @@
|
||||
|
||||
namespace Utils {
|
||||
|
||||
struct QTCREATOR_UTILS_EXPORT Link
|
||||
class QTCREATOR_UTILS_EXPORT Link
|
||||
{
|
||||
public:
|
||||
Link(const Utils::FilePath &filePath = Utils::FilePath(), int line = 0, int column = 0)
|
||||
: targetFilePath(filePath)
|
||||
, targetLine(line)
|
||||
|
@@ -44,7 +44,7 @@ QT_END_NAMESPACE
|
||||
namespace Utils {
|
||||
class FileInProjectFinder;
|
||||
class FormattedText;
|
||||
struct Link;
|
||||
class Link;
|
||||
|
||||
class QTCREATOR_UTILS_EXPORT OutputLineParser : public QObject
|
||||
{
|
||||
|
@@ -38,7 +38,7 @@ namespace CPlusPlus { class Document; }
|
||||
|
||||
namespace Utils {
|
||||
class LineColumn;
|
||||
struct Link;
|
||||
class Link;
|
||||
}
|
||||
|
||||
namespace CppTools {
|
||||
|
@@ -110,7 +110,7 @@ std::ostream &operator<<(std::ostream &out, const HeaderPath &headerPath);
|
||||
namespace Utils {
|
||||
class LineColumn;
|
||||
class SmallStringView;
|
||||
struct Link;
|
||||
class Link;
|
||||
|
||||
std::ostream &operator<<(std::ostream &out, const LineColumn &lineColumn);
|
||||
std::ostream &operator<<(std::ostream &out, const Utils::Language &language);
|
||||
|
Reference in New Issue
Block a user