[all-commits] [llvm/llvm-project] c6fb63: [clangd][clang-tidy] Remove uses of `std::vector<b...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Tue Jan 18 08:59:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6fb636667b879bfc8329d2c9ca5873871b46a7b
      https://github.com/llvm/llvm-project/commit/c6fb636667b879bfc8329d2c9ca5873871b46a7b
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
    M clang-tools-extra/clangd/Selection.cpp

  Log Message:
  -----------
  [clangd][clang-tidy] Remove uses of `std::vector<bool>`

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

This patch does just that for clangd and clang-tidy.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D117119




More information about the All-commits mailing list