Skip to content

Commit 97ae074

Browse files
clang-format patch
1 parent 6144b00 commit 97ae074

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

libc/src/stdio/scanf_core/reader.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// #include "hdr/types/FILE.h"
1616
// #include "src/__support/File/file.h"
1717

18-
1918
namespace LIBC_NAMESPACE_DECL {
2019
namespace scanf_core {
2120

libc/src/stdio/scanf_core/reader.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
#ifndef LLVM_LIBC_SRC_STDIO_SCANF_CORE_READER_H
1010
#define LLVM_LIBC_SRC_STDIO_SCANF_CORE_READER_H
1111

12+
#include "hdr/types/FILE.h"
1213
#include "src/__support/File/file.h"
1314
#include "src/__support/macros/attributes.h" // For LIBC_INLINE
1415
#include "src/__support/macros/config.h"
15-
#include "hdr/types/FILE.h"
1616

1717
#include <stddef.h>
1818

19-
2019
namespace LIBC_NAMESPACE_DECL {
2120
namespace scanf_core {
2221
// We use the name "reader_internal" over "internal" because
23-
// "internal" causes name lookups in files that include the current header to be ambigious
24-
// i.e. `internal::foo` in those files, will try to lookup in `LIBC_NAMESPACE::scanf_core::internal` over `LIBC_NAMESPACE::internal`
25-
// for e.g., `internal::ArgList` in `libc/src/stdio/scanf_core/scanf_main.h`
22+
// "internal" causes name lookups in files that include the current header to be
23+
// ambigious i.e. `internal::foo` in those files, will try to lookup in
24+
// `LIBC_NAMESPACE::scanf_core::internal` over `LIBC_NAMESPACE::internal` for
25+
// e.g., `internal::ArgList` in `libc/src/stdio/scanf_core/scanf_main.h`
2626
namespace reader_internal {
2727

2828
#if defined(LIBC_TARGET_ARCH_IS_GPU)
@@ -68,7 +68,6 @@ LIBC_INLINE void ungetc(int c, void *f) {
6868

6969
} // namespace reader_internal
7070

71-
7271
// This is intended to be either a raw string or a buffer syncronized with the
7372
// file's internal buffer.
7473
struct ReadBuffer {

0 commit comments

Comments
 (0)