1
0
Fork 0
cuberite-2a/src/Generating
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
..
BioGen.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
BioGen.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
CMakeLists.txt Cleanup some workarounds and warnings (#4735) 2020-05-10 16:16:49 +00:00
Caves.cpp Using Super. 2020-04-16 20:07:48 +00:00
Caves.h Using Super. 2020-04-16 20:07:48 +00:00
ChunkDesc.cpp Manage block entity lifetime with unique_ptr (#4080) 2020-04-03 23:23:38 +02:00
ChunkDesc.h Generator: Added repeatability test. 2019-09-07 13:38:07 +02:00
ChunkGenerator.cpp ChunkGenerator: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
ChunkGenerator.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
CompoGen.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
CompoGen.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
CompoGenBiomal.cpp Cleanup some workarounds and warnings (#4735) 2020-05-10 16:16:49 +00:00
CompoGenBiomal.h Merge remote-tracking branch 'origin-master' into c++11 2014-11-25 23:03:33 +00:00
ComposableGenerator.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
ComposableGenerator.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
CompositedHeiGen.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
DistortedHeightmap.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
DistortedHeightmap.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
DungeonRoomsFinisher.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
DungeonRoomsFinisher.h Using Super. 2020-04-16 20:07:48 +00:00
EndGen.cpp ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
EndGen.h ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
FinishGen.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
FinishGen.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
GridStructGen.cpp Using Super. 2020-04-16 20:07:48 +00:00
GridStructGen.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
HeiGen.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
HeiGen.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
IntGen.h Using Super. 2020-04-16 20:07:48 +00:00
MineShafts.cpp Using Super. 2020-04-16 20:07:48 +00:00
MineShafts.h Using Super. 2020-04-16 20:07:48 +00:00
Noise3DGenerator.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Noise3DGenerator.h Using Super. 2020-04-16 20:07:48 +00:00
PieceGeneratorBFSTree.cpp Add a formatting function for Vector3 (#4282) 2018-09-24 21:33:39 +01:00
PieceGeneratorBFSTree.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
PiecePool.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
PiecePool.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
PieceStructuresGen.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
PieceStructuresGen.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Prefab.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Prefab.h Gen: Moved PiecePool into a separate file. 2017-05-04 09:49:30 +02:00
PrefabPiecePool.cpp Fix building with clang 8.0 (#4346) 2019-08-11 10:39:43 +01:00
PrefabPiecePool.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
PrefabStructure.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
PrefabStructure.h Using Super. 2020-04-16 20:07:48 +00:00
ProtIntGen.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Ravines.cpp Using Super. 2020-04-16 20:07:48 +00:00
Ravines.h Using Super. 2020-04-16 20:07:48 +00:00
RoughRavines.cpp Using Super. 2020-04-16 20:07:48 +00:00
RoughRavines.h Using Super. 2020-04-16 20:07:48 +00:00
ShapeGen.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
StructGen.cpp Add tree generation for ExtemeHills and other biomes (#4713) 2020-05-06 17:31:52 +02:00
StructGen.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Trees.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Trees.h Improved large jungle and acacia tree generation (#4413) 2019-12-22 23:38:11 +01:00
TwoHeights.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
TwoHeights.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
VerticalLimit.cpp Fix one definition rule violations 2020-05-04 13:29:56 +01:00
VerticalLimit.h Gen: Moved PiecePool into a separate file. 2017-05-04 09:49:30 +02:00
VerticalStrategy.cpp Fix one definition rule violations 2020-05-04 13:29:56 +01:00
VerticalStrategy.h Gen: Moved PiecePool into a separate file. 2017-05-04 09:49:30 +02:00
VillageGen.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
VillageGen.h Using Super. 2020-04-16 20:07:48 +00:00