Skip to content
This repository was archived by the owner on Aug 9, 2025. It is now read-only.

Commit 276b9f3

Browse files
committed
Setting for cppcheck arguments removed (inconclusive checks setting left)
1 parent 0acbd9a commit 276b9f3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CPPCheckPlugin/AnalyzerCppcheck.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public override void analyze(List<SourceFile> filesToAnalyze, OutputWindowPane o
1313
bool isDebugConfiguration, bool bringOutputToFrontAfterAnalysis)
1414
{
1515
Debug.Assert(_numCores > 0);
16-
String cppheckargs = Properties.Settings.Default.DefaultArguments;
16+
String cppheckargs = CppcheckSettings.DefaultArguments;
1717

1818
HashSet<string> suppressions = new HashSet<string> { "passedByValue", "cstyleCast", "missingIncludeSystem", "unusedStructMember", "unmatchedSuppression", "class_X_Y", "missingInclude", "constStatement", "unusedPrivateFunction" };
1919

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Window x:Class="VSPackage.CPPCheckPlugin.CppcheckSettings"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
Title="Cppcheck settings" Height="271" Width="696">
4+
Title="Cppcheck settings" Height="141.952" Width="338.968">
55
<Grid>
66
<CheckBox Content="Enable inconclusive checks" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.309,0.75" Name="InconclusiveChecks" Checked="inconclusive_Checked" Unchecked="inconclusive_Unchecked"/>
7-
<Label Content="Arguments:" HorizontalAlignment="Left" Margin="10,31,0,0" VerticalAlignment="Top"/>
8-
<Button Content="Reset arguments to default" HorizontalAlignment="Stretch" Margin="265,148,265,0" VerticalAlignment="Top" Width="158" Click="onDefaultArguments"/>
9-
<TextBox HorizontalAlignment="Stretch" Margin="10,62,10,0" TextWrapping="NoWrap" Name="ArgumentsEditor" VerticalAlignment="Top" ScrollViewer.CanContentScroll="True" Height="81"/>
7+
<Label Content="Arguments:" HorizontalAlignment="Left" Margin="10,31,0,0" VerticalAlignment="Top" Visibility="Hidden"/>
8+
<Button Content="Reset arguments to default" HorizontalAlignment="Stretch" Margin="265,148,265,0" VerticalAlignment="Top" Width="158" Click="onDefaultArguments" Visibility="Hidden"/>
9+
<TextBox HorizontalAlignment="Stretch" Margin="10,62,10,0" TextWrapping="NoWrap" Name="ArgumentsEditor" VerticalAlignment="Top" ScrollViewer.CanContentScroll="True" Height="81" Visibility="Hidden"/>
1010
</Grid>
1111
</Window>

0 commit comments

Comments
 (0)