aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Architecture.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2022-01-26 11:18:00 +0100
committerJan Svoboda <jan_svoboda@apple.com>2022-01-26 11:20:18 +0100
commit600c6714ac77915b7b656b860cf71494a7c9ec7f (patch)
tree781b50c0f1d248018258a7a8f1be346e3ee7e75d /llvm/lib/TextAPI/Architecture.cpp
parentaa33688cada423d987ce03ecbc13f2c554223d77 (diff)
downloadllvm-600c6714ac77915b7b656b860cf71494a7c9ec7f.zip
llvm-600c6714ac77915b7b656b860cf71494a7c9ec7f.tar.gz
llvm-600c6714ac77915b7b656b860cf71494a7c9ec7f.tar.bz2
[clang][syntax] Replace `std::vector<bool>` use
LLVM Programmer’s Manual strongly discourages the use of `std::vector<bool>` and suggests `llvm::BitVector` as a possible replacement. This patch replaces `std::vector<bool>` with `llvm::BitVector` in the Syntax library and replaces range-based for loop with regular for loop. This is necessary due to `llvm::BitVector` not having `begin()` and `end()` (D117116). Reviewed By: dexonsmith, dblaikie Differential Revision: https://reviews.llvm.org/D118109
Diffstat (limited to 'llvm/lib/TextAPI/Architecture.cpp')
0 files changed, 0 insertions, 0 deletions