[all-commits] [llvm/llvm-project] c81a32: [compiler-rt] Fix -Wcast-qual after D147005 (NFC)

Jie Fu via All-commits all-commits at lists.llvm.org
Mon Apr 3 16:41:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c81a322476a1b1c57ca72832e10c43663557e097
      https://github.com/llvm/llvm-project/commit/c81a322476a1b1c57ca72832e10c43663557e097
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M compiler-rt/lib/dfsan/dfsan_allocator.cpp
    M compiler-rt/lib/lsan/lsan_allocator.cpp
    M compiler-rt/lib/msan/msan_allocator.cpp
    M compiler-rt/lib/tsan/rtl/tsan_mman.cpp

  Log Message:
  -----------
  [compiler-rt] Fix -Wcast-qual after D147005 (NFC)

/home/jiefu/llvm-project/compiler-rt/lib/lsan/lsan_allocator.cpp:161:18: error: cast from 'const void *' to 'void *' drops const qualifier [-Werror,-Wcast-qual]
  return (void *)beg;
                 ^
1 error generated.




More information about the All-commits mailing list