aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2022-01-12 16:09:58 +0100
committerJan Svoboda <jan_svoboda@apple.com>2022-01-21 14:50:53 +0100
commit622354a522073b0a048a88c957b161fb376a40eb (patch)
tree89b2ab8fb02e01d8afdfaca62615160c350e1e56 /llvm/lib/Support/GraphWriter.cpp
parent2a9e33db4f0a558572309b29a7d247185b4c21d1 (diff)
downloadllvm-622354a522073b0a048a88c957b161fb376a40eb.zip
llvm-622354a522073b0a048a88c957b161fb376a40eb.tar.gz
llvm-622354a522073b0a048a88c957b161fb376a40eb.tar.bz2
[llvm][ADT] Implement `BitVector::{pop_,}back`
LLVM Programmer’s Manual strongly discourages the use of `std::vector<bool>` and suggests `llvm::BitVector` as a possible replacement. Currently, some users of `std::vector<bool>` cannot switch to `llvm::BitVector` because it doesn't implement the `pop_back()` and `back()` functions. To enable easy transition of `std::vector<bool>` users, this patch implements `llvm::BitVector::pop_back()` and `llvm::BitVector::back()`. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D117115
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions