ClickHouse/base/base
Robert Schulze 1a0b5f33b3
More consistent use of platform macros
cmake/target.cmake defines macros for the supported platforms, this
commit changes predefined system macros to our own macros.

__linux__ --> OS_LINUX
__APPLE__ --> OS_DARWIN
__FreeBSD__ --> OS_FREEBSD
2022-06-10 10:22:31 +02:00
..
tests
argsToConfig.cpp
argsToConfig.h
arithmeticOverflow.h
arraySize.h
bit_cast.h
BorrowedObjectPool.h BorrowedObjectPool condition variable notify fix 2021-10-04 13:25:44 +03:00
CachedFn.h Fix strange code in TypeList 2021-11-25 23:55:02 +03:00
chrono_io.h
CMakeLists.txt Fix build with -DENABLE_LIBRARIES=0 / -DENABLE_REPLXX=0 2022-06-01 10:02:28 +02:00
constexpr_helpers.h
coverage.cpp
coverage.h
DayNum.h
Decimal.h
DecomposedFloat.h
defines.h fix race on TID allocation 2022-05-20 12:41:44 +02:00
demangle.cpp Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers 2022-05-09 08:23:33 +02:00
demangle.h
EnumReflection.h
errnoToString.cpp More consistent use of platform macros 2022-06-10 10:22:31 +02:00
errnoToString.h
extended_types.h
find_symbols.h
FnTraits.h Fix strange code in TypeList 2021-11-25 23:55:02 +03:00
FunctorToStaticMethodAdaptor.h
getAvailableMemoryAmount.cpp More consistent use of platform macros 2022-06-10 10:22:31 +02:00
getAvailableMemoryAmount.h support determine available memory for FreeBSD 2022-02-15 13:59:00 +03:00
getFQDNOrHostName.cpp
getFQDNOrHostName.h
getMemoryAmount.cpp revert cgroup memory limit to uint64_t 2021-11-08 18:56:31 +01:00
getMemoryAmount.h
getPageSize.cpp Corrections 2021-12-23 01:38:28 +03:00
getPageSize.h
getThreadId.cpp
getThreadId.h
insertAtEnd.h clang-tidy check performance-move-const-arg fix 2022-03-02 18:15:27 +00:00
iostream_debug_helpers.h Minor improvements to DUMP macro 2021-11-26 12:20:08 +02:00
itoa.h
JSON.cpp A few clangtidy updates 2022-05-17 20:56:57 +02:00
JSON.h
LineReader.cpp Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers 2022-05-09 08:23:33 +02:00
LineReader.h Remove extra copying for completion words 2022-01-24 23:04:48 +03:00
map.h
MoveOrCopyIfThrow.h
mremap.cpp Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers 2022-05-09 08:23:33 +02:00
mremap.h Do not pretend that windows is supported (remove code undef #ifdef _MSC_VER) 2021-10-03 14:42:53 +03:00
phdr_cache.cpp More consistent use of platform macros 2022-06-10 10:22:31 +02:00
phdr_cache.h Remove Arcadia 2022-04-16 00:28:56 +02:00
preciseExp10.cpp Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers 2022-05-09 08:23:33 +02:00
preciseExp10.h
range.h
removeDuplicates.h
ReplxxLineReader.cpp Fix clang-tidy-14 2022-05-31 04:19:08 +02:00
ReplxxLineReader.h Better code 2022-01-30 19:48:35 +08:00
safeExit.cpp Introduce safeExit() helper (_exit() compatible with TSan) 2022-03-02 22:17:17 +03:00
safeExit.h Introduce safeExit() helper (_exit() compatible with TSan) 2022-03-02 22:17:17 +03:00
scope_guard.h Replace uses of SFINAE by C++20 concepts 2022-05-02 09:23:53 +02:00
setTerminalEcho.cpp
setTerminalEcho.h
shift10.cpp
shift10.h
sleep.cpp Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers 2022-05-09 08:23:33 +02:00
sleep.h
sort.h Enable randomization of sort only in debug 2022-02-13 15:10:44 +00:00
StringRef.cpp
StringRef.h Replace uses of SFINAE by C++20 concepts 2022-05-02 09:23:53 +02:00
strong_typedef.h
terminalColors.cpp
terminalColors.h
throwError.cpp Speed up build a little 2022-04-16 03:58:50 +02:00
throwError.h Speed up build a little 2022-04-16 03:58:50 +02:00
time.h
TypeList.h Fix strange code in TypeList 2021-11-25 23:55:02 +03:00
TypeLists.h Fix strange code in TypeList 2021-11-25 23:55:02 +03:00
TypeName.h Non-recursive implementation for TL and its functions 2021-10-03 18:02:04 +02:00
TypePair.h Fix strange code in TypeList 2021-11-25 23:55:02 +03:00
types.h
unaligned.h
unit.h Don't leak suppression for -Wreserved-identifier out of header 2022-05-15 09:48:54 +02:00
UUID.h Build improvement 2022-01-17 22:36:27 +08:00
wide_integer_impl.h Fix clang-tidy-14 2022-05-29 02:28:46 +02:00
wide_integer_to_string.h
wide_integer.h