Skip to content

Commit

Permalink
editorconfig: Set default encoding to UTF-8 (#5793)
Browse files Browse the repository at this point in the history
* editorconfig: Add default charset

* Change file encoding from UTF-8-BOM to UTF-8
  • Loading branch information
TSRBerry authored Dec 4, 2023
1 parent 1be668e commit 2989c16
Show file tree
Hide file tree
Showing 1,962 changed files with 1,964 additions and 1,961 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ root = true

#### Core EditorConfig Options ####

# Set default charset
charset = utf-8

# Indentation and spacing
indent_size = 4
indent_style = space
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Allocators.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.Common;
using ARMeilleure.Common;
using System;
using System.Runtime.CompilerServices;

Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/Linking/Symbol.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace ARMeilleure.CodeGen.Linking
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/Linking/SymbolType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.CodeGen.Linking
namespace ARMeilleure.CodeGen.Linking
{
/// <summary>
/// Types of <see cref="Symbol"/>.
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/Optimizations/BlockPlacement.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.Translation;
using System.Diagnostics;
using static ARMeilleure.IntermediateRepresentation.Operand.Factory;
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/Optimizations/TailMerge.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.Translation;
using static ARMeilleure.IntermediateRepresentation.Operation.Factory;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace ARMeilleure.CodeGen.RegisterAllocators
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/RegisterAllocators/UseList.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace ARMeilleure.CodeGen.RegisterAllocators
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/X86/AssemblerTable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics.CodeAnalysis;

namespace ARMeilleure.CodeGen.X86
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/X86/CodeGenCommon.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.IntermediateRepresentation;

namespace ARMeilleure.CodeGen.X86
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/X86/Mxcsr.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace ARMeilleure.CodeGen.X86
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/CodeGen/X86/X86Optimizer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.CodeGen.Optimizations;
using ARMeilleure.CodeGen.Optimizations;
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.Translation;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Common/AddressTable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.Diagnostics;
using ARMeilleure.Diagnostics;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Common/Allocator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace ARMeilleure.Common
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Common/ArenaAllocator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;

Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Common/Counter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace ARMeilleure.Common
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Common/EntryTable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Numerics;

Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Common/NativeAllocator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Runtime.InteropServices;

namespace ARMeilleure.Common
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/DecoderMode.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
enum DecoderMode
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32AluBf.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32AluBf
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32AluImm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32AluImm : IOpCode32Alu
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32AluReg.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32AluReg : IOpCode32Alu
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32AluRsImm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32AluRsImm : IOpCode32Alu
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32AluRsReg.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32AluRsReg : IOpCode32Alu
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32AluUx.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32AluUx : IOpCode32AluReg
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32Exception.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32HasSetFlags.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32HasSetFlags
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32MemEx.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32MemEx : IOpCode32Mem
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32MemReg.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32MemReg : IOpCode32Mem
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32Simd.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32Simd : IOpCode32, IOpCodeSimd { }
}
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/IOpCode32SimdImm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
interface IOpCode32SimdImm : IOpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32AluBf.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32AluBf : OpCode32, IOpCode32AluBf
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32AluImm16.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32AluImm16 : OpCode32Alu, IOpCode32AluImm16
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32AluMla.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32AluMla : OpCode32, IOpCode32AluMla
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32AluReg.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32AluReg : OpCode32Alu, IOpCode32AluReg
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32AluRsReg.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32AluRsReg : OpCode32Alu, IOpCode32AluRsReg
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32AluUmull.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32AluUmull : OpCode32, IOpCode32AluUmull
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32AluUx.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.State;
using ARMeilleure.State;

namespace ARMeilleure.Decoders
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32Exception.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32Exception : OpCode32, IOpCode32Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32MemLdEx.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32MemLdEx : OpCode32Mem, IOpCode32MemEx
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32MemReg.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32MemReg : OpCode32Mem, IOpCode32MemReg
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32MemRsImm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32MemRsImm : OpCode32Mem, IOpCode32MemRsImm
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32MemStEx.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32MemStEx : OpCode32Mem, IOpCode32MemEx
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32MsrReg.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.State;
using ARMeilleure.State;

namespace ARMeilleure.Decoders
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32Simd.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32Simd : OpCode32SimdBase
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace ARMeilleure.Decoders
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdBinary.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
/// <summary>
/// A special alias that always runs in 64 bit int, to speed up binary ops a little.
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdCmpZ.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdCmpZ : OpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdCvtFFixed.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdCvtFFixed : OpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdCvtFI.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdCvtFI : OpCode32SimdS
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdDupElem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdDupElem : OpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdDupGP.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdDupGP : OpCode32, IOpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdExt.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdExt : OpCode32SimdReg
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdImm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdImm : OpCode32SimdBase, IOpCode32SimdImm
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdImm44.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdImm44 : OpCode32, IOpCode32SimdImm
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdLong.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdLong : OpCode32SimdBase
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdMemImm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdMemImm : OpCode32, IOpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdMemMult.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdMemMult : OpCode32
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdMemPair.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.State;
using ARMeilleure.State;

namespace ARMeilleure.Decoders
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdMemSingle.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ARMeilleure.State;
using ARMeilleure.State;

namespace ARMeilleure.Decoders
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdMovGp.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdMovGp : OpCode32, IOpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdMovGpDouble.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdMovGpDouble : OpCode32, IOpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdMovGpElem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdMovGpElem : OpCode32, IOpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdReg.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdReg : OpCode32Simd
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdRegElem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdRegElem : OpCode32SimdReg
{
Expand Down
2 changes: 1 addition & 1 deletion src/ARMeilleure/Decoders/OpCode32SimdRegElemLong.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ARMeilleure.Decoders
namespace ARMeilleure.Decoders
{
class OpCode32SimdRegElemLong : OpCode32SimdRegElem
{
Expand Down
Loading

0 comments on commit 2989c16

Please sign in to comment.