forked from qt-creator/qt-creator
Analyzer: Remove some explicit uses of Analyzer::StartMode
Change-Id: I6d28a533d4ee2e93e4b3407e7fdd670c45886708 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
@@ -535,11 +535,6 @@ QString CallgrindTool::description() const
|
||||
"record function calls when a program runs.");
|
||||
}
|
||||
|
||||
Core::Id CallgrindTool::actionId(StartMode mode) const
|
||||
{
|
||||
return mode == StartLocal ? "Analyzer.Callgrind.Local" : "Analyzer.Callgrind.Remote";
|
||||
}
|
||||
|
||||
IAnalyzerTool::ToolMode CallgrindTool::toolMode() const
|
||||
{
|
||||
return ReleaseMode;
|
||||
|
||||
@@ -49,7 +49,6 @@ public:
|
||||
ProjectExplorer::RunMode runMode() const;
|
||||
QString displayName() const;
|
||||
QString description() const;
|
||||
Core::Id actionId(Analyzer::StartMode mode) const;
|
||||
ToolMode toolMode() const;
|
||||
|
||||
void extensionsInitialized();
|
||||
|
||||
@@ -297,11 +297,6 @@ QString MemcheckTool::description() const
|
||||
"memory leaks");
|
||||
}
|
||||
|
||||
Core::Id MemcheckTool::actionId(StartMode mode) const
|
||||
{
|
||||
return mode == StartLocal ? "Analyzer.Memcheck.Local" : "Analyzer.Memcheck.Remote";
|
||||
}
|
||||
|
||||
AbstractAnalyzerSubConfig *MemcheckTool::createGlobalSettings()
|
||||
{
|
||||
return new ValgrindGlobalSettings();
|
||||
|
||||
@@ -88,7 +88,6 @@ public:
|
||||
ProjectExplorer::RunMode runMode() const;
|
||||
QString displayName() const;
|
||||
QString description() const;
|
||||
Core::Id actionId(Analyzer::StartMode mode) const;
|
||||
|
||||
// Create the valgrind settings (for all valgrind tools)
|
||||
Analyzer::AbstractAnalyzerSubConfig *createGlobalSettings();
|
||||
|
||||
Reference in New Issue
Block a user