[compiler-rt] e2d0eeb - Fix a -Wgnu-designator warning, NFC.
Haojian Wu via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 14 08:48:01 PST 2023
Author: Haojian Wu
Date: 2023-01-14T17:46:39+01:00
New Revision: e2d0eeba43268875ab198132c36d7486bcb9ecd6
URL: https://github.com/llvm/llvm-project/commit/e2d0eeba43268875ab198132c36d7486bcb9ecd6
DIFF: https://github.com/llvm/llvm-project/commit/e2d0eeba43268875ab198132c36d7486bcb9ecd6.diff
LOG: Fix a -Wgnu-designator warning, NFC.
Added:
Modified:
compiler-rt/lib/asan/asan_thread.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/asan/asan_thread.cpp b/compiler-rt/lib/asan/asan_thread.cpp
index ba8cfe7e5e6c8..003cd2b9eee8d 100644
--- a/compiler-rt/lib/asan/asan_thread.cpp
+++ b/compiler-rt/lib/asan/asan_thread.cpp
@@ -519,7 +519,7 @@ void GetThreadExtraStackRangesLocked(tid_t os_id,
fake_stack->ForEachFakeFrame(
[](uptr begin, uptr end, void *arg) {
reinterpret_cast<InternalMmapVector<Range> *>(arg)->push_back(
- {begin : begin, end : end});
+ {begin, end});
},
ranges);
}
More information about the llvm-commits
mailing list