forked from qt-creator/qt-creator
ClangSupport: Rename export macro
Change-Id: Ia314f82212210f8ed17067c1f8bb412367e6aa90 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
e50b75b5d8
commit
8f91a63cc2
@@ -48,7 +48,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const CancelMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const CancelMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const CancelMessage &message);
|
std::ostream &operator<<(std::ostream &os, const CancelMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(CancelMessage)
|
DECLARE_MESSAGE(CancelMessage)
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ class UnregisterUnsavedFilesForEditorMessage;
|
|||||||
class UpdateTranslationUnitsForEditorMessage;
|
class UpdateTranslationUnitsForEditorMessage;
|
||||||
class UpdateVisibleTranslationUnitsMessage;
|
class UpdateVisibleTranslationUnitsMessage;
|
||||||
|
|
||||||
class CMBIPC_EXPORT ClangCodeModelClientInterface : public IpcClientInterface
|
class CLANGSUPPORT_EXPORT ClangCodeModelClientInterface : public IpcClientInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void dispatch(const MessageEnvelop &messageEnvelop) override;
|
void dispatch(const MessageEnvelop &messageEnvelop) override;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ QT_END_NAMESPACE
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT ClangCodeModelClientProxy : public ClangCodeModelClientInterface
|
class CLANGSUPPORT_EXPORT ClangCodeModelClientProxy : public ClangCodeModelClientInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit ClangCodeModelClientProxy(ClangCodeModelServerInterface *server, QIODevice *ioDevice);
|
explicit ClangCodeModelClientProxy(ClangCodeModelServerInterface *server, QIODevice *ioDevice);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT ClangCodeModelConnectionClient : public ConnectionClient
|
class CLANGSUPPORT_EXPORT ClangCodeModelConnectionClient : public ConnectionClient
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ClangCodeModelConnectionClient(ClangCodeModelClientInterface *client);
|
ClangCodeModelConnectionClient(ClangCodeModelClientInterface *client);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ namespace ClangBackEnd {
|
|||||||
|
|
||||||
class ClangCodeModelClientInterface;
|
class ClangCodeModelClientInterface;
|
||||||
|
|
||||||
class CMBIPC_EXPORT ClangCodeModelServerInterface : public IpcServerInterface
|
class CLANGSUPPORT_EXPORT ClangCodeModelServerInterface : public IpcServerInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void dispatch(const MessageEnvelop &messageEnvelop) override;
|
void dispatch(const MessageEnvelop &messageEnvelop) override;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ QT_END_NAMESPACE
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT ClangCodeModelServerProxy : public ClangCodeModelServerInterface
|
class CLANGSUPPORT_EXPORT ClangCodeModelServerProxy : public ClangCodeModelServerInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ClangCodeModelServerProxy(ClangCodeModelClientInterface *client, QIODevice *ioDevice);
|
ClangCodeModelServerProxy(ClangCodeModelClientInterface *client, QIODevice *ioDevice);
|
||||||
|
|||||||
@@ -36,11 +36,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CLANGSUPPORT_BUILD_LIB)
|
#if defined(CLANGSUPPORT_BUILD_LIB)
|
||||||
# define CMBIPC_EXPORT Q_DECL_EXPORT
|
# define CLANGSUPPORT_EXPORT Q_DECL_EXPORT
|
||||||
#elif defined(CLANGSUPPORT_BUILD_STATIC_LIB)
|
#elif defined(CLANGSUPPORT_BUILD_STATIC_LIB)
|
||||||
# define CMBIPC_EXPORT
|
# define CLANGSUPPORT_EXPORT
|
||||||
#else
|
#else
|
||||||
# define CMBIPC_EXPORT Q_DECL_IMPORT
|
# define CLANGSUPPORT_EXPORT Q_DECL_IMPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CLANGBACKENDPROCESSPATH
|
#ifndef CLANGBACKENDPROCESSPATH
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ namespace ClangBackEnd {
|
|||||||
Utf8String debugWriteFileForInspection(const Utf8String &fileContent, const Utf8String &id);
|
Utf8String debugWriteFileForInspection(const Utf8String &fileContent, const Utf8String &id);
|
||||||
Utf8String debugId(const FileContainer &fileContainer);
|
Utf8String debugId(const FileContainer &fileContainer);
|
||||||
|
|
||||||
class CMBIPC_EXPORT VerboseScopeDurationTimer
|
class CLANGSUPPORT_EXPORT VerboseScopeDurationTimer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VerboseScopeDurationTimer(const char *id = 0);
|
VerboseScopeDurationTimer(const char *id = 0);
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const AliveMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const AliveMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const AliveMessage &message);
|
std::ostream &operator<<(std::ostream &os, const AliveMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(AliveMessage)
|
DECLARE_MESSAGE(AliveMessage)
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public:
|
|||||||
&& first.m_codeCompletions == second.m_codeCompletions;
|
&& first.m_codeCompletions == second.m_codeCompletions;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend CMBIPC_EXPORT QDebug operator<<(QDebug debug, const CodeCompletedMessage &message);
|
friend CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const CodeCompletedMessage &message);
|
||||||
friend std::ostream &operator<<(std::ostream &os, const CodeCompletedMessage &message);
|
friend std::ostream &operator<<(std::ostream &os, const CodeCompletedMessage &message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -126,13 +126,13 @@ public:
|
|||||||
&& first.m_funcNameStartColumn == second.m_funcNameStartColumn;
|
&& first.m_funcNameStartColumn == second.m_funcNameStartColumn;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend CMBIPC_EXPORT QDebug operator<<(QDebug debug, const CompleteCodeMessage &message);
|
friend CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const CompleteCodeMessage &message);
|
||||||
friend std::ostream &operator<<(std::ostream &os, const CompleteCodeMessage &message);
|
friend std::ostream &operator<<(std::ostream &os, const CompleteCodeMessage &message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Utf8String m_filePath;
|
Utf8String m_filePath;
|
||||||
Utf8String m_projectPartId;
|
Utf8String m_projectPartId;
|
||||||
static CMBIPC_EXPORT quint64 ticketCounter;
|
static CLANGSUPPORT_EXPORT quint64 ticketCounter;
|
||||||
quint64 m_ticketNumber = 0;
|
quint64 m_ticketNumber = 0;
|
||||||
quint32 m_line = 0;
|
quint32 m_line = 0;
|
||||||
quint32 m_column = 0;
|
quint32 m_column = 0;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ private:
|
|||||||
MessageEnvelop m_message;
|
MessageEnvelop m_message;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const EchoMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const EchoMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const EchoMessage &message);
|
std::ostream &operator<<(std::ostream &os, const EchoMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(EchoMessage)
|
DECLARE_MESSAGE(EchoMessage)
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const EndMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const EndMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const EndMessage &message);
|
std::ostream &operator<<(std::ostream &os, const EndMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(EndMessage)
|
DECLARE_MESSAGE(EndMessage)
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ private:
|
|||||||
QVector<ProjectPartContainer> m_projectContainers;
|
QVector<ProjectPartContainer> m_projectContainers;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RegisterProjectPartsForEditorMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RegisterProjectPartsForEditorMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const RegisterProjectPartsForEditorMessage &message);
|
std::ostream &operator<<(std::ostream &os, const RegisterProjectPartsForEditorMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(RegisterProjectPartsForEditorMessage);
|
DECLARE_MESSAGE(RegisterProjectPartsForEditorMessage);
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ private:
|
|||||||
Utf8StringVector visibleEditorFilePaths_;
|
Utf8StringVector visibleEditorFilePaths_;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RegisterTranslationUnitForEditorMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RegisterTranslationUnitForEditorMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(RegisterTranslationUnitForEditorMessage);
|
DECLARE_MESSAGE(RegisterTranslationUnitForEditorMessage);
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT UnregisterProjectPartsForEditorMessage
|
class CLANGSUPPORT_EXPORT UnregisterProjectPartsForEditorMessage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
UnregisterProjectPartsForEditorMessage() = default;
|
UnregisterProjectPartsForEditorMessage() = default;
|
||||||
@@ -70,7 +70,7 @@ private:
|
|||||||
Utf8StringVector m_projectPartIds;
|
Utf8StringVector m_projectPartIds;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const UnregisterProjectPartsForEditorMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const UnregisterProjectPartsForEditorMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const UnregisterProjectPartsForEditorMessage &message);
|
std::ostream &operator<<(std::ostream &os, const UnregisterProjectPartsForEditorMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(UnregisterProjectPartsForEditorMessage);
|
DECLARE_MESSAGE(UnregisterProjectPartsForEditorMessage);
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ private:
|
|||||||
QVector<FileContainer> m_fileContainers;
|
QVector<FileContainer> m_fileContainers;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const UnregisterTranslationUnitsForEditorMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const UnregisterTranslationUnitsForEditorMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(UnregisterTranslationUnitsForEditorMessage);
|
DECLARE_MESSAGE(UnregisterTranslationUnitsForEditorMessage);
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ public:
|
|||||||
&& first.m_completionKind == second.m_completionKind;
|
&& first.m_completionKind == second.m_completionKind;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend CMBIPC_EXPORT QDebug operator<<(QDebug debug, const CodeCompletion &message);
|
friend CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const CodeCompletion &message);
|
||||||
friend std::ostream &operator<<(std::ostream &os, const CodeCompletion &message);
|
friend std::ostream &operator<<(std::ostream &os, const CodeCompletion &message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@@ -206,8 +206,8 @@ private:
|
|||||||
bool m_hasParameters = false;
|
bool m_hasParameters = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, CodeCompletion::Kind kind);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, CodeCompletion::Kind kind);
|
||||||
|
|
||||||
CMBIPC_EXPORT std::ostream &operator<<(std::ostream &os, const CodeCompletion::Kind kind);
|
CLANGSUPPORT_EXPORT std::ostream &operator<<(std::ostream &os, const CodeCompletion::Kind kind);
|
||||||
CMBIPC_EXPORT std::ostream &operator<<(std::ostream &os, const CodeCompletion::Availability availability);
|
CLANGSUPPORT_EXPORT std::ostream &operator<<(std::ostream &os, const CodeCompletion::Availability availability);
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ private:
|
|||||||
bool m_isOptional = false;
|
bool m_isOptional = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const CodeCompletionChunk &chunk);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const CodeCompletionChunk &chunk);
|
||||||
|
|
||||||
std::ostream &operator<<(std::ostream &os, const CodeCompletionChunk &chunk);
|
std::ostream &operator<<(std::ostream &os, const CodeCompletionChunk &chunk);
|
||||||
std::ostream &operator<<(std::ostream &os, const CodeCompletionChunk::Kind &kind);
|
std::ostream &operator<<(std::ostream &os, const CodeCompletionChunk::Kind &kind);
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ namespace ClangBackEnd {
|
|||||||
|
|
||||||
class FileContainer;
|
class FileContainer;
|
||||||
|
|
||||||
class CMBIPC_EXPORT ConnectionClient : public QObject
|
class CLANGSUPPORT_EXPORT ConnectionClient : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ namespace ClangBackEnd {
|
|||||||
class ClangCodeModelServerInterface;
|
class ClangCodeModelServerInterface;
|
||||||
class ClangCodeModelClientProxy;
|
class ClangCodeModelClientProxy;
|
||||||
|
|
||||||
struct CMBIPC_EXPORT ConnectionName {
|
struct CLANGSUPPORT_EXPORT ConnectionName {
|
||||||
static QString connectionName;
|
static QString connectionName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ private:
|
|||||||
DiagnosticSeverity m_severity = DiagnosticSeverity::Ignored;
|
DiagnosticSeverity m_severity = DiagnosticSeverity::Ignored;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const DiagnosticContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const DiagnosticContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const DiagnosticContainer &container);
|
std::ostream &operator<<(std::ostream &os, const DiagnosticContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT DocumentAnnotationsChangedMessage
|
class CLANGSUPPORT_EXPORT DocumentAnnotationsChangedMessage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DocumentAnnotationsChangedMessage() = default;
|
DocumentAnnotationsChangedMessage() = default;
|
||||||
@@ -117,7 +117,7 @@ private:
|
|||||||
QVector<SourceRangeContainer> m_skippedPreprocessorRanges;
|
QVector<SourceRangeContainer> m_skippedPreprocessorRanges;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const DocumentAnnotationsChangedMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const DocumentAnnotationsChangedMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const DocumentAnnotationsChangedMessage &message);
|
std::ostream &operator<<(std::ostream &os, const DocumentAnnotationsChangedMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(DocumentAnnotationsChangedMessage)
|
DECLARE_MESSAGE(DocumentAnnotationsChangedMessage)
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ private:
|
|||||||
|
|
||||||
using DynamicASTMatcherDiagnosticContainers = std::vector<DynamicASTMatcherDiagnosticContainer>;
|
using DynamicASTMatcherDiagnosticContainers = std::vector<DynamicASTMatcherDiagnosticContainer>;
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const DynamicASTMatcherDiagnosticContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const DynamicASTMatcherDiagnosticContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const DynamicASTMatcherDiagnosticContainer &container);
|
std::ostream &operator<<(std::ostream &os, const DynamicASTMatcherDiagnosticContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ public:
|
|||||||
return m_contextType;
|
return m_contextType;
|
||||||
}
|
}
|
||||||
|
|
||||||
CMBIPC_EXPORT Utils::SmallString contextTypeText() const;
|
CLANGSUPPORT_EXPORT Utils::SmallString contextTypeText() const;
|
||||||
|
|
||||||
const Utils::SmallStringVector &arguments() const
|
const Utils::SmallStringVector &arguments() const
|
||||||
{
|
{
|
||||||
@@ -107,7 +107,7 @@ private:
|
|||||||
|
|
||||||
using DynamicASTMatcherDiagnosticContextContainers = std::vector<DynamicASTMatcherDiagnosticContextContainer>;
|
using DynamicASTMatcherDiagnosticContextContainers = std::vector<DynamicASTMatcherDiagnosticContextContainer>;
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const DynamicASTMatcherDiagnosticContextContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const DynamicASTMatcherDiagnosticContextContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const DynamicASTMatcherDiagnosticContextContainer &container);
|
std::ostream &operator<<(std::ostream &os, const DynamicASTMatcherDiagnosticContextContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ public:
|
|||||||
return m_errorType;
|
return m_errorType;
|
||||||
}
|
}
|
||||||
|
|
||||||
CMBIPC_EXPORT Utils::SmallString errorTypeText() const;
|
CLANGSUPPORT_EXPORT Utils::SmallString errorTypeText() const;
|
||||||
|
|
||||||
const Utils::SmallStringVector &arguments() const
|
const Utils::SmallStringVector &arguments() const
|
||||||
{
|
{
|
||||||
@@ -107,7 +107,7 @@ private:
|
|||||||
|
|
||||||
using DynamicASTMatcherDiagnosticMessageContainers = std::vector<DynamicASTMatcherDiagnosticMessageContainer>;
|
using DynamicASTMatcherDiagnosticMessageContainers = std::vector<DynamicASTMatcherDiagnosticMessageContainer>;
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const DynamicASTMatcherDiagnosticMessageContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const DynamicASTMatcherDiagnosticMessageContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const DynamicASTMatcherDiagnosticMessageContainer &container);
|
std::ostream &operator<<(std::ostream &os, const DynamicASTMatcherDiagnosticMessageContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ private:
|
|||||||
bool m_hasUnsavedFileContent = false;
|
bool m_hasUnsavedFileContent = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const FileContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const FileContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const FileContainer &container);
|
std::ostream &operator<<(std::ostream &os, const FileContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ private:
|
|||||||
|
|
||||||
using FileContainers = std::vector<FileContainer>;
|
using FileContainers = std::vector<FileContainer>;
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const FileContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const FileContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const FileContainer &container);
|
std::ostream &operator<<(std::ostream &os, const FileContainer &container);
|
||||||
|
|
||||||
} // namespace V2
|
} // namespace V2
|
||||||
|
|||||||
@@ -130,6 +130,6 @@ private:
|
|||||||
std::size_t m_slashIndex = 0;
|
std::size_t m_slashIndex = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const FilePath &filePath);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const FilePath &filePath);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ private:
|
|||||||
Utf8String m_text;
|
Utf8String m_text;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const FixItContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const FixItContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const FixItContainer &container);
|
std::ostream &operator<<(std::ostream &os, const FixItContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ public:
|
|||||||
&& first.m_sourceRange == second.m_sourceRange;
|
&& first.m_sourceRange == second.m_sourceRange;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend CMBIPC_EXPORT QDebug operator<<(QDebug debug, const FollowSymbolMessage &message);
|
friend CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const FollowSymbolMessage &message);
|
||||||
friend std::ostream &operator<<(std::ostream &os, const FollowSymbolMessage &message);
|
friend std::ostream &operator<<(std::ostream &os, const FollowSymbolMessage &message);
|
||||||
private:
|
private:
|
||||||
FileContainer m_fileContainer;
|
FileContainer m_fileContainer;
|
||||||
|
|||||||
@@ -200,9 +200,9 @@ inline bool operator==(const HighlightingTypes &first, const HighlightingTypes &
|
|||||||
&& first.mixinHighlightingTypes == second.mixinHighlightingTypes;
|
&& first.mixinHighlightingTypes == second.mixinHighlightingTypes;
|
||||||
}
|
}
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const HighlightingMarkContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const HighlightingMarkContainer &container);
|
||||||
CMBIPC_EXPORT std::ostream &operator<<(std::ostream &os, HighlightingType highlightingType);
|
CLANGSUPPORT_EXPORT std::ostream &operator<<(std::ostream &os, HighlightingType highlightingType);
|
||||||
CMBIPC_EXPORT std::ostream &operator<<(std::ostream &os, HighlightingTypes types);
|
CLANGSUPPORT_EXPORT std::ostream &operator<<(std::ostream &os, HighlightingTypes types);
|
||||||
std::ostream &operator<<(std::ostream &os, const HighlightingMarkContainer &container);
|
std::ostream &operator<<(std::ostream &os, const HighlightingMarkContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT IpcClientInterface : public IpcInterface
|
class CLANGSUPPORT_EXPORT IpcClientInterface : public IpcInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
IpcClientInterface();
|
IpcClientInterface();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ namespace ClangBackEnd {
|
|||||||
|
|
||||||
class MessageEnvelop;
|
class MessageEnvelop;
|
||||||
|
|
||||||
class CMBIPC_EXPORT IpcInterface
|
class CLANGSUPPORT_EXPORT IpcInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~IpcInterface();
|
virtual ~IpcInterface();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT LinePrefixer
|
class CLANGSUPPORT_EXPORT LinePrefixer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
LinePrefixer() = default;
|
LinePrefixer() = default;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ namespace ClangBackEnd {
|
|||||||
|
|
||||||
class PrecompiledHeadersUpdatedMessage;
|
class PrecompiledHeadersUpdatedMessage;
|
||||||
|
|
||||||
class CMBIPC_EXPORT PchManagerClientInterface : public IpcClientInterface
|
class CLANGSUPPORT_EXPORT PchManagerClientInterface : public IpcClientInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void dispatch(const MessageEnvelop &messageEnvelop) override;
|
void dispatch(const MessageEnvelop &messageEnvelop) override;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ namespace ClangBackEnd {
|
|||||||
|
|
||||||
class PchManagerServerInterface;
|
class PchManagerServerInterface;
|
||||||
|
|
||||||
class CMBIPC_EXPORT PchManagerClientProxy : public PchManagerClientInterface
|
class CLANGSUPPORT_EXPORT PchManagerClientProxy : public PchManagerClientInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit PchManagerClientProxy(PchManagerServerInterface *server, QIODevice *ioDevice);
|
explicit PchManagerClientProxy(PchManagerServerInterface *server, QIODevice *ioDevice);
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class PchManagerClientInterface;
|
|||||||
class RemovePchProjectPartsMessage;
|
class RemovePchProjectPartsMessage;
|
||||||
class UpdatePchProjectPartsMessage;
|
class UpdatePchProjectPartsMessage;
|
||||||
|
|
||||||
class CMBIPC_EXPORT PchManagerServerInterface : public ProjectManagementServerInterface
|
class CLANGSUPPORT_EXPORT PchManagerServerInterface : public ProjectManagementServerInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void dispatch(const MessageEnvelop &messageEnvelop) override;
|
void dispatch(const MessageEnvelop &messageEnvelop) override;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ namespace ClangBackEnd {
|
|||||||
|
|
||||||
class PchManagerClientInterface;
|
class PchManagerClientInterface;
|
||||||
|
|
||||||
class CMBIPC_EXPORT PchManagerServerProxy final : public PchManagerServerInterface
|
class CLANGSUPPORT_EXPORT PchManagerServerProxy final : public PchManagerServerInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit PchManagerServerProxy(PchManagerClientInterface *client, QIODevice *ioDevice);
|
explicit PchManagerServerProxy(PchManagerClientInterface *client, QIODevice *ioDevice);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const PrecompiledHeadersUpdatedMessage &)
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const PrecompiledHeadersUpdatedMessage &)
|
||||||
{
|
{
|
||||||
debug.nospace() << "PrecompiledHeaderUpdatedMessage()";
|
debug.nospace() << "PrecompiledHeaderUpdatedMessage()";
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ private:
|
|||||||
std::vector<ProjectPartPch> m_projectPartPchs;
|
std::vector<ProjectPartPch> m_projectPartPchs;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const PrecompiledHeadersUpdatedMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const PrecompiledHeadersUpdatedMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &out, const PrecompiledHeadersUpdatedMessage &message);
|
std::ostream &operator<<(std::ostream &out, const PrecompiledHeadersUpdatedMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(PrecompiledHeadersUpdatedMessage)
|
DECLARE_MESSAGE(PrecompiledHeadersUpdatedMessage)
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ namespace ClangBackEnd {
|
|||||||
class RemovePchProjectPartsMessage;
|
class RemovePchProjectPartsMessage;
|
||||||
class UpdatePchProjectPartsMessage;
|
class UpdatePchProjectPartsMessage;
|
||||||
|
|
||||||
class CMBIPC_EXPORT ProjectManagementServerInterface : public IpcInterface
|
class CLANGSUPPORT_EXPORT ProjectManagementServerInterface : public IpcInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual void updatePchProjectParts(UpdatePchProjectPartsMessage &&message) = 0;
|
virtual void updatePchProjectParts(UpdatePchProjectPartsMessage &&message) = 0;
|
||||||
|
|||||||
@@ -83,6 +83,6 @@ private:
|
|||||||
Utils::SmallString m_pchPath;
|
Utils::SmallString m_pchPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const ProjectPartPch &projectPartPch);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const ProjectPartPch &projectPartPch);
|
||||||
std::ostream &operator<<(std::ostream &out, const ProjectPartPch &projectPartPch);
|
std::ostream &operator<<(std::ostream &out, const ProjectPartPch &projectPartPch);
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ class SourceRangesAndDiagnosticsForQueryMessage;
|
|||||||
class SourceRangesForQueryMessage;
|
class SourceRangesForQueryMessage;
|
||||||
class SourceLocationsContainer;
|
class SourceLocationsContainer;
|
||||||
|
|
||||||
class CMBIPC_EXPORT RefactoringClientInterface : public IpcClientInterface
|
class CLANGSUPPORT_EXPORT RefactoringClientInterface : public IpcClientInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using RenameCallback = std::function<void(const QString &,
|
using RenameCallback = std::function<void(const QString &,
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ namespace ClangBackEnd {
|
|||||||
|
|
||||||
class RefactoringServerInterface;
|
class RefactoringServerInterface;
|
||||||
|
|
||||||
class CMBIPC_EXPORT RefactoringClientProxy : public RefactoringClientInterface
|
class CLANGSUPPORT_EXPORT RefactoringClientProxy : public RefactoringClientInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RefactoringClientProxy(RefactoringServerInterface *server, QIODevice *ioDevice);
|
explicit RefactoringClientProxy(RefactoringServerInterface *server, QIODevice *ioDevice);
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class CancelMessage;
|
|||||||
class UpdatePchProjectPartsMessage;
|
class UpdatePchProjectPartsMessage;
|
||||||
class RemovePchProjectPartsMessage;
|
class RemovePchProjectPartsMessage;
|
||||||
|
|
||||||
class CMBIPC_EXPORT RefactoringServerInterface : public ProjectManagementServerInterface
|
class CLANGSUPPORT_EXPORT RefactoringServerInterface : public ProjectManagementServerInterface
|
||||||
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ namespace ClangBackEnd {
|
|||||||
|
|
||||||
class RefactoringClientInterface;
|
class RefactoringClientInterface;
|
||||||
|
|
||||||
class CMBIPC_EXPORT RefactoringServerProxy final : public RefactoringServerInterface
|
class CLANGSUPPORT_EXPORT RefactoringServerProxy final : public RefactoringServerInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RefactoringServerProxy(RefactoringClientInterface *client, QIODevice *ioDevice);
|
explicit RefactoringServerProxy(RefactoringClientInterface *client, QIODevice *ioDevice);
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ public:
|
|||||||
&& first.m_references == second.m_references;
|
&& first.m_references == second.m_references;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend CMBIPC_EXPORT QDebug operator<<(QDebug debug, const ReferencesMessage &message);
|
friend CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const ReferencesMessage &message);
|
||||||
friend std::ostream &operator<<(std::ostream &os, const ReferencesMessage &message);
|
friend std::ostream &operator<<(std::ostream &os, const ReferencesMessage &message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ private:
|
|||||||
QVector<FileContainer> m_fileContainers;
|
QVector<FileContainer> m_fileContainers;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RegisterUnsavedFilesForEditorMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RegisterUnsavedFilesForEditorMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const RegisterUnsavedFilesForEditorMessage &message);
|
std::ostream &operator<<(std::ostream &os, const RegisterUnsavedFilesForEditorMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(RegisterUnsavedFilesForEditorMessage);
|
DECLARE_MESSAGE(RegisterUnsavedFilesForEditorMessage);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RemovePchProjectPartsMessage &message)
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RemovePchProjectPartsMessage &message)
|
||||||
{
|
{
|
||||||
debug.nospace() << "RemoveProjectPartsMessage("
|
debug.nospace() << "RemoveProjectPartsMessage("
|
||||||
<< message.projectsPartIds() << ")";
|
<< message.projectsPartIds() << ")";
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ private:
|
|||||||
Utils::SmallStringVector m_projectsPartIds;
|
Utils::SmallStringVector m_projectsPartIds;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RemovePchProjectPartsMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RemovePchProjectPartsMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &out, const RemovePchProjectPartsMessage &message);
|
std::ostream &operator<<(std::ostream &out, const RemovePchProjectPartsMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(RemovePchProjectPartsMessage)
|
DECLARE_MESSAGE(RemovePchProjectPartsMessage)
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ private:
|
|||||||
FileContainer m_fileContainer;
|
FileContainer m_fileContainer;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RequestDocumentAnnotationsMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RequestDocumentAnnotationsMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const RequestDocumentAnnotationsMessage &message);
|
std::ostream &operator<<(std::ostream &os, const RequestDocumentAnnotationsMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(RequestDocumentAnnotationsMessage);
|
DECLARE_MESSAGE(RequestDocumentAnnotationsMessage);
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ public:
|
|||||||
&& first.m_dependentFiles == second.m_dependentFiles;
|
&& first.m_dependentFiles == second.m_dependentFiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RequestFollowSymbolMessage &message);
|
friend CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RequestFollowSymbolMessage &message);
|
||||||
friend std::ostream &operator<<(std::ostream &os, const RequestFollowSymbolMessage &message);
|
friend std::ostream &operator<<(std::ostream &os, const RequestFollowSymbolMessage &message);
|
||||||
private:
|
private:
|
||||||
FileContainer m_fileContainer;
|
FileContainer m_fileContainer;
|
||||||
@@ -114,7 +114,7 @@ private:
|
|||||||
quint32 m_line = 0;
|
quint32 m_line = 0;
|
||||||
quint32 m_column = 0;
|
quint32 m_column = 0;
|
||||||
QVector<Utf8String> m_dependentFiles;
|
QVector<Utf8String> m_dependentFiles;
|
||||||
static CMBIPC_EXPORT quint64 ticketCounter;
|
static CLANGSUPPORT_EXPORT quint64 ticketCounter;
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MESSAGE(RequestFollowSymbolMessage);
|
DECLARE_MESSAGE(RequestFollowSymbolMessage);
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ public:
|
|||||||
&& first.m_fileContainer == second.m_fileContainer;
|
&& first.m_fileContainer == second.m_fileContainer;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RequestReferencesMessage &message);
|
friend CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RequestReferencesMessage &message);
|
||||||
friend std::ostream &operator<<(std::ostream &os, const RequestReferencesMessage &message);
|
friend std::ostream &operator<<(std::ostream &os, const RequestReferencesMessage &message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@@ -104,7 +104,7 @@ private:
|
|||||||
quint64 m_ticketNumber = 0;
|
quint64 m_ticketNumber = 0;
|
||||||
quint32 m_line = 0;
|
quint32 m_line = 0;
|
||||||
quint32 m_column = 0;
|
quint32 m_column = 0;
|
||||||
static CMBIPC_EXPORT quint64 ticketCounter;
|
static CLANGSUPPORT_EXPORT quint64 ticketCounter;
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MESSAGE(RequestReferencesMessage);
|
DECLARE_MESSAGE(RequestReferencesMessage);
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT RequestSourceLocationsForRenamingMessage
|
class CLANGSUPPORT_EXPORT RequestSourceLocationsForRenamingMessage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RequestSourceLocationsForRenamingMessage() = default;
|
RequestSourceLocationsForRenamingMessage() = default;
|
||||||
@@ -132,7 +132,7 @@ private:
|
|||||||
int m_revision = 1;
|
int m_revision = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RequestSourceLocationsForRenamingMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RequestSourceLocationsForRenamingMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const RequestSourceLocationsForRenamingMessage &message);
|
std::ostream &operator<<(std::ostream &os, const RequestSourceLocationsForRenamingMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(RequestSourceLocationsForRenamingMessage)
|
DECLARE_MESSAGE(RequestSourceLocationsForRenamingMessage)
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ private:
|
|||||||
V2::FileContainer m_source;
|
V2::FileContainer m_source;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RequestSourceRangesAndDiagnosticsForQueryMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RequestSourceRangesAndDiagnosticsForQueryMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const RequestSourceRangesAndDiagnosticsForQueryMessage &message);
|
std::ostream &operator<<(std::ostream &os, const RequestSourceRangesAndDiagnosticsForQueryMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(RequestSourceRangesAndDiagnosticsForQueryMessage)
|
DECLARE_MESSAGE(RequestSourceRangesAndDiagnosticsForQueryMessage)
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const RequestSourceRangesForQueryMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const RequestSourceRangesForQueryMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const RequestSourceRangesForQueryMessage &message);
|
std::ostream &operator<<(std::ostream &os, const RequestSourceRangesForQueryMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(RequestSourceRangesForQueryMessage)
|
DECLARE_MESSAGE(RequestSourceRangesForQueryMessage)
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT SourceLocationContainer
|
class CLANGSUPPORT_EXPORT SourceLocationContainer
|
||||||
{
|
{
|
||||||
friend CMBIPC_EXPORT QDataStream &operator<<(QDataStream &out, const SourceLocationContainer &container);
|
friend CLANGSUPPORT_EXPORT QDataStream &operator<<(QDataStream &out, const SourceLocationContainer &container);
|
||||||
friend CMBIPC_EXPORT QDataStream &operator>>(QDataStream &in, SourceLocationContainer &container);
|
friend CLANGSUPPORT_EXPORT QDataStream &operator>>(QDataStream &in, SourceLocationContainer &container);
|
||||||
friend CMBIPC_EXPORT bool operator==(const SourceLocationContainer &first, const SourceLocationContainer &second);
|
friend CLANGSUPPORT_EXPORT bool operator==(const SourceLocationContainer &first, const SourceLocationContainer &second);
|
||||||
friend CMBIPC_EXPORT bool operator!=(const SourceLocationContainer &first, const SourceLocationContainer &second);
|
friend CLANGSUPPORT_EXPORT bool operator!=(const SourceLocationContainer &first, const SourceLocationContainer &second);
|
||||||
public:
|
public:
|
||||||
SourceLocationContainer() = default;
|
SourceLocationContainer() = default;
|
||||||
SourceLocationContainer(const Utf8String &filePath,
|
SourceLocationContainer(const Utf8String &filePath,
|
||||||
@@ -53,12 +53,12 @@ private:
|
|||||||
uint m_column = 0;
|
uint m_column = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDataStream &operator<<(QDataStream &out, const SourceLocationContainer &container);
|
CLANGSUPPORT_EXPORT QDataStream &operator<<(QDataStream &out, const SourceLocationContainer &container);
|
||||||
CMBIPC_EXPORT QDataStream &operator>>(QDataStream &in, SourceLocationContainer &container);
|
CLANGSUPPORT_EXPORT QDataStream &operator>>(QDataStream &in, SourceLocationContainer &container);
|
||||||
CMBIPC_EXPORT bool operator==(const SourceLocationContainer &first, const SourceLocationContainer &second);
|
CLANGSUPPORT_EXPORT bool operator==(const SourceLocationContainer &first, const SourceLocationContainer &second);
|
||||||
CMBIPC_EXPORT bool operator!=(const SourceLocationContainer &first, const SourceLocationContainer &second);
|
CLANGSUPPORT_EXPORT bool operator!=(const SourceLocationContainer &first, const SourceLocationContainer &second);
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceLocationContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceLocationContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceLocationContainer &container);
|
std::ostream &operator<<(std::ostream &os, const SourceLocationContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ private:
|
|||||||
uint m_offset = 0;
|
uint m_offset = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceLocationContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceLocationContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceLocationContainer &container);
|
std::ostream &operator<<(std::ostream &os, const SourceLocationContainer &container);
|
||||||
|
|
||||||
} // namespace V2
|
} // namespace V2
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceLocationsContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceLocationsContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceLocationsContainer &container);
|
std::ostream &operator<<(std::ostream &os, const SourceLocationsContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ private:
|
|||||||
int m_revision = 0;
|
int m_revision = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceLocationsForRenamingMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceLocationsForRenamingMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceLocationsForRenamingMessage &message);
|
std::ostream &operator<<(std::ostream &os, const SourceLocationsForRenamingMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(SourceLocationsForRenamingMessage)
|
DECLARE_MESSAGE(SourceLocationsForRenamingMessage)
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ private:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceRangeContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceRangeContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceRangeContainer &container);
|
std::ostream &operator<<(std::ostream &os, const SourceRangeContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ private:
|
|||||||
|
|
||||||
using SourceRangeContainers = std::vector<SourceRangeContainer>;
|
using SourceRangeContainers = std::vector<SourceRangeContainer>;
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceRangeContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceRangeContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceRangeContainer &container);
|
std::ostream &operator<<(std::ostream &os, const SourceRangeContainer &container);
|
||||||
} // namespace V2
|
} // namespace V2
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ private:
|
|||||||
DynamicASTMatcherDiagnosticContainers m_diagnosticContainers;
|
DynamicASTMatcherDiagnosticContainers m_diagnosticContainers;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceRangesAndDiagnosticsForQueryMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceRangesAndDiagnosticsForQueryMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceRangesAndDiagnosticsForQueryMessage &message);
|
std::ostream &operator<<(std::ostream &os, const SourceRangesAndDiagnosticsForQueryMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(SourceRangesAndDiagnosticsForQueryMessage)
|
DECLARE_MESSAGE(SourceRangesAndDiagnosticsForQueryMessage)
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceRangesContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceRangesContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceRangesContainer &container);
|
std::ostream &operator<<(std::ostream &os, const SourceRangesContainer &container);
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ private:
|
|||||||
SourceRangesContainer m_sourceRangesContainer;
|
SourceRangesContainer m_sourceRangesContainer;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceRangesForQueryMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceRangesForQueryMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceRangesForQueryMessage &message);
|
std::ostream &operator<<(std::ostream &os, const SourceRangesForQueryMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(SourceRangesForQueryMessage)
|
DECLARE_MESSAGE(SourceRangesForQueryMessage)
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ private:
|
|||||||
|
|
||||||
using SourceRangeWithTextContainers = std::vector<SourceRangeWithTextContainer>;
|
using SourceRangeWithTextContainers = std::vector<SourceRangeWithTextContainer>;
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const SourceRangeWithTextContainer &container);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const SourceRangeWithTextContainer &container);
|
||||||
std::ostream &operator<<(std::ostream &os, const SourceRangeWithTextContainer &container);
|
std::ostream &operator<<(std::ostream &os, const SourceRangeWithTextContainer &container);
|
||||||
} // namespace ClangBackEnd
|
} // namespace ClangBackEnd
|
||||||
|
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ private:
|
|||||||
QVector<FileContainer> m_fileContainers;
|
QVector<FileContainer> m_fileContainers;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const UnregisterUnsavedFilesForEditorMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const UnregisterUnsavedFilesForEditorMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const UnregisterUnsavedFilesForEditorMessage &message);
|
std::ostream &operator<<(std::ostream &os, const UnregisterUnsavedFilesForEditorMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(UnregisterUnsavedFilesForEditorMessage)
|
DECLARE_MESSAGE(UnregisterUnsavedFilesForEditorMessage)
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ private:
|
|||||||
V2::FileContainers m_generatedFiles;
|
V2::FileContainers m_generatedFiles;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const UpdatePchProjectPartsMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const UpdatePchProjectPartsMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &out, const UpdatePchProjectPartsMessage &message);
|
std::ostream &operator<<(std::ostream &out, const UpdatePchProjectPartsMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(UpdatePchProjectPartsMessage)
|
DECLARE_MESSAGE(UpdatePchProjectPartsMessage)
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ private:
|
|||||||
QVector<FileContainer> m_fileContainers;
|
QVector<FileContainer> m_fileContainers;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const UpdateTranslationUnitsForEditorMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const UpdateTranslationUnitsForEditorMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const UpdateTranslationUnitsForEditorMessage &message);
|
std::ostream &operator<<(std::ostream &os, const UpdateTranslationUnitsForEditorMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(UpdateTranslationUnitsForEditorMessage)
|
DECLARE_MESSAGE(UpdateTranslationUnitsForEditorMessage)
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ private:
|
|||||||
Utf8StringVector visibleEditorFilePaths_;
|
Utf8StringVector visibleEditorFilePaths_;
|
||||||
};
|
};
|
||||||
|
|
||||||
CMBIPC_EXPORT QDebug operator<<(QDebug debug, const UpdateVisibleTranslationUnitsMessage &message);
|
CLANGSUPPORT_EXPORT QDebug operator<<(QDebug debug, const UpdateVisibleTranslationUnitsMessage &message);
|
||||||
std::ostream &operator<<(std::ostream &os, const UpdateVisibleTranslationUnitsMessage &message);
|
std::ostream &operator<<(std::ostream &os, const UpdateVisibleTranslationUnitsMessage &message);
|
||||||
|
|
||||||
DECLARE_MESSAGE(UpdateVisibleTranslationUnitsMessage)
|
DECLARE_MESSAGE(UpdateVisibleTranslationUnitsMessage)
|
||||||
|
|||||||
Reference in New Issue
Block a user