logic: removed preprocessor only option when indexing CXX source groups
This commit is contained in:
@@ -41,12 +41,3 @@ std::vector<FilePath> IndexerCommandJava::getClassPath() const
|
||||
{
|
||||
return m_classPath;
|
||||
}
|
||||
|
||||
bool IndexerCommandJava::preprocessorOnly() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void IndexerCommandJava::setPreprocessorOnly(bool preprocessorOnly)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -25,9 +25,6 @@ public:
|
||||
|
||||
std::vector<FilePath> getClassPath() const;
|
||||
|
||||
bool preprocessorOnly() const override;
|
||||
void setPreprocessorOnly(bool preprocessorOnly) override;
|
||||
|
||||
private:
|
||||
std::vector<FilePath> m_classPath;
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ std::shared_ptr<IntermediateStorage> IndexerJava::doIndex(
|
||||
|
||||
parserClient->resetStorage();
|
||||
|
||||
if (parserClient->hasFatalErrors() || indexerCommand->preprocessorOnly())
|
||||
if (parserClient->hasFatalErrors())
|
||||
{
|
||||
storage->setAllFilesIncomplete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user