src: harmonized indexer command names
* some parts of the indexer were called "manual" while others used the name "empty". renamed everything that was called "manual" to "empty" to conform to names in GUI
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "SharedIndexerCommand.h"
|
||||
|
||||
#include "data/indexer/IndexerCommandCxxCdb.h"
|
||||
#include "data/indexer/IndexerCommandCxxManual.h"
|
||||
#include "data/indexer/IndexerCommandCxxEmpty.h"
|
||||
#include "data/indexer/IndexerCommandJava.h"
|
||||
|
||||
#include "utility/logging/logging.h"
|
||||
@@ -22,11 +22,11 @@ void SharedIndexerCommand::fromLocal(IndexerCommand* indexerCommand)
|
||||
setSystemHeaderSearchPaths(cmd->getSystemHeaderSearchPaths());
|
||||
setFrameworkSearchhPaths(cmd->getFrameworkSearchPaths());
|
||||
}
|
||||
else if (dynamic_cast<IndexerCommandCxxManual*>(indexerCommand) != NULL)
|
||||
else if (dynamic_cast<IndexerCommandCxxEmpty*>(indexerCommand) != NULL)
|
||||
{
|
||||
IndexerCommandCxxManual* cmd = dynamic_cast<IndexerCommandCxxManual*>(indexerCommand);
|
||||
IndexerCommandCxxEmpty* cmd = dynamic_cast<IndexerCommandCxxEmpty*>(indexerCommand);
|
||||
|
||||
setType(CXX_MANUAL);
|
||||
setType(CXX_EMPTY);
|
||||
setLanguageStandard(cmd->getLanguageStandard());
|
||||
setCompilerFlags(cmd->getCompilerFlags());
|
||||
setSystemHeaderSearchPaths(cmd->getSystemHeaderSearchPaths());
|
||||
@@ -63,9 +63,9 @@ std::shared_ptr<IndexerCommand> SharedIndexerCommand::fromShared(const SharedInd
|
||||
);
|
||||
return command;
|
||||
}
|
||||
else if (indexerCommand.getType() == CXX_MANUAL)
|
||||
else if (indexerCommand.getType() == CXX_EMPTY)
|
||||
{
|
||||
std::shared_ptr<IndexerCommand> command = std::make_shared<IndexerCommandCxxManual>(
|
||||
std::shared_ptr<IndexerCommand> command = std::make_shared<IndexerCommandCxxEmpty>(
|
||||
indexerCommand.getSourceFilePath(),
|
||||
indexerCommand.getIndexedPaths(),
|
||||
indexerCommand.getExcludedPaths(),
|
||||
|
||||
@@ -49,7 +49,7 @@ private:
|
||||
{
|
||||
UNKNOWN = 0,
|
||||
CXX_CDB,
|
||||
CXX_MANUAL,
|
||||
CXX_EMPTY,
|
||||
JAVA
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user