Skip to content

Commit ed0dd19

Browse files
committed
Enforce clang-format on host/graphics/mem_overrides
Bug: b/512215781
1 parent 755107e commit ed0dd19

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

base/cvd/cuttlefish/host/graphics/mem_overrides/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ cf_cc_binary(
1414
"mem_overrides_noop.cpp",
1515
],
1616
}),
17-
clang_format_enabled = False,
1817
copts = [
1918
"-fPIC",
2019
],

base/cvd/cuttlefish/host/graphics/mem_overrides/mem_overrides.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ extern "C" {
66
// cause SIGBUS errors on some Nvidia GPUs. Override memcpy here:
77

88
void* memcpy(void* dest, const void* src, size_t n) {
9-
return __memcpy_aarch64(dest, src, n);
9+
return __memcpy_aarch64(dest, src, n);
1010
}
1111

1212
void* memmove(void* dest, const void* src, size_t n) {
13-
return __memmove_aarch64(dest, src, n);
13+
return __memmove_aarch64(dest, src, n);
1414
}

0 commit comments

Comments
 (0)