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"
|
#include "CPlusPlusForwardDeclarations.h"
|
||||||
|
|
||||||
namespace Utils { struct Link; }
|
namespace Utils { class Link; }
|
||||||
|
|
||||||
namespace CPlusPlus {
|
namespace CPlusPlus {
|
||||||
|
|
||||||
|
@@ -35,8 +35,9 @@
|
|||||||
|
|
||||||
namespace Utils {
|
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)
|
Link(const Utils::FilePath &filePath = Utils::FilePath(), int line = 0, int column = 0)
|
||||||
: targetFilePath(filePath)
|
: targetFilePath(filePath)
|
||||||
, targetLine(line)
|
, targetLine(line)
|
||||||
|
@@ -44,7 +44,7 @@ QT_END_NAMESPACE
|
|||||||
namespace Utils {
|
namespace Utils {
|
||||||
class FileInProjectFinder;
|
class FileInProjectFinder;
|
||||||
class FormattedText;
|
class FormattedText;
|
||||||
struct Link;
|
class Link;
|
||||||
|
|
||||||
class QTCREATOR_UTILS_EXPORT OutputLineParser : public QObject
|
class QTCREATOR_UTILS_EXPORT OutputLineParser : public QObject
|
||||||
{
|
{
|
||||||
|
@@ -38,7 +38,7 @@ namespace CPlusPlus { class Document; }
|
|||||||
|
|
||||||
namespace Utils {
|
namespace Utils {
|
||||||
class LineColumn;
|
class LineColumn;
|
||||||
struct Link;
|
class Link;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace CppTools {
|
namespace CppTools {
|
||||||
|
@@ -110,7 +110,7 @@ std::ostream &operator<<(std::ostream &out, const HeaderPath &headerPath);
|
|||||||
namespace Utils {
|
namespace Utils {
|
||||||
class LineColumn;
|
class LineColumn;
|
||||||
class SmallStringView;
|
class SmallStringView;
|
||||||
struct Link;
|
class Link;
|
||||||
|
|
||||||
std::ostream &operator<<(std::ostream &out, const LineColumn &lineColumn);
|
std::ostream &operator<<(std::ostream &out, const LineColumn &lineColumn);
|
||||||
std::ostream &operator<<(std::ostream &out, const Utils::Language &language);
|
std::ostream &operator<<(std::ostream &out, const Utils::Language &language);
|
||||||
|
Reference in New Issue
Block a user