Add more clang tidy rules

Summary:
changelog: [internal]

Add more clang tidy rules to prevent common class of bugs.

Reviewed By: javache

Differential Revision: D39245194

fbshipit-source-id: 5521c5c4653d7005b96ebba494e810ba5075afbc
This commit is contained in:
Samuel Susla
2022-09-06 07:01:17 -07:00
committed by Facebook GitHub Bot
parent 010cdcdc19
commit ce50c43986
73 changed files with 411 additions and 330 deletions
@@ -164,7 +164,7 @@ TEST(MapBufferTest, testMapListEntries) {
mapBufferList.push_back(builder2.build());
auto builder3 = MapBufferBuilder();
builder3.putMapBufferList(5, std::move(mapBufferList));
builder3.putMapBufferList(5, mapBufferList);
auto map = builder3.build();
std::vector<MapBuffer> mapBufferList2 = map.getMapBufferList(5);