forked from qt-creator/qt-creator
UnitTest: Fix compilation
This amends commit a5ee354b19
.
Change-Id: I29938d30187fde1ac05d824276cb4b02b561645a
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
b2700d2da4
commit
f213f6176b
@@ -38,6 +38,12 @@ namespace {
|
|||||||
class CompilationDatabaseUtils : public ::testing::Test
|
class CompilationDatabaseUtils : public ::testing::Test
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
QStringList splitCommandLine(const QString &commandLine)
|
||||||
|
{
|
||||||
|
QSet<QString> flagsCache;
|
||||||
|
return CompilationDatabaseProjectManager::splitCommandLine(commandLine, flagsCache);
|
||||||
|
}
|
||||||
|
|
||||||
HeaderPaths headerPaths;
|
HeaderPaths headerPaths;
|
||||||
Macros macros;
|
Macros macros;
|
||||||
CppTools::ProjectFile::Kind fileKind = CppTools::ProjectFile::Unclassified;
|
CppTools::ProjectFile::Kind fileKind = CppTools::ProjectFile::Unclassified;
|
||||||
|
Reference in New Issue
Block a user