Skip to content

Commit

Permalink
[NFC][sanitizer] Clang-format a header
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Aug 14, 2023
1 parent 45974f4 commit cbff6b4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions compiler-rt/lib/sanitizer_common/sanitizer_redefine_builtins.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
//
//===----------------------------------------------------------------------===//
#ifndef SANITIZER_COMMON_NO_REDEFINE_BUILTINS
#ifndef SANITIZER_REDEFINE_BUILTINS_H
#define SANITIZER_REDEFINE_BUILTINS_H
# ifndef SANITIZER_REDEFINE_BUILTINS_H
# define SANITIZER_REDEFINE_BUILTINS_H

// The asm hack only works with GCC and Clang.
#if !defined(_WIN32)
# if !defined(_WIN32)

asm("memcpy = __sanitizer_internal_memcpy");
asm("memmove = __sanitizer_internal_memmove");
Expand Down Expand Up @@ -49,7 +49,7 @@ using vector = Define_SANITIZER_COMMON_NO_REDEFINE_BUILTINS_in_cpp_file;
} // namespace std

# endif // __cpluplus
#endif // !_WIN32
# endif // !_WIN32

#endif // SANITIZER_REDEFINE_BUILTINS_H
#endif // SANITIZER_COMMON_NO_REDEFINE_BUILTINS
# endif // SANITIZER_REDEFINE_BUILTINS_H
#endif // SANITIZER_COMMON_NO_REDEFINE_BUILTINS

0 comments on commit cbff6b4

Please sign in to comment.