kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [kudu] 02/03: [style] re-order x.h and x-inl.h to please IWYU
Date Thu, 05 Dec 2019 07:04:40 GMT
This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 24f5f646777cf487f14af587e04a24046158b012
Author: Alexey Serbin <alexey@apache.org>
AuthorDate: Wed Dec 4 20:28:39 2019 -0800

    [style] re-order x.h and x-inl.h to please IWYU
    
    IWYU explicitly prefer x.h to precede x-inl.h in the ordering
    of include files.  This patch updated few files to adhere to
    IWYU's preference, unifying the order of such include file pairs
    across the codebase.
    
    This patch doesn't contain any functional modifications.
    
    Change-Id: I697416766610d169f1e13450310fd218c197b439
    Reviewed-on: http://gerrit.cloudera.org:8080/14844
    Reviewed-by: Adar Dembo <adar@cloudera.com>
    Tested-by: Kudu Jenkins
---
 src/kudu/cfile/block_pointer.h | 2 +-
 src/kudu/cfile/cfile_writer.cc | 2 +-
 src/kudu/cfile/index_block.cc  | 2 +-
 src/kudu/cfile/plain_block.h   | 2 +-
 src/kudu/tablet/rowset_tree.cc | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/kudu/cfile/block_pointer.h b/src/kudu/cfile/block_pointer.h
index 0c4554c..885a41a 100644
--- a/src/kudu/cfile/block_pointer.h
+++ b/src/kudu/cfile/block_pointer.h
@@ -22,8 +22,8 @@
 
 #include "kudu/cfile/cfile.pb.h"
 #include "kudu/gutil/strings/substitute.h"
-#include "kudu/util/coding-inl.h"
 #include "kudu/util/coding.h"
+#include "kudu/util/coding-inl.h"
 #include "kudu/util/status.h"
 
 namespace kudu {
diff --git a/src/kudu/cfile/cfile_writer.cc b/src/kudu/cfile/cfile_writer.cc
index fce4b76..5769e10 100644
--- a/src/kudu/cfile/cfile_writer.cc
+++ b/src/kudu/cfile/cfile_writer.cc
@@ -39,8 +39,8 @@
 #include "kudu/common/types.h"
 #include "kudu/gutil/port.h"
 #include "kudu/util/array_view.h" // IWYU pragma: keep
-#include "kudu/util/coding-inl.h"
 #include "kudu/util/coding.h"
+#include "kudu/util/coding-inl.h"
 #include "kudu/util/compression/compression_codec.h"
 #include "kudu/util/crc.h"
 #include "kudu/util/debug/trace_event.h"
diff --git a/src/kudu/cfile/index_block.cc b/src/kudu/cfile/index_block.cc
index 79cb608..ecfef4b 100644
--- a/src/kudu/cfile/index_block.cc
+++ b/src/kudu/cfile/index_block.cc
@@ -25,8 +25,8 @@
 
 #include "kudu/gutil/port.h"
 #include "kudu/gutil/strings/substitute.h"
-#include "kudu/util/coding-inl.h"
 #include "kudu/util/coding.h"
+#include "kudu/util/coding-inl.h"
 #include "kudu/util/pb_util.h"
 #include "kudu/util/protobuf_util.h"
 
diff --git a/src/kudu/cfile/plain_block.h b/src/kudu/cfile/plain_block.h
index b262478..5c11534 100644
--- a/src/kudu/cfile/plain_block.h
+++ b/src/kudu/cfile/plain_block.h
@@ -24,8 +24,8 @@
 #include "kudu/cfile/cfile_util.h"
 #include "kudu/common/columnblock.h"
 #include "kudu/gutil/port.h"
-#include "kudu/util/coding-inl.h"
 #include "kudu/util/coding.h"
+#include "kudu/util/coding-inl.h"
 #include "kudu/util/hexdump.h"
 
 namespace kudu {
diff --git a/src/kudu/tablet/rowset_tree.cc b/src/kudu/tablet/rowset_tree.cc
index eceb631..dc3a25b 100644
--- a/src/kudu/tablet/rowset_tree.cc
+++ b/src/kudu/tablet/rowset_tree.cc
@@ -30,8 +30,8 @@
 #include "kudu/gutil/stl_util.h"
 #include "kudu/tablet/rowset.h"
 #include "kudu/tablet/rowset_metadata.h"
-#include "kudu/util/interval_tree-inl.h"
 #include "kudu/util/interval_tree.h"
+#include "kudu/util/interval_tree-inl.h"
 #include "kudu/util/slice.h"
 
 using std::vector;


Mime
View raw message