1
0
Fork 0
cuberite-2a/src/OSSupport
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
..
AtomicUniquePtr.h Cleanup unneeded globals (#4736) 2020-05-10 16:16:38 +00:00
CMakeLists.txt Cleanup some workarounds and warnings (#4735) 2020-05-10 16:16:49 +00:00
CriticalSection.cpp DeadlockDetect now lists some tracked CS's stats. 2017-01-18 09:03:05 +01:00
CriticalSection.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
Errors.cpp Fix android builds (#4432) 2020-01-02 03:54:40 +02:00
Errors.h Switched cEvent to GetOSErrorString 2014-01-25 06:02:20 -08:00
Event.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Event.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
File.cpp Remove old Android leftovers (#4722) 2020-05-07 22:14:00 +03:00
File.h Update fmt to 6.2.0 (#4718) 2020-05-05 22:52:14 +01:00
GZipFile.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
GZipFile.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
GetAddressInfoError.h Replace evdns with getaddrinfo and getnameinfo (#3766) 2017-06-15 11:03:49 +02:00
HostnameLookup.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
HostnameLookup.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
IPLookup.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
IPLookup.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
IsThread.cpp cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) 2018-07-22 22:35:58 +01:00
IsThread.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
Network.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
NetworkInterfaceEnum.cpp Use CMake's Android generators to crosscompile 2016-12-12 14:32:32 +00:00
NetworkLookup.cpp Replace evdns with getaddrinfo and getnameinfo (#3766) 2017-06-15 11:03:49 +02:00
NetworkLookup.h NetworkLookup: Added "virtual" keyword to overridden dtor. (#4100) 2017-12-21 13:31:20 +00:00
NetworkSingleton.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
NetworkSingleton.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Queue.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ServerHandleImpl.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
ServerHandleImpl.h Using Super. 2020-04-16 20:07:48 +00:00
StackTrace.cpp Android build cleanup (#4734) 2020-05-10 16:18:28 +00:00
StackTrace.h Added a basic stacktracing for assert and signal failures. 2014-11-29 23:06:10 +01:00
TCPLinkImpl.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
TCPLinkImpl.h Using Super. 2020-04-16 20:07:48 +00:00
UDPEndpointImpl.cpp Android build cleanup (#4734) 2020-05-10 16:18:28 +00:00
UDPEndpointImpl.h Using Super. 2020-04-16 20:07:48 +00:00
WinStackWalker.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
WinStackWalker.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00