1
0
Fork 0
cuberite-2a/src/Mobs
peterbell10 13144a08e4
Enable some more clang-tidy linter checks (#4738)
* Avoid inefficient AString -> c_str() -> AString round trip

* Avoid redundant string init expressions

* Avoid unnecessary return, continue, etc.

* Add .clang-format to help with clang-tidy fix-its

* Avoid unnecessary passing by value

* Avoid unnecessary local copying

* Avoid copying in range-for loops

* Avoid over-complicated boolean expressions

* Some violations missed by my local clang-tidy

* Allow unnecessary continue statements

* Add brackets

* Another expression missed locally

* Move BindingsProcessor call into clang-tidy.sh and add space

* Fix pushd not found error

* Different grouping of CheckBlockInteractionRate
2020-05-14 22:15:35 +00:00
..
AggressiveMonster.cpp Using Super. 2020-04-16 20:07:48 +00:00
AggressiveMonster.h Using Super. 2020-04-16 20:07:48 +00:00
Bat.cpp Using Super. 2020-04-16 20:07:48 +00:00
Bat.h Using Super. 2020-04-16 20:07:48 +00:00
Blaze.cpp Using Super. 2020-04-16 20:07:48 +00:00
Blaze.h Using Super. 2020-04-16 20:07:48 +00:00
CMakeLists.txt Update submodules (#4727) 2020-05-09 15:51:15 +01:00
CaveSpider.cpp Using Super. 2020-04-16 20:07:48 +00:00
CaveSpider.h Using Super. 2020-04-16 20:07:48 +00:00
Chicken.cpp Using Super. 2020-04-16 20:07:48 +00:00
Chicken.h Using Super. 2020-04-16 20:07:48 +00:00
Cow.cpp Using Super. 2020-04-16 20:07:48 +00:00
Cow.h Using Super. 2020-04-16 20:07:48 +00:00
Creeper.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Creeper.h Using Super. 2020-04-16 20:07:48 +00:00
EnderDragon.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
EnderDragon.h Using Super. 2020-04-16 20:07:48 +00:00
Enderman.cpp Using Super. 2020-04-16 20:07:48 +00:00
Enderman.h Using Super. 2020-04-16 20:07:48 +00:00
Ghast.cpp Using Super. 2020-04-16 20:07:48 +00:00
Ghast.h Using Super. 2020-04-16 20:07:48 +00:00
Giant.cpp Using Super. 2020-04-16 20:07:48 +00:00
Giant.h Using Super. 2020-04-16 20:07:48 +00:00
Guardian.cpp Using Super. 2020-04-16 20:07:48 +00:00
Guardian.h Using Super. 2020-04-16 20:07:48 +00:00
Horse.cpp Using Super. 2020-04-16 20:07:48 +00:00
Horse.h Using Super. 2020-04-16 20:07:48 +00:00
IncludeAllMonsters.h Add Zombie Villagers 2020-04-10 00:50:45 +01:00
IronGolem.cpp Using Super. 2020-04-16 20:07:48 +00:00
IronGolem.h Using Super. 2020-04-16 20:07:48 +00:00
MagmaCube.cpp Using Super. 2020-04-16 20:07:48 +00:00
MagmaCube.h Using Super. 2020-04-16 20:07:48 +00:00
Monster.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Monster.h Using Super. 2020-04-16 20:07:48 +00:00
MonsterTypes.h Oops, remember to save your files! 2020-04-10 00:53:04 +01:00
Mooshroom.cpp Using Super. 2020-04-16 20:07:48 +00:00
Mooshroom.h Using Super. 2020-04-16 20:07:48 +00:00
Ocelot.cpp Using Super. 2020-04-16 20:07:48 +00:00
Ocelot.h Using Super. 2020-04-16 20:07:48 +00:00
PassiveAggressiveMonster.cpp Using Super. 2020-04-16 20:07:48 +00:00
PassiveAggressiveMonster.h Using Super. 2020-04-16 20:07:48 +00:00
PassiveMonster.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
PassiveMonster.h Using Super. 2020-04-16 20:07:48 +00:00
Path.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Path.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
PathFinder.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
PathFinder.h Correct typo in documentation. 2016-02-05 16:45:55 +00:00
Pig.cpp Using Super. 2020-04-16 20:07:48 +00:00
Pig.h Using Super. 2020-04-16 20:07:48 +00:00
Rabbit.cpp Using Super. 2020-04-16 20:07:48 +00:00
Rabbit.h Using Super. 2020-04-16 20:07:48 +00:00
Sheep.cpp Using Super. 2020-04-16 20:07:48 +00:00
Sheep.h Using Super. 2020-04-16 20:07:48 +00:00
Silverfish.h Using Super. 2020-04-16 20:07:48 +00:00
Skeleton.cpp Using Super. 2020-04-16 20:07:48 +00:00
Skeleton.h Using Super. 2020-04-16 20:07:48 +00:00
Slime.cpp Using Super. 2020-04-16 20:07:48 +00:00
Slime.h Using Super. 2020-04-16 20:07:48 +00:00
SnowGolem.cpp Using Super. 2020-04-16 20:07:48 +00:00
SnowGolem.h Using Super. 2020-04-16 20:07:48 +00:00
Spider.cpp Using Super. 2020-04-16 20:07:48 +00:00
Spider.h Using Super. 2020-04-16 20:07:48 +00:00
Squid.cpp Using Super. 2020-04-16 20:07:48 +00:00
Squid.h Using Super. 2020-04-16 20:07:48 +00:00
Villager.cpp Using Super. 2020-04-16 20:07:48 +00:00
Villager.h Using Super. 2020-04-16 20:07:48 +00:00
Witch.cpp Using Super. 2020-04-16 20:07:48 +00:00
Witch.h Using Super. 2020-04-16 20:07:48 +00:00
Wither.cpp Using Super. 2020-04-16 20:07:48 +00:00
Wither.h Using Super. 2020-04-16 20:07:48 +00:00
WitherSkeleton.cpp Using Super. 2020-04-16 20:07:48 +00:00
WitherSkeleton.h Using Super. 2020-04-16 20:07:48 +00:00
Wolf.cpp Using Super. 2020-04-16 20:07:48 +00:00
Wolf.h Using Super. 2020-04-16 20:07:48 +00:00
Zombie.cpp Using Super. 2020-04-16 20:07:48 +00:00
Zombie.h Using Super. 2020-04-16 20:07:48 +00:00
ZombiePigman.cpp Using Super. 2020-04-16 20:07:48 +00:00
ZombiePigman.h Using Super. 2020-04-16 20:07:48 +00:00
ZombieVillager.cpp Using Super. 2020-04-16 20:07:48 +00:00
ZombieVillager.h Using Super. 2020-04-16 20:07:48 +00:00