Skip to content

Commit

Permalink
Bad spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Mar 20, 2024
1 parent d1ed3ab commit ccceff1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions src/IKVM.Clang.Sdk.Tasks/ClangExe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ protected override string GenerateResponseFileCommands()
if (arg.GetMetadata("Value") is string value && value.Length > 0)
{
// separate the value
if (arg.GetMetadata("Seperator") is string seperator && seperator.Length > 0)
if (arg.GetMetadata("Separator") is string seperator && seperator.Length > 0)
sb.Append(seperator);

AppendEscaped(sb, value);

// additional Value/Seperator metadata
// additional Value/Separator metadata
for (int i = 2; i < 128; i++)
{
if (arg.GetMetadata($"Value{i}") is string nextValue && nextValue.Length > 0)
{
// seperate the second value
if (arg.GetMetadata($"Seperator{i}") is string nextSeperator && nextSeperator.Length > 0)
if (arg.GetMetadata($"Separator{i}") is string nextSeperator && nextSeperator.Length > 0)
sb.Append(nextSeperator);

AppendEscaped(sb, nextValue);
Expand Down
32 changes: 16 additions & 16 deletions src/IKVM.Clang.Sdk/Sdk/targets/IKVM.Clang.Core.targets
Original file line number Diff line number Diff line change
Expand Up @@ -418,13 +418,13 @@
<_Args Remove="@(_Args)" />
<_Args Include="-c" />
<_Args Include="-v" Condition=" '$(Verbose)' == 'true' " />
<_Args Include="--target" Value="$(TargetTriple)" Seperator="=" />
<_Args Include="--target" Value="$(TargetTriple)" Separator="=" />
<_Args Include="-g" Condition=" '$(_DebugSymbols)' == 'true' " />

<_Args Include="-std" Value="$(_LanguageStandard)" Seperator="=" Condition=" '$(_LanguageStandard)' != '' " />
<_Args Include="-std" Value="$(_LanguageStandard)" Separator="=" Condition=" '$(_LanguageStandard)' != '' " />
<_Args Include="-fPIC" Condition=" '$(_PositionIndependentCode)' == 'true' " />
<_Args Include="-fms-compatibility" Condition=" '$(_MsCompatibility)' == 'true' " />
<_Args Include="-fms-compatibility-version" Value="$(_MsCompatibilityVersion)" Seperator="=" Condition=" '$(_MsCompatibilityVersion)' != '' " />
<_Args Include="-fms-compatibility-version" Value="$(_MsCompatibilityVersion)" Separator="=" Condition=" '$(_MsCompatibilityVersion)' != '' " />

<_Args Include="-xc" Condition=" '$(_Language)' == 'C' " />
<_Args Include="-xc++" Condition=" '$(_Language)' == 'C++' " />
Expand All @@ -436,7 +436,7 @@
<_SystemRootDirectoriesTemp Remove="@(_SystemRootDirectoriesTemp)" />
<_SystemRootDirectoriesTemp Include="@(_SystemRootDirectories->Distinct())" />
<_SystemRootDirectoriesArgs Remove="@(_SystemRootDirectoriesArgs)" />
<_SystemRootDirectoriesArgs Include="@(_SystemRootDirectoriesTemp->'--sysroot')" Value="%(_SystemRootDirectoriesTemp.Identity)" Seperator=" " />
<_SystemRootDirectoriesArgs Include="@(_SystemRootDirectoriesTemp->'--sysroot')" Value="%(_SystemRootDirectoriesTemp.Identity)" Separator=" " />
<_Args Include="@(_SystemRootDirectoriesArgs)" />

<_IncludeSystemRootDirectories Remove="@(_IncludeSystemRootDirectories)" />
Expand All @@ -446,7 +446,7 @@
<_IncludeSystemRootDirectoriesTemp Remove="@(_IncludeSystemRootDirectoriesTemp)" />
<_IncludeSystemRootDirectoriesTemp Include="@(_IncludeSystemRootDirectories->Distinct())" />
<_IncludeSystemRootDirectoriesArgs Remove="@(_IncludeSystemRootDirectoriesArgs)" />
<_IncludeSystemRootDirectoriesArgs Include="@(_IncludeSystemRootDirectoriesTemp->'-isysroot')" Value="%(_IncludeSystemRootDirectoriesTemp.Identity)" Seperator=" " />
<_IncludeSystemRootDirectoriesArgs Include="@(_IncludeSystemRootDirectoriesTemp->'-isysroot')" Value="%(_IncludeSystemRootDirectoriesTemp.Identity)" Separator=" " />
<_Args Include="@(_IncludeSystemRootDirectoriesArgs)" />

<_SystemIncludeDirectories Remove="@(_SystemIncludeDirectories)" />
Expand All @@ -456,7 +456,7 @@
<_SystemIncludeDirectoriesTemp Remove="@(_SystemIncludeDirectoriesTemp)" />
<_SystemIncludeDirectoriesTemp Include="@(_SystemIncludeDirectories->Distinct())" />
<_SystemIncludeDirectoriesArgs Remove="@(_SystemIncludeDirectoriesArgs)" />
<_SystemIncludeDirectoriesArgs Include="@(_SystemIncludeDirectoriesTemp->'-isystem')" Value="%(_SystemIncludeDirectoriesTemp.Identity)" Seperator=" " />
<_SystemIncludeDirectoriesArgs Include="@(_SystemIncludeDirectoriesTemp->'-isystem')" Value="%(_SystemIncludeDirectoriesTemp.Identity)" Separator=" " />
<_Args Include="@(_SystemIncludeDirectoriesArgs)" />

<_IncludeDirectories Remove="@(_IncludeDirectories)" />
Expand All @@ -467,15 +467,15 @@
<_IncludeDirectoriesTemp Remove="@(_IncludeDirectoriesTemp)" />
<_IncludeDirectoriesTemp Include="@(_IncludeDirectories->Distinct())" />
<_IncludeDirectoriesArgs Remove="@(_IncludeDirectoriesArgs)" />
<_IncludeDirectoriesArgs Include="@(_IncludeDirectoriesTemp->'-I')" Value="%(_IncludeDirectoriesTemp.Identity)" Seperator="" />
<_IncludeDirectoriesArgs Include="@(_IncludeDirectoriesTemp->'-I')" Value="%(_IncludeDirectoriesTemp.Identity)" Separator="" />
<_Args Include="@(_IncludeDirectoriesArgs)" />

<_PreprocessorDefinitions Remove="@(_PreprocessorDefinitions)" />
<_PreprocessorDefinitions Include="%(Compile.PreprocessorDefinitions)" />
<_PreprocessorDefinitions Include="@(PreprocessorDefinitions)" />
<_PreprocessorDefinitions Include="$(PreprocessorDefinitions)" />
<_PreprocessorDefinitionsArgs Remove="@(_PreprocessorDefinitionsArgs)" />
<_PreprocessorDefinitionsArgs Include="@(_PreprocessorDefinitions->'-D')" Value="%(_PreprocessorDefinitions.Identity)" Seperator="" Value2="%(_PreprocessorDefinitions.Value)" Seperator2="=" />
<_PreprocessorDefinitionsArgs Include="@(_PreprocessorDefinitions->'-D')" Value="%(_PreprocessorDefinitions.Identity)" Separator="" Value2="%(_PreprocessorDefinitions.Value)" Separator2="=" />
<_Args Include="@(_PreprocessorDefinitionsArgs)" />

<_AdditionalOptions Remove="@(_AdditionalOptions)" />
Expand All @@ -486,7 +486,7 @@

<_Args Include="$(_SourcePath)" />

<_Args Include="-o" Value="$(_ObjectPath)" Seperator=" " />
<_Args Include="-o" Value="$(_ObjectPath)" Separator=" " />
</ItemGroup>

<ClangExe ToolExe="$(ClangToolExe)" Arguments="@(_Args)" />
Expand Down Expand Up @@ -522,8 +522,8 @@
<_Args Include="-shared" Condition=" '$(OutputType)' == 'library' " />
<_Args Include="-static" Condition=" '$(OutputType)' == 'staticlibrary' " />
<_Args Include="-v" Condition=" '$(Verbose)' == 'true' " />
<_Args Include="--target" Value="$(TargetTriple)" Seperator="=" />
<_Args Include="-fuse-ld" Value="lld" Seperator="=" Condition=" '$(UseLld)' == 'true' " />
<_Args Include="--target" Value="$(TargetTriple)" Separator="=" />
<_Args Include="-fuse-ld" Value="lld" Separator="=" Condition=" '$(UseLld)' == 'true' " />
<_Args Include="-g" Condition=" '$(DebugSymbols)' == 'true' " />

<_Args Include="-Wl,/subsystem:$(Subsystem)" Condition=" '$(Subsystem)' != '' " />
Expand All @@ -535,7 +535,7 @@
<_SystemRootDirectoriesTemp Remove="@(_SystemRootDirectoriesTemp)" />
<_SystemRootDirectoriesTemp Include="@(_SystemRootDirectories->Distinct())" />
<_SystemRootDirectoriesArgs Remove="@(_SystemRootDirectoriesArgs)" />
<_SystemRootDirectoriesArgs Include="@(_SystemRootDirectoriesTemp->'--sysroot')" Value="%(_SystemRootDirectoriesTemp.Identity)" Seperator=" " />
<_SystemRootDirectoriesArgs Include="@(_SystemRootDirectoriesTemp->'--sysroot')" Value="%(_SystemRootDirectoriesTemp.Identity)" Separator=" " />
<_Args Include="@(_SystemRootDirectoriesArgs)" />

<_IncludeSystemRootDirectories Remove="@(_IncludeSystemRootDirectories)" />
Expand All @@ -545,7 +545,7 @@
<_IncludeSystemRootDirectoriesTemp Remove="@(_IncludeSystemRootDirectoriesTemp)" />
<_IncludeSystemRootDirectoriesTemp Include="@(_IncludeSystemRootDirectories->Distinct())" />
<_IncludeSystemRootDirectoriesArgs Remove="@(_IncludeSystemRootDirectoriesArgs)" />
<_IncludeSystemRootDirectoriesArgs Include="@(_IncludeSystemRootDirectoriesTemp->'--isysroot')" Value="%(_IncludeSystemRootDirectoriesTemp.Identity)" Seperator=" " />
<_IncludeSystemRootDirectoriesArgs Include="@(_IncludeSystemRootDirectoriesTemp->'--isysroot')" Value="%(_IncludeSystemRootDirectoriesTemp.Identity)" Separator=" " />
<_Args Include="@(_IncludeSystemRootDirectoriesArgs)" />

<_LibraryDirectories Remove="@(_LibraryDirectories)" />
Expand All @@ -555,7 +555,7 @@
<_LibraryDirectoriesTemp Remove="@(_LibraryDirectoriesTemp)" />
<_LibraryDirectoriesTemp Include="@(_LibraryDirectories->Distinct())" />
<_LibraryDirectoriesArgs Remove="@(_LibraryDirectoriesArgs)" />
<_LibraryDirectoriesArgs Include="@(_LibraryDirectoriesTemp->'-L')" Value="%(_LibraryDirectoriesTemp.Identity)" Seperator="" />
<_LibraryDirectoriesArgs Include="@(_LibraryDirectoriesTemp->'-L')" Value="%(_LibraryDirectoriesTemp.Identity)" Separator="" />
<_Args Include="@(_LibraryDirectoriesArgs)" />

<_Dependencies Remove="@(_Dependencies)" />
Expand All @@ -565,7 +565,7 @@
<_DependenciesTemp Remove="@(_DependenciesTemp)" />
<_DependenciesTemp Include="@(_Dependencies->Distinct())" />
<_DependenciesArgs Remove="@(_DependenciesArgs)" />
<_DependenciesArgs Include="@(_DependenciesTemp->'-l')" Value="%(_DependenciesTemp.Identity)" Seperator="" />
<_DependenciesArgs Include="@(_DependenciesTemp->'-l')" Value="%(_DependenciesTemp.Identity)" Separator="" />
<_Args Include="@(_DependenciesArgs)" />

<_AdditionalOptions Remove="@(_AdditionalOptions)" />
Expand All @@ -575,7 +575,7 @@

<_Args Include="@(Compile->'%(ObjectPath)')" />

<_Args Include="-o" Value="$(IntermediateOutputPath)$(TargetFileName)" Seperator=" " />
<_Args Include="-o" Value="$(IntermediateOutputPath)$(TargetFileName)" Separator=" " />
</ItemGroup>

<ClangExe ToolExe="$(ClangToolExe)" Arguments="@(_Args)" />
Expand Down

0 comments on commit ccceff1

Please sign in to comment.