mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix includes (#4673)
This commit is contained in:
parent
c39c32973c
commit
cf8001b6a9
@ -6,6 +6,7 @@
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <roaring.hh>
|
||||
#include <Common/HashTable/SmallTable.h>
|
||||
#include <Common/PODArray.h>
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
#include "Defines.h"
|
||||
#include "Types.h"
|
||||
#include <Common/NaNUtils.h>
|
||||
#include <Core/Types.h>
|
||||
#include <Common/UInt128.h>
|
||||
|
||||
/** Preceptually-correct number comparisons.
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <DataTypes/DataTypesDecimal.h>
|
||||
#include <Columns/ColumnVector.h>
|
||||
#include <Interpreters/castColumn.h>
|
||||
|
||||
#include "IFunction.h"
|
||||
#include <Common/intExp.h>
|
||||
#include <cmath>
|
||||
#include <type_traits>
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <Core/Defines.h>
|
||||
#include <IO/WriteBuffer.h>
|
||||
#include <common/itoa.h>
|
||||
#include <common/likely.h>
|
||||
|
||||
/// 40 digits or 39 digits and a sign
|
||||
#define WRITE_HELPERS_MAX_INT_WIDTH 40U
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#include <memory>
|
||||
#include <Core/Types.h>
|
||||
|
||||
namespace DB
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Interpreters/DatabaseAndTableWithAlias.h>
|
||||
|
||||
#include "DatabaseAndTableWithAlias.h"
|
||||
#include "ExpressionAnalyzer.h"
|
||||
#include <map>
|
||||
|
||||
namespace DB
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
template <auto Val, decltype(Val)... List>
|
||||
inline constexpr bool static_in_v = std::disjunction_v<std::bool_constant<Val == List>...>;
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <type_traits>
|
||||
#include "likely.h"
|
||||
|
||||
using int128_t = __int128;
|
||||
using uint128_t = unsigned __int128;
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#define a_cas a_cas
|
||||
static inline int a_cas(volatile int *p, int t, int s)
|
||||
{
|
||||
|
@ -18,6 +18,7 @@ inc="-I. \
|
||||
-I./contrib/libmetrohash/src \
|
||||
-I./contrib/double-conversion \
|
||||
-I./contrib/cityhash102/include \
|
||||
-I./contrib/croaring \
|
||||
-I./contrib/murmurhash/include \
|
||||
-I./contrib/zookeeper/src/c/include \
|
||||
-I./contrib/zookeeper/src/c/generated \
|
||||
@ -54,6 +55,9 @@ inc="-I. \
|
||||
-I./libs/consistent-hashing-sumbur \
|
||||
-I./contrib/libhdfs3/include \
|
||||
-I./contrib/base64/include \
|
||||
-I./contrib/protobuf/src \
|
||||
-I./contrib/cppkafka/include \
|
||||
-I./contrib/librdkafka-cmake/include \
|
||||
-I./contrib/lz4/lib \
|
||||
-I./dbms/src \
|
||||
-I${BUILD_DIR}/dbms/src"
|
||||
@ -64,5 +68,5 @@ if [ -z $1 ]; then
|
||||
else
|
||||
echo -n "$1 "
|
||||
echo -n `grep "#include" $1| wc -l` " "
|
||||
echo "#include <$1> \n int main() {return 0;}" | time --format "%e %M" ${CXX:=g++-7} -c -std=c++1z $inc -x c++ -
|
||||
echo "#include <$1>\nint main() {return 0;}" | time --format "%e %M" ${CXX:=g++-7} -c -std=c++1z $inc -x c++ -
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user