[compiler-rt] r348673 - [sanitizer] Suppress lint warning conflicting with clang-format
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 7 17:00:37 PST 2018
Author: vitalybuka
Date: Fri Dec 7 17:00:37 2018
New Revision: 348673
URL: http://llvm.org/viewvc/llvm-project?rev=348673&view=rev
Log:
[sanitizer] Suppress lint warning conflicting with clang-format
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc?rev=348673&r1=348672&r2=348673&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Fri Dec 7 17:00:37 2018
@@ -7890,7 +7890,8 @@ INTERCEPTOR(int, cap_ioctls_get, int fd,
static void InitializeCommonInterceptors() {
static u64 metadata_mem[sizeof(MetadataHashMap) / sizeof(u64) + 1];
- interceptor_metadata_map = new((void *)&metadata_mem) MetadataHashMap();
+ interceptor_metadata_map =
+ new ((void *)&metadata_mem) MetadataHashMap(); // NOLINT
INIT_MMAP;
INIT_MMAP64;
More information about the llvm-commits
mailing list