[all-commits] [llvm/llvm-project] 18bc40: [BOLT][NFC] Remove uses of `std::vector<bool>`

Amir Aupov via All-commits all-commits at lists.llvm.org
Thu Jan 13 22:47:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18bc405a09901494778dfa5b903191246acfa1c0
      https://github.com/llvm/llvm-project/commit/18bc405a09901494778dfa5b903191246acfa1c0
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M bolt/include/bolt/Passes/ReorderUtils.h
    M bolt/include/bolt/Passes/ShrinkWrapping.h
    M bolt/lib/Passes/ReorderAlgorithm.cpp
    M bolt/lib/Passes/ShrinkWrapping.cpp

  Log Message:
  -----------
  [BOLT][NFC] Remove uses of `std::vector<bool>`

Summary:
LLVM Programmer’s Manual strongly discourages the use of `std::vector<bool>`
and suggests `llvm::BitVector` as a possible replacement.




More information about the All-commits mailing list