rocksdb/table
Yedidya Feldblum f1a056e005 CodeMod: Prefer ADD_FAILURE() over EXPECT_TRUE(false), et cetera
Summary:
CodeMod: Prefer `ADD_FAILURE()` over `EXPECT_TRUE(false)`, et cetera.

The tautologically-conditioned and tautologically-contradicted boolean expectations/assertions have better alternatives: unconditional passes and failures.

Reviewed By: Orvid

Differential Revision:
D5432398

Tags: codemod, codemod-opensource

fbshipit-source-id: d16b447e8696a6feaa94b41199f5052226ef6914
2017-07-16 21:26:02 -07:00
..
adaptive_table_factory.cc solve the problem of table_factory_to_write_=nullptr (#1342) 2016-09-20 10:11:51 -07:00
adaptive_table_factory.h Only cache level 0 indexes and filter when opening table reader 2016-07-20 11:23:31 -07:00
block.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_filter_block.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_filter_block.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_filter_block_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_table_builder.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_table_builder.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_table_factory.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_table_factory.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_table_reader.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block_based_table_reader.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_builder.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block_builder.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_prefix_index.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block_prefix_index.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
bloom_block.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
bloom_block.h Change RocksDB License 2017-07-15 16:11:23 -07:00
cleanable_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
cuckoo_table_builder.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
cuckoo_table_builder.h Change RocksDB License 2017-07-15 16:11:23 -07:00
cuckoo_table_builder_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
cuckoo_table_factory.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
cuckoo_table_factory.h Change RocksDB License 2017-07-15 16:11:23 -07:00
cuckoo_table_reader.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
cuckoo_table_reader.h Change RocksDB License 2017-07-15 16:11:23 -07:00
cuckoo_table_reader_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
filter_block.h Change RocksDB License 2017-07-15 16:11:23 -07:00
flush_block_policy.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
format.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
format.h Change RocksDB License 2017-07-15 16:11:23 -07:00
full_filter_bits_builder.h Change RocksDB License 2017-07-15 16:11:23 -07:00
full_filter_block.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
full_filter_block.h Change RocksDB License 2017-07-15 16:11:23 -07:00
full_filter_block_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
get_context.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
get_context.h Change RocksDB License 2017-07-15 16:11:23 -07:00
index_builder.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
index_builder.h Change RocksDB License 2017-07-15 16:11:23 -07:00
internal_iterator.h Change RocksDB License 2017-07-15 16:11:23 -07:00
iter_heap.h Change RocksDB License 2017-07-15 16:11:23 -07:00
iterator.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
iterator_wrapper.h Change RocksDB License 2017-07-15 16:11:23 -07:00
merger_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
merging_iterator.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
merging_iterator.h Change RocksDB License 2017-07-15 16:11:23 -07:00
meta_blocks.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
meta_blocks.h Change RocksDB License 2017-07-15 16:11:23 -07:00
mock_table.cc CodeMod: Prefer ADD_FAILURE() over EXPECT_TRUE(false), et cetera 2017-07-16 21:26:02 -07:00
mock_table.h Change RocksDB License 2017-07-15 16:11:23 -07:00
partitioned_filter_block.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
partitioned_filter_block.h Change RocksDB License 2017-07-15 16:11:23 -07:00
partitioned_filter_block_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
persistent_cache_helper.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
persistent_cache_helper.h Change RocksDB License 2017-07-15 16:11:23 -07:00
persistent_cache_options.h Change RocksDB License 2017-07-15 16:11:23 -07:00
plain_table_builder.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
plain_table_builder.h Change RocksDB License 2017-07-15 16:11:23 -07:00
plain_table_factory.cc store prefix_extractor_name in table 2016-08-26 11:46:32 -07:00
plain_table_factory.h Only cache level 0 indexes and filter when opening table reader 2016-07-20 11:23:31 -07:00
plain_table_index.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
plain_table_index.h Change RocksDB License 2017-07-15 16:11:23 -07:00
plain_table_key_coding.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
plain_table_key_coding.h Change RocksDB License 2017-07-15 16:11:23 -07:00
plain_table_reader.cc Fix interaction between CompactionFilter::Decision::kRemoveAndSkipUnt… 2017-06-02 15:11:38 -07:00
plain_table_reader.h do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
scoped_arena_iterator.h Change RocksDB License 2017-07-15 16:11:23 -07:00
sst_file_writer.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
sst_file_writer_collectors.h Change RocksDB License 2017-07-15 16:11:23 -07:00
table_builder.h Change RocksDB License 2017-07-15 16:11:23 -07:00
table_properties.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
table_properties_internal.h Change RocksDB License 2017-07-15 16:11:23 -07:00
table_reader.h Change RocksDB License 2017-07-15 16:11:23 -07:00
table_reader_bench.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
table_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
two_level_iterator.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
two_level_iterator.h Change RocksDB License 2017-07-15 16:11:23 -07:00