Verified Commit d931fef0 authored by Marc Vef's avatar Marc Vef
Browse files

Disable clang-format for syscall code due to special formatting

parent 06757f59
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
  SPDX-License-Identifier: MIT
*/

// This file uses special C formatting for a better overview
// clang-format off

#ifndef GKFS_SYSCALLS_ARGS_HPP
#define GKFS_SYSCALLS_ARGS_HPP

@@ -722,3 +725,5 @@ format_arg_to(FmtBuffer& buffer,
} // namespace gkfs

#endif // GKFS_SYSCALLS_ARGS_HPP

// clang-format on
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
  SPDX-License-Identifier: MIT
*/

// This file uses special C formatting for a better overview
// clang-format off

#ifndef GKFS_SYSCALLS_DECODER_HPP
#define GKFS_SYSCALLS_DECODER_HPP

@@ -108,3 +111,5 @@ decode(FmtBuffer& buffer,
} // namespace gkfs

#endif // GKFS_SYSCALLS_DECODER_HPP

// clang-format on
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
  SPDX-License-Identifier: MIT
*/

// This file uses special C formatting for a better overview
// clang-format off

#ifndef SYSCALLS_DETAIL_SYSCALL_INFO_H
#define SYSCALLS_DETAIL_SYSCALL_INFO_H

@@ -83,3 +86,5 @@ syscall_never_returns(long);
#endif // __cplusplus

#endif // SYSCALLS_DETAIL_SYSCALL_INFO_H

// clang-format on
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
  SPDX-License-Identifier: MIT
*/

// This file uses special C formatting for a better overview
// clang-format off

#ifndef GKFS_SYSCALLS_RETS_HPP
#define GKFS_SYSCALLS_RETS_HPP

@@ -134,3 +137,5 @@ format_dec_ret_to(FmtBuffer& buffer,
} // namespace gkfs

#endif // GKFS_SYSCALLS_RETS_HPP

// clang-format on
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
  SPDX-License-Identifier: MIT
*/

// This file uses special C formatting for a better overview
// clang-format off

#ifndef GKFS_SYSCALL_HPP
#define GKFS_SYSCALL_HPP

@@ -214,3 +217,5 @@ error_code(long result) {
} // namespace gkfs

#endif // GKFS_SYSCALL_HPP

// clang-format on
 No newline at end of file
Loading