Jan Svoboda
aa33688cad
[llvm][support] Replace std::vector<bool>
use in YAMLTraits
...
LLVM Programmer’s Manual strongly discourages the use of `std::vector<bool>` and suggests `llvm::BitVector` as a possible replacement.
This patch replaces the use of `std::vector` with `llvm::BitVector` in LLVM's YAML traits and replaces the call to `Vec.insert(Vec.begin(), N, false)` on empty `Vec` with `Vec.resize(N)`, which has the same semantics but avoids using `insert` and iterators, which `llvm::BitVector` doesn't possess.
Reviewed By: dexonsmith, dblaikie
Differential Revision: https://reviews.llvm.org/D118111
2022-01-26 11:20:18 +01:00
..
2022-01-11 17:57:23 -08:00
2022-01-11 17:52:41 -08:00
2022-01-17 14:33:03 +00:00
2021-10-04 08:57:44 +01:00
2021-10-09 10:12:10 +08:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2021-12-01 11:05:29 +00:00
2022-01-03 12:40:43 +00:00
2022-01-21 13:54:49 +01:00
2021-05-05 09:43:14 -04:00
2022-01-26 11:16:15 +01:00
2021-09-16 19:14:52 -04:00
2021-09-16 19:14:52 -04:00
2021-09-16 19:14:52 -04:00
2022-01-21 13:54:49 +01:00
2021-06-05 21:14:43 +01:00
2021-04-26 13:31:37 -07:00
2022-01-20 19:27:15 +00:00
2021-12-07 01:19:21 +00:00
2022-01-07 00:39:14 -08:00
2022-01-26 11:08:42 +01:00
2021-12-08 16:22:37 -08:00
2021-12-10 08:53:14 -08:00
2022-01-26 11:16:15 +01:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2021-07-16 07:38:16 +00:00
2021-07-16 07:38:16 +00:00
2021-10-23 08:45:29 -07:00
2021-12-10 08:53:14 -08:00
2022-01-07 00:39:14 -08:00
2021-07-01 08:27:31 +00:00
2022-01-21 13:54:49 +01:00
2021-11-12 21:19:09 -08:00
2021-10-16 16:14:49 +03:00
2021-08-11 02:48:53 +00:00
2021-04-06 07:23:31 -04:00
2022-01-21 13:54:49 +01:00
2022-01-26 11:16:15 +01:00
2022-01-21 14:59:30 +01:00
2022-01-13 12:58:54 +00:00
2022-01-21 14:28:47 +01:00
2022-01-21 13:54:49 +01:00
2021-12-20 09:10:50 -05:00
2021-09-23 13:09:32 -04:00
2022-01-13 09:16:25 -08:00
2022-01-11 11:51:04 +01:00
2022-01-25 19:40:00 +01:00
2022-01-26 11:16:15 +01:00
2022-01-21 13:54:49 +01:00
2021-09-28 00:56:11 +03:00
2022-01-21 13:54:49 +01:00
2021-07-21 15:47:18 -04:00
2022-01-23 10:35:44 -08:00
2022-01-11 18:03:58 -08:00
2022-01-21 14:18:29 +01:00
2021-07-28 09:31:14 -07:00
2021-07-16 07:38:16 +00:00
2022-01-21 15:17:39 +01:00
2021-12-02 09:27:47 -08:00
2021-07-16 07:38:16 +00:00
2022-01-24 20:38:46 +08:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2021-12-10 08:53:14 -08:00
2022-01-21 13:54:49 +01:00
2021-12-10 08:53:14 -08:00
2021-12-02 09:27:47 -08:00
2022-01-21 13:54:49 +01:00
2022-01-24 14:13:21 +01:00
2022-01-21 13:54:49 +01:00
2022-01-26 11:16:15 +01:00
2021-07-09 10:39:52 +01:00
2022-01-26 11:16:15 +01:00
2022-01-24 14:13:21 +01:00
2021-11-06 19:31:18 -07:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2021-07-20 13:29:57 -07:00
2022-01-21 13:54:49 +01:00
2021-07-26 00:21:09 +00:00
2022-01-21 13:54:49 +01:00
2021-07-16 07:38:16 +00:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2022-01-26 11:20:18 +01:00