forked from qt-creator/qt-creator
Fix spelling of unitttest_public
Change-Id: Id90dbfe30bb1f1c147299c4ac8cd210dbe7d8b82 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -48,9 +48,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef UNIT_TESTS
|
#ifdef UNIT_TESTS
|
||||||
#define unitttest_public public
|
#define unittest_public public
|
||||||
#else
|
#else
|
||||||
#define unitttest_public private
|
#define unittest_public private
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|||||||
@@ -48,9 +48,9 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#ifdef UNIT_TESTS
|
#ifdef UNIT_TESTS
|
||||||
#define unitttest_public public
|
#define unittest_public public
|
||||||
#else
|
#else
|
||||||
#define unitttest_public private
|
#define unittest_public private
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Utils {
|
namespace Utils {
|
||||||
@@ -658,7 +658,7 @@ public:
|
|||||||
return comparison < 0;
|
return comparison < 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
unitttest_public:
|
unittest_public:
|
||||||
bool isShortString() const noexcept
|
bool isShortString() const noexcept
|
||||||
{
|
{
|
||||||
return !m_data.shortString.isReference;
|
return !m_data.shortString.isReference;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ public:
|
|||||||
|
|
||||||
void setConnectionClient(PchManagerConnectionClient *connectionClient);
|
void setConnectionClient(PchManagerConnectionClient *connectionClient);
|
||||||
|
|
||||||
unitttest_public:
|
unittest_public:
|
||||||
const std::vector<PchManagerNotifierInterface*> ¬ifiers() const;
|
const std::vector<PchManagerNotifierInterface*> ¬ifiers() const;
|
||||||
void precompiledHeaderUpdated(const QString &projectPartId, const QString &pchFilePath);
|
void precompiledHeaderUpdated(const QString &projectPartId, const QString &pchFilePath);
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ public:
|
|||||||
|
|
||||||
void setRefactoringConnectionClient(ClangBackEnd::RefactoringConnectionClient *connectionClient);
|
void setRefactoringConnectionClient(ClangBackEnd::RefactoringConnectionClient *connectionClient);
|
||||||
|
|
||||||
unitttest_public:
|
unittest_public:
|
||||||
void addSearchResult(const ClangBackEnd::SourceRangeWithTextContainer &sourceRange,
|
void addSearchResult(const ClangBackEnd::SourceRangeWithTextContainer &sourceRange,
|
||||||
std::unordered_map<uint, QString> &filePaths);
|
std::unordered_map<uint, QString> &filePaths);
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ public:
|
|||||||
[this, callback=std::move(callback)] { callback(takeFilePaths()); });
|
[this, callback=std::move(callback)] { callback(takeFilePaths()); });
|
||||||
}
|
}
|
||||||
|
|
||||||
unitttest_public:
|
unittest_public:
|
||||||
virtual void restartTimer()
|
virtual void restartTimer()
|
||||||
{
|
{
|
||||||
m_timer.start(20);
|
m_timer.start(20);
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ public:
|
|||||||
m_notifier = notifier;
|
m_notifier = notifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
unitttest_public:
|
unittest_public:
|
||||||
static std::vector<uint> idsFromIdPaths(const std::vector<IdPaths> &idPaths)
|
static std::vector<uint> idsFromIdPaths(const std::vector<IdPaths> &idPaths)
|
||||||
{
|
{
|
||||||
std::vector<uint> ids;
|
std::vector<uint> ids;
|
||||||
|
|||||||
@@ -28,10 +28,10 @@
|
|||||||
#include <utils/smallstringfwd.h>
|
#include <utils/smallstringfwd.h>
|
||||||
|
|
||||||
#ifdef UNIT_TESTS
|
#ifdef UNIT_TESTS
|
||||||
#define unitttest_public public
|
#define unittest_public public
|
||||||
#define non_unittest_final
|
#define non_unittest_final
|
||||||
#else
|
#else
|
||||||
#define unitttest_public private
|
#define unittest_public private
|
||||||
#define non_unittest_final final
|
#define non_unittest_final final
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public:
|
|||||||
|
|
||||||
void setGenerator(PchGeneratorInterface *pchGenerator);
|
void setGenerator(PchGeneratorInterface *pchGenerator);
|
||||||
|
|
||||||
unitttest_public:
|
unittest_public:
|
||||||
Utils::PathStringVector generateGlobalHeaderPaths() const;
|
Utils::PathStringVector generateGlobalHeaderPaths() const;
|
||||||
Utils::PathStringVector generateGlobalSourcePaths() const;
|
Utils::PathStringVector generateGlobalSourcePaths() const;
|
||||||
Utils::PathStringVector generateGlobalHeaderAndSourcePaths() const;
|
Utils::PathStringVector generateGlobalHeaderAndSourcePaths() const;
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ public:
|
|||||||
m_notifier = notifier;
|
m_notifier = notifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
unitttest_public:
|
unittest_public:
|
||||||
Process *addTask(Utils::SmallStringVector &&compilerArguments, ProjectPartPch &&projectPartPch)
|
Process *addTask(Utils::SmallStringVector &&compilerArguments, ProjectPartPch &&projectPartPch)
|
||||||
{
|
{
|
||||||
auto process = std::make_unique<Process>();
|
auto process = std::make_unique<Process>();
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ public:
|
|||||||
void remove(const Utils::SmallStringVector &projectPartIds) override;
|
void remove(const Utils::SmallStringVector &projectPartIds) override;
|
||||||
V2::ProjectPartContainers projects(const Utils::SmallStringVector &projectPartIds) const override;
|
V2::ProjectPartContainers projects(const Utils::SmallStringVector &projectPartIds) const override;
|
||||||
|
|
||||||
unitttest_public:
|
unittest_public:
|
||||||
static V2::ProjectPartContainers uniqueProjectParts(V2::ProjectPartContainers &&projectsParts);
|
static V2::ProjectPartContainers uniqueProjectParts(V2::ProjectPartContainers &&projectsParts);
|
||||||
V2::ProjectPartContainers newProjectParts(V2::ProjectPartContainers &&projectsParts) const;
|
V2::ProjectPartContainers newProjectParts(V2::ProjectPartContainers &&projectsParts) const;
|
||||||
void mergeProjectParts(const V2::ProjectPartContainers &projectsParts);
|
void mergeProjectParts(const V2::ProjectPartContainers &projectsParts);
|
||||||
|
|||||||
Reference in New Issue
Block a user