Skip to content

Commit 951adce

Browse files
authored
Merge pull request #1 from nanoframework/nfbot/clang-format-fix/3669da00-878f-427d-b1d1-ed4e62350d72
Code style fixes for nanoframework/nf-interpreter PR#1705
2 parents bb32f47 + 3f15d4b commit 951adce

File tree

4 files changed

+23
-27
lines changed

4 files changed

+23
-27
lines changed

src/System.IO.FileSystem/nf_sys_io_filesystem.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include "nf_sys_io_filesystem.h"
22

3-
static const CLR_RT_MethodHandler method_lookup[] =
4-
{
3+
static const CLR_RT_MethodHandler method_lookup[] = {
54
NULL,
65
NULL,
76
NULL,
@@ -61,9 +60,4 @@ static const CLR_RT_MethodHandler method_lookup[] =
6160
};
6261

6362
const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_System_IO_FileSystem =
64-
{
65-
"System.IO.FileSystem",
66-
0xC981DC3F,
67-
method_lookup,
68-
{ 1, 0, 0, 0 }
69-
};
63+
{"System.IO.FileSystem", 0xC981DC3F, method_lookup, {1, 0, 0, 0}};

src/System.IO.FileSystem/nf_sys_io_filesystem.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//-----------------------------------------------------------------------------
22
//
3-
// ** WARNING! **
3+
// ** WARNING! **
44
// This file was generated automatically by a tool.
55
// Re-running the tool will overwrite this file.
66
// You should copy this file to a custom location
@@ -30,7 +30,6 @@ struct Library_nf_sys_io_filesystem_System_IO_FileStream
3030
static const int FIELD___path = 9;
3131

3232
//--//
33-
3433
};
3534

3635
struct Library_nf_sys_io_filesystem_System_IO_NativeFile
@@ -42,7 +41,6 @@ struct Library_nf_sys_io_filesystem_System_IO_NativeFile
4241
NANOCLR_NATIVE_DECLARE(SetAttributesNative___STATIC__VOID__STRING__U1);
4342

4443
//--//
45-
4644
};
4745

4846
struct Library_nf_sys_io_filesystem_System_IO_NativeFileStream
@@ -53,7 +51,6 @@ struct Library_nf_sys_io_filesystem_System_IO_NativeFileStream
5351
NANOCLR_NATIVE_DECLARE(GetLengthNative___I8__STRING__STRING);
5452

5553
//--//
56-
5754
};
5855

5956
struct Library_nf_sys_io_filesystem_System_IO_Path
@@ -63,9 +60,8 @@ struct Library_nf_sys_io_filesystem_System_IO_Path
6360
static const int FIELD_STATIC__m_illegalCharacters = 2;
6461

6562
//--//
66-
6763
};
6864

6965
extern const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_System_IO_FileSystem;
7066

71-
#endif //_NF_SYS_IO_FILESYSTEM_H_
67+
#endif //_NF_SYS_IO_FILESYSTEM_H_

src/System.IO.FileSystem/nf_sys_io_filesystem_System_IO_NativeFile.cpp

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//-----------------------------------------------------------------------------
22
//
3-
// ** WARNING! **
3+
// ** WARNING! **
44
// This file was generated automatically by a tool.
55
// Re-running the tool will overwrite this file.
66
// You should copy this file to a custom location
@@ -12,8 +12,8 @@
1212

1313
#include "nf_sys_io_filesystem.h"
1414

15-
16-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::ExistsNative___STATIC__BOOLEAN__STRING__STRING( CLR_RT_StackFrame& stack )
15+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::ExistsNative___STATIC__BOOLEAN__STRING__STRING(
16+
CLR_RT_StackFrame &stack)
1717
{
1818
NANOCLR_HEADER();
1919

@@ -22,7 +22,8 @@ HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::ExistsNative___STATIC
2222
NANOCLR_NOCLEANUP();
2323
}
2424

