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