forked from qt-creator/qt-creator
Valgrind: Use TypedSelectionAspect
Change-Id: I6796f3b5f42214b61025a2854e33dcaae2da9413 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -64,7 +64,7 @@ ValgrindToolRunner::ValgrindToolRunner(RunControl *runControl, const QString &pr
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
static QString selfModifyingCodeDetectionToString(int detection)
|
static QString selfModifyingCodeDetectionToString(ValgrindSettings::SelfModifyingCodeDetection detection)
|
||||||
{
|
{
|
||||||
switch (detection) {
|
switch (detection) {
|
||||||
case ValgrindSettings::DetectSmcNo: return "none";
|
case ValgrindSettings::DetectSmcNo: return "none";
|
||||||
|
@@ -62,7 +62,7 @@ public:
|
|||||||
// Generic valgrind settings
|
// Generic valgrind settings
|
||||||
Utils::FilePathAspect valgrindExecutable{this};
|
Utils::FilePathAspect valgrindExecutable{this};
|
||||||
Utils::StringAspect valgrindArguments{this};
|
Utils::StringAspect valgrindArguments{this};
|
||||||
Utils::SelectionAspect selfModifyingCodeDetection{this};
|
Utils::TypedSelectionAspect<ValgrindSettings::SelfModifyingCodeDetection> selfModifyingCodeDetection{this};
|
||||||
|
|
||||||
SuppressionAspect suppressions;
|
SuppressionAspect suppressions;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user