[all-commits] [llvm/llvm-project] 6fd1c1: [libc] fix HashTable warnings and build problems (...

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Mon Dec 4 14:07:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fd1c1b8ef407cb16f7c990a33908d289313559f
      https://github.com/llvm/llvm-project/commit/6fd1c1b8ef407cb16f7c990a33908d289313559f
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M libc/src/__support/HashTable/bitmask.h
    M libc/src/__support/HashTable/generic/bitmask_impl.inc
    M libc/test/src/__support/HashTable/CMakeLists.txt

  Log Message:
  -----------
  [libc] fix HashTable warnings and build problems (#74371)

According to https://lab.llvm.org/buildbot/#/builders/163/builds/48002,
the generic build on HashTable fails with two major issues with
`werror`:
1. warnings on `error: suggest braces around initialization of
subobject`.
2. `__support/HashTable` tests are built regardless of its entrypoints`

This PR attempts to fix such issues.




More information about the All-commits mailing list