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 CallgrindRunMode:
|
||||
case MemcheckRunMode:
|
||||
case ClangStaticAnalyzerMode:
|
||||
default:
|
||||
QTC_CHECK(false); // The other run modes are not supported
|
||||
}
|
||||
|
||||
@@ -275,7 +275,8 @@ enum RunMode {
|
||||
DebugRunModeWithBreakOnMain,
|
||||
QmlProfilerRunMode,
|
||||
CallgrindRunMode,
|
||||
MemcheckRunMode
|
||||
MemcheckRunMode,
|
||||
ClangStaticAnalyzerMode
|
||||
};
|
||||
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
@@ -200,6 +200,7 @@ RunControl *QnxRunControlFactory::create(RunConfiguration *runConfig, RunMode mo
|
||||
case NoRunMode:
|
||||
case CallgrindRunMode:
|
||||
case MemcheckRunMode:
|
||||
case ClangStaticAnalyzerMode:
|
||||
case DebugRunModeWithBreakOnMain:
|
||||
QTC_ASSERT(false, return 0);
|
||||
}
|
||||
|
||||
@@ -127,6 +127,7 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
|
||||
case NoRunMode:
|
||||
case CallgrindRunMode:
|
||||
case MemcheckRunMode:
|
||||
case ClangStaticAnalyzerMode:
|
||||
QTC_ASSERT(false, return 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user