forked from qt-creator/qt-creator
Clang: Minor cleanups in CompilerOptionsBuilder
Change-Id: Iaf5af70136bceed52d19622c01d9d7147e5abeea Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -316,7 +316,7 @@ static QJsonObject createFileObject(CompilerOptionsBuilder &optionsBuilder,
|
||||
const ::Utils::FileName &buildDir)
|
||||
{
|
||||
const ProjectFile::Kind kind = ProjectFile::classify(projFile.path);
|
||||
optionsBuilder.updateLanguageOption(kind);
|
||||
optionsBuilder.updateFileLanguage(kind);
|
||||
|
||||
QJsonObject fileObject;
|
||||
fileObject["file"] = projFile.path;
|
||||
|
||||
Reference in New Issue
Block a user