forked from qt-creator/qt-creator
Enable macro editing for the Clang indexer
Refactor much of the code from Environment* classes to NameValue* classes to share it with the preprocessor macro settings. Change-Id: Ica4ee817aa338230c422b30d91240d266248d226 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -319,12 +319,12 @@ bool BuildConfiguration::useSystemEnvironment() const
|
||||
return !m_clearSystemEnvironment;
|
||||
}
|
||||
|
||||
QList<Utils::EnvironmentItem> BuildConfiguration::userEnvironmentChanges() const
|
||||
Utils::EnvironmentItems BuildConfiguration::userEnvironmentChanges() const
|
||||
{
|
||||
return m_userEnvironmentChanges;
|
||||
}
|
||||
|
||||
void BuildConfiguration::setUserEnvironmentChanges(const QList<Utils::EnvironmentItem> &diff)
|
||||
void BuildConfiguration::setUserEnvironmentChanges(const Utils::EnvironmentItems &diff)
|
||||
{
|
||||
if (m_userEnvironmentChanges == diff)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user