forked from qt-creator/qt-creator
Clang: Soft assert valid instrinsics dir
We probably should add a message box for this in the master version. Change-Id: Icc01eeb258445c361e7c6227e6bd768b9d16d350 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -148,7 +148,7 @@ private:
|
||||
void addPredefinedMacrosAndHeaderPathsOptionsForNonMsvc()
|
||||
{
|
||||
static const QString resourceDir = getResourceDir();
|
||||
if (!resourceDir.isEmpty()) {
|
||||
if (QTC_GUARD(!resourceDir.isEmpty())) {
|
||||
add(QLatin1String("-nostdlibinc"));
|
||||
add(QLatin1String("-I") + QDir::toNativeSeparators(resourceDir));
|
||||
add(QLatin1String("-undef"));
|
||||
|
||||
Reference in New Issue
Block a user