Skip to content

Commit

Permalink
Enable clang-tidy check readability-duplicate-include (#71826)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettDong authored Feb 19, 2024
1 parent d9db623 commit fa90782
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ readability-*,\
-readability-avoid-unconditional-preprocessor-if,\
-readability-container-data-pointer,\
-readability-convert-member-functions-to-static,\
-readability-duplicate-include,\
-readability-else-after-return,\
-readability-function-cognitive-complexity,\
-readability-identifier-length,\
Expand Down
1 change: 0 additions & 1 deletion src/bodypart.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "type_id.h"
#include "subbodypart.h"
#include "localized_comparator.h"
#include "type_id.h"
#include "weather.h"

class JsonObject;
Expand Down
1 change: 0 additions & 1 deletion tests/catacharset_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <clocale>
#include <clocale>
#include <iosfwd>
#include <stdexcept>
#include <string>
Expand Down
1 change: 0 additions & 1 deletion tests/monster_attack_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "weather.h"
#include "weather_type.h"
#include "game.h"
#include "type_id.h"
#include "units.h"

static const efftype_id effect_bleed( "bleed" );
Expand Down
1 change: 0 additions & 1 deletion tests/new_character_test.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <functional>
#include <cstddef>
#include <functional>
#include <list>
Expand Down
1 change: 0 additions & 1 deletion tests/reading_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include "avatar.h"
#include "activity_actor_definitions.h"
#include "activity_actor_definitions.h"
#include "calendar.h"
#include "cata_catch.h"
#include "character.h"
Expand Down

0 comments on commit fa90782

Please sign in to comment.