25-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::MoveNative___STATIC__VOID__STRING__STRING( CLR_RT_StackFrame& stack )
25+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::MoveNative___STATIC__VOID__STRING__STRING(
26+
CLR_RT_StackFrame &stack)
2627
{
2728
NANOCLR_HEADER();
2829

@@ -31,7 +32,7 @@ HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::MoveNative___STATIC__
3132
NANOCLR_NOCLEANUP();
3233
}
3334

34-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::DeleteNative___STATIC__VOID__STRING( CLR_RT_StackFrame& stack )
35+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::DeleteNative___STATIC__VOID__STRING(CLR_RT_StackFrame &stack)
3536
{
3637
NANOCLR_HEADER();
3738

@@ -40,7 +41,8 @@ HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::DeleteNative___STATIC
4041
NANOCLR_NOCLEANUP();
4142
}
4243

43-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::GetAttributesNative___STATIC__U1__STRING( CLR_RT_StackFrame& stack )
44+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::GetAttributesNative___STATIC__U1__STRING(
45+
CLR_RT_StackFrame &stack)
4446
{
4547
NANOCLR_HEADER();
4648

@@ -49,7 +51,8 @@ HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::GetAttributesNative__
4951
NANOCLR_NOCLEANUP();
5052
}
5153

52-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::SetAttributesNative___STATIC__VOID__STRING__U1( CLR_RT_StackFrame& stack )
54+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFile::SetAttributesNative___STATIC__VOID__STRING__U1(
55+
CLR_RT_StackFrame &stack)
5356
{
5457
NANOCLR_HEADER();
5558

src/System.IO.FileSystem/nf_sys_io_filesystem_System_IO_NativeFileStream.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//-----------------------------------------------------------------------------
22
//
3-
// ** WARNING! **
3+
// ** WARNING! **
44
// This file was generated automatically by a tool.
55
// Re-running the tool will overwrite this file.
66
// You should copy this file to a custom location
@@ -12,8 +12,8 @@
1212

1313
#include "nf_sys_io_filesystem.h"
1414

15-
16-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::OpenFileNative___VOID__STRING__STRING__I4( CLR_RT_StackFrame& stack )
15+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::OpenFileNative___VOID__STRING__STRING__I4(
16+
CLR_RT_StackFrame &stack)
1717
{
1818
NANOCLR_HEADER();
1919

@@ -22,7 +22,8 @@ HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::OpenFileNative_
2222
NANOCLR_NOCLEANUP();
2323
}
2424

25-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::ReadNative___I4__STRING__STRING__I8__SZARRAY_U1__I4( CLR_RT_StackFrame& stack )
25+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::ReadNative___I4__STRING__STRING__I8__SZARRAY_U1__I4(
26+
CLR_RT_StackFrame &stack)
2627
{
2728
NANOCLR_HEADER();
2829

@@ -31,7 +32,8 @@ HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::ReadNative___I4
3132
NANOCLR_NOCLEANUP();
3233
}
3334

34-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::WriteNative___VOID__STRING__STRING__I8__SZARRAY_U1__I4( CLR_RT_StackFrame& stack )
35+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::WriteNative___VOID__STRING__STRING__I8__SZARRAY_U1__I4(
36+
CLR_RT_StackFrame &stack)
3537
{
3638
NANOCLR_HEADER();
3739

@@ -40,7 +42,8 @@ HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::WriteNative___V
4042
NANOCLR_NOCLEANUP();
4143
}
4244

43-
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::GetLengthNative___I8__STRING__STRING( CLR_RT_StackFrame& stack )
45+
HRESULT Library_nf_sys_io_filesystem_System_IO_NativeFileStream::GetLengthNative___I8__STRING__STRING(
46+
CLR_RT_StackFrame &stack)
4447
{
4548
NANOCLR_HEADER();
4649

0 commit comments

Comments
 (0)