forked from qt-creator/qt-creator
ProjectExplorer: Add ClangStaticAnalyzerMode RunMode
Change-Id: I08bc8d11d4085861a56fd52da344785120a78712 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -81,6 +81,7 @@ RunControl *AndroidRunControlFactory::create(RunConfiguration *runConfig,
|
|||||||
case DebugRunModeWithBreakOnMain:
|
case DebugRunModeWithBreakOnMain:
|
||||||
case CallgrindRunMode:
|
case CallgrindRunMode:
|
||||||
case MemcheckRunMode:
|
case MemcheckRunMode:
|
||||||
|
case ClangStaticAnalyzerMode:
|
||||||
default:
|
default:
|
||||||
QTC_CHECK(false); // The other run modes are not supported
|
QTC_CHECK(false); // The other run modes are not supported
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -275,7 +275,8 @@ enum RunMode {
|
|||||||
DebugRunModeWithBreakOnMain,
|
DebugRunModeWithBreakOnMain,
|
||||||
QmlProfilerRunMode,
|
QmlProfilerRunMode,
|
||||||
CallgrindRunMode,
|
CallgrindRunMode,
|
||||||
MemcheckRunMode
|
MemcheckRunMode,
|
||||||
|
ClangStaticAnalyzerMode
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ProjectExplorer
|
} // namespace ProjectExplorer
|
||||||
|
|||||||
@@ -200,6 +200,7 @@ RunControl *QnxRunControlFactory::create(RunConfiguration *runConfig, RunMode mo
|
|||||||
case NoRunMode:
|
case NoRunMode:
|
||||||
case CallgrindRunMode:
|
case CallgrindRunMode:
|
||||||
case MemcheckRunMode:
|
case MemcheckRunMode:
|
||||||
|
case ClangStaticAnalyzerMode:
|
||||||
case DebugRunModeWithBreakOnMain:
|
case DebugRunModeWithBreakOnMain:
|
||||||
QTC_ASSERT(false, return 0);
|
QTC_ASSERT(false, return 0);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,6 +127,7 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
|
|||||||
case NoRunMode:
|
case NoRunMode:
|
||||||
case CallgrindRunMode:
|
case CallgrindRunMode:
|
||||||
case MemcheckRunMode:
|
case MemcheckRunMode:
|
||||||
|
case ClangStaticAnalyzerMode:
|
||||||
QTC_ASSERT(false, return 0);
|
QTC_ASSERT(false, return 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user