kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [14/14] kudu git commit: [iwyu] update on the internal and boost mappings
Date Mon, 21 Aug 2017 21:04:01 GMT
[iwyu] update on the internal and boost mappings

Updated the internal and boost mappings to avoid some bogus suggestions
generated by the include-what-you-use tool.  Also, shortened the list
of files where IWYU suggestions are 'muted'.

The IWYU patch is updated to deal with int{16,32,64}_t-related quirks.
For some reason, IWYU suggests to use boost headers instead of std
library headers in some .cc files where both <cstdint> and
boost/function.hpp (or boost/optional/optional.hpp) are present.

Change-Id: I9a20616093f362a5b5ae30627b6121313b50efa2
Reviewed-on: http://gerrit.cloudera.org:8080/7696
Reviewed-by: Adar Dembo <adar@cloudera.com>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/1d560664
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/1d560664
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/1d560664

Branch: refs/heads/master
Commit: 1d56066454efd0da30b58c514f08c03cbb38f8ee
Parents: 0f6dcf8
Author: Alexey Serbin <aserbin@cloudera.com>
Authored: Wed Aug 16 13:55:57 2017 -0700
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Mon Aug 21 20:54:08 2017 +0000

----------------------------------------------------------------------
 build-support/iwyu/iwyu-filter.awk              | 214 +------------------
 build-support/iwyu/mappings/boost-extra.imp     |  23 ++
 thirdparty/download-thirdparty.sh               |   2 +-
 .../patches/llvm-iwyu-include-picker.patch      |  16 +-
 4 files changed, 44 insertions(+), 211 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/1d560664/build-support/iwyu/iwyu-filter.awk
----------------------------------------------------------------------
diff --git a/build-support/iwyu/iwyu-filter.awk b/build-support/iwyu/iwyu-filter.awk
index ea3f5f2..e442113 100644
--- a/build-support/iwyu/iwyu-filter.awk
+++ b/build-support/iwyu/iwyu-filter.awk
@@ -70,287 +70,83 @@ BEGIN {
   # ignored. Eventually, this list should become empty as soon as all the valid
   # suggestions are addressed and invalid ones are taken care either by proper
   # IWYU pragmas or adding special mappings (e.g. like boost mappings).
-  muted["kudu/benchmarks/tpch/rpc_line_item_dao-test.cc"]
-  muted["kudu/cfile/block_cache-test.cc"]
-  muted["kudu/cfile/bloomfile-test.cc"]
-  muted["kudu/cfile/cfile-test.cc"]
   muted["kudu/cfile/cfile_writer.h"]
-  muted["kudu/cfile/encoding-test.cc"]
-  muted["kudu/cfile/index-test.cc"]
   muted["kudu/cfile/mt-bloomfile-test.cc"]
-  muted["kudu/client/client-internal.cc"]
   muted["kudu/client/client-internal.h"]
   muted["kudu/client/client-test.cc"]
-  muted["kudu/client/meta_cache.h"]
-  muted["kudu/client/predicate-test.cc"]
-  muted["kudu/client/scan_token-test.cc"]
   muted["kudu/clock/hybrid_clock-test.cc"]
   muted["kudu/clock/logical_clock-test.cc"]
   muted["kudu/codegen/codegen-test.cc"]
-  muted["kudu/common/column_predicate-test.cc"]
   muted["kudu/common/encoded_key-test.cc"]
-  muted["kudu/common/generic_iterators-test.cc"]
-  muted["kudu/common/key_util-test.cc"]
-  muted["kudu/common/partial_row-test.cc"]
   muted["kudu/common/partition-test.cc"]
   muted["kudu/common/partition_pruner-test.cc"]
-  muted["kudu/common/row_changelist-test.cc"]
-  muted["kudu/common/row_operations-test.cc"]
-  muted["kudu/common/scan_spec.cc"]
-  muted["kudu/common/scan_spec-test.cc"]
-  muted["kudu/common/schema-test.cc"]
-  muted["kudu/common/schema.cc"]
   muted["kudu/common/schema.h"]
-  muted["kudu/common/types-test.cc"]
-  muted["kudu/common/wire_protocol-test.cc"]
-  muted["kudu/common/wire_protocol.cc"]
-  muted["kudu/common/wire_protocol.h"]
   muted["kudu/consensus/consensus_meta-test.cc"]
   muted["kudu/consensus/consensus_meta_manager-stress-test.cc"]
-  muted["kudu/consensus/consensus_meta_manager-test.cc"]
-  muted["kudu/consensus/consensus_peers-test.cc"]
-  muted["kudu/consensus/consensus_queue-test.cc"]
-  muted["kudu/consensus/consensus_queue.cc"]
-  muted["kudu/consensus/leader_election-test.cc"]
-  muted["kudu/consensus/log-test.cc"]
-  muted["kudu/consensus/log_anchor_registry-test.cc"]
-  muted["kudu/consensus/log_cache-test.cc"]
-  muted["kudu/consensus/log_index-test.cc"]
-  muted["kudu/consensus/mt-log-test.cc"]
   muted["kudu/consensus/raft_consensus.h"]
   muted["kudu/consensus/raft_consensus_quorum-test.cc"]
-  muted["kudu/consensus/time_manager-test.cc"]
-  muted["kudu/experiments/merge-test.cc"]
   muted["kudu/experiments/rwlock-perf.cc"]
   muted["kudu/fs/block_manager-stress-test.cc"]
-  muted["kudu/fs/block_manager-test.cc"]
   muted["kudu/fs/block_manager_util-test.cc"]
   muted["kudu/fs/data_dirs-test.cc"]
   muted["kudu/fs/fs_manager-test.cc"]
   muted["kudu/fs/log_block_manager-test.cc"]
-  muted["kudu/fs/log_block_manager.cc"]
-  muted["kudu/fs/log_block_manager.h"]
-  muted["kudu/integration-tests/all_types-itest.cc"]
-  muted["kudu/integration-tests/alter_table-randomized-test.cc"]
-  muted["kudu/integration-tests/alter_table-test.cc"]
-  muted["kudu/integration-tests/authn_token_expire-itest.cc"]
-  muted["kudu/integration-tests/catalog_manager_tsk-itest.cc"]
-  muted["kudu/integration-tests/client-negotiation-failover-itest.cc"]
-  muted["kudu/integration-tests/client-stress-test.cc"]
-  muted["kudu/integration-tests/client_failover-itest.cc"]
-  muted["kudu/integration-tests/cluster_itest_util.cc"]
-  muted["kudu/integration-tests/cluster_verifier.cc"]
-  muted["kudu/integration-tests/consistency-itest.cc"]
-  muted["kudu/integration-tests/create-table-itest.cc"]
-  muted["kudu/integration-tests/create-table-stress-test.cc"]
-  muted["kudu/integration-tests/delete_table-itest.cc"]
-  muted["kudu/integration-tests/delete_tablet-itest.cc"]
-  muted["kudu/integration-tests/dense_node-itest.cc"]
-  muted["kudu/integration-tests/disk_reservation-itest.cc"]
-  muted["kudu/integration-tests/exactly_once_writes-itest.cc"]
-  muted["kudu/integration-tests/external_mini_cluster-itest-base.cc"]
+  muted["kudu/gutil/atomicops-internals-x86.cc"]
   muted["kudu/integration-tests/external_mini_cluster-itest-base.h"]
-  muted["kudu/integration-tests/external_mini_cluster-test.cc"]
-  muted["kudu/integration-tests/external_mini_cluster.cc"]
-  muted["kudu/integration-tests/external_mini_cluster.h"]
   muted["kudu/integration-tests/external_mini_cluster_fs_inspector.cc"]
-  muted["kudu/integration-tests/flex_partitioning-itest.cc"]
-  muted["kudu/integration-tests/full_stack-insert-scan-test.cc"]
-  muted["kudu/integration-tests/fuzz-itest.cc"]
-  muted["kudu/integration-tests/internal_mini_cluster-itest-base.cc"]
   muted["kudu/integration-tests/internal_mini_cluster-itest-base.h"]
   muted["kudu/integration-tests/internal_mini_cluster.h"]
-  muted["kudu/integration-tests/linked_list-test.cc"]
-  muted["kudu/integration-tests/log-rolling-itest.cc"]
   muted["kudu/integration-tests/log_verifier.cc"]
-  muted["kudu/integration-tests/master-stress-test.cc"]
-  muted["kudu/integration-tests/master_cert_authority-itest.cc"]
-  muted["kudu/integration-tests/master_failover-itest.cc"]
-  muted["kudu/integration-tests/master_migration-itest.cc"]
-  muted["kudu/integration-tests/master_replication-itest.cc"]
-  muted["kudu/integration-tests/minidump_generation-itest.cc"]
-  muted["kudu/integration-tests/multidir_cluster-itest.cc"]
-  muted["kudu/integration-tests/open-readonly-fs-itest.cc"]
-  muted["kudu/integration-tests/raft_consensus-itest.cc"]
-  muted["kudu/integration-tests/registration-test.cc"]
-  muted["kudu/integration-tests/security-faults-itest.cc"]
-  muted["kudu/integration-tests/security-itest.cc"]
-  muted["kudu/integration-tests/security-unknown-tsk-itest.cc"]
-  muted["kudu/integration-tests/table_locations-itest.cc"]
-  muted["kudu/integration-tests/tablet_copy-itest.cc"]
-  muted["kudu/integration-tests/tablet_copy_client_session-itest.cc"]
-  muted["kudu/integration-tests/tablet_history_gc-itest.cc"]
-  muted["kudu/integration-tests/tablet_replacement-itest.cc"]
-  muted["kudu/integration-tests/test_workload.cc"]
-  muted["kudu/integration-tests/test_workload.h"]
   muted["kudu/integration-tests/token_signer-itest.cc"]
-  muted["kudu/integration-tests/ts_recovery-itest.cc"]
-  muted["kudu/integration-tests/ts_tablet_manager-itest.cc"]
-  muted["kudu/integration-tests/update_scan_delta_compact-test.cc"]
-  muted["kudu/integration-tests/version_migration-test.cc"]
-  muted["kudu/integration-tests/webserver-stress-itest.cc"]
-  muted["kudu/integration-tests/write_throttling-itest.cc"]
-  muted["kudu/master/catalog_manager-test.cc"]
-  muted["kudu/master/catalog_manager.cc"]
-  muted["kudu/master/master-test.cc"]
-  muted["kudu/master/mini_master-test.cc"]
-  muted["kudu/master/sys_catalog-test.cc"]
-  muted["kudu/rpc/client_negotiation.cc"]
-  muted["kudu/rpc/messenger.h"]
   muted["kudu/rpc/negotiation-test.cc"]
   muted["kudu/rpc/negotiation.cc"]
-  muted["kudu/rpc/protoc-gen-krpc.cc"]
   muted["kudu/rpc/reactor.cc"]
   muted["kudu/rpc/reactor.h"]
-  muted["kudu/rpc/remote_user.cc"]
-  muted["kudu/rpc/request_tracker-test.cc"]
-  muted["kudu/rpc/result_tracker.h"]
   muted["kudu/rpc/rpc-test.cc"]
-  muted["kudu/rpc/rpc_sidecar.cc"]
   muted["kudu/rpc/rpc_sidecar.h"]
   muted["kudu/rpc/rpc_stub-test.cc"]
-  muted["kudu/rpc/server_negotiation.cc"]
-  muted["kudu/rpc/service_if.h"]
-  muted["kudu/rpc/service_pool.cc"]
-  muted["kudu/rpc/service_queue-test.cc"]
-  muted["kudu/rpc/service_queue.h"]
   muted["kudu/security/ca/cert_management-test.cc"]
   muted["kudu/security/ca/cert_management.cc"]
   muted["kudu/security/ca/cert_management.h"]
   muted["kudu/security/cert-test.cc"]
   muted["kudu/security/cert.cc"]
+  muted["kudu/security/cert.h"]
   muted["kudu/security/crypto-test.cc"]
+  muted["kudu/security/openssl_util.cc"]
   muted["kudu/security/openssl_util.h"]
-  muted["kudu/security/test/mini_kdc-test.cc"]
   muted["kudu/security/tls_context.cc"]
-  muted["kudu/security/tls_context.h"]
   muted["kudu/security/tls_handshake-test.cc"]
   muted["kudu/security/tls_handshake.cc"]
+  muted["kudu/security/tls_socket.h"]
   muted["kudu/security/token-test.cc"]
+  muted["kudu/security/x509_check_host.cc"]
   muted["kudu/server/default-path-handlers.cc"]
   muted["kudu/server/rpc_server-test.cc"]
-  muted["kudu/server/server_base.cc"]
-  muted["kudu/server/webserver-test.cc"]
   muted["kudu/server/webserver.cc"]
   muted["kudu/tablet/all_types-scan-correctness-test.cc"]
-  muted["kudu/tablet/cbtree-test.cc"]
-  muted["kudu/tablet/cfile_set-test.cc"]
-  muted["kudu/tablet/cfile_set.cc"]
-  muted["kudu/tablet/compaction-test.cc"]
-  muted["kudu/tablet/compaction_policy-test.cc"]
-  muted["kudu/tablet/composite-pushdown-test.cc"]
-  muted["kudu/tablet/delta_compaction-test.cc"]
-  muted["kudu/tablet/deltafile-test.cc"]
-  muted["kudu/tablet/deltamemstore-test.cc"]
-  muted["kudu/tablet/diskrowset-test.cc"]
   muted["kudu/tablet/diskrowset.cc"]
-  muted["kudu/tablet/lock_manager-test.cc"]
-  muted["kudu/tablet/major_delta_compaction-test.cc"]
-  muted["kudu/tablet/memrowset-test.cc"]
   muted["kudu/tablet/memrowset.h"]
-  muted["kudu/tablet/mt-diskrowset-test.cc"]
   muted["kudu/tablet/mt-rowset_delta_compaction-test.cc"]
   muted["kudu/tablet/mt-tablet-test.cc"]
-  muted["kudu/tablet/mvcc-test.cc"]
-  muted["kudu/tablet/rowset_tree-test.cc"]
-  muted["kudu/tablet/tablet-decoder-eval-test.cc"]
-  muted["kudu/tablet/tablet-pushdown-test.cc"]
-  muted["kudu/tablet/tablet-schema-test.cc"]
-  muted["kudu/tablet/tablet-test.cc"]
   muted["kudu/tablet/tablet.cc"]
-  muted["kudu/tablet/tablet.h"]
-  muted["kudu/tablet/tablet_bootstrap-test.cc"]
   muted["kudu/tablet/tablet_history_gc-test.cc"]
-  muted["kudu/tablet/tablet_metadata-test.cc"]
-  muted["kudu/tablet/tablet_mm_ops-test.cc"]
-  muted["kudu/tablet/tablet_random_access-test.cc"]
-  muted["kudu/tablet/tablet_replica-test.cc"]
-  muted["kudu/tablet/tablet_throttle-test.cc"]
   muted["kudu/tablet/transactions/transaction_tracker-test.cc"]
-  muted["kudu/tools/ksck-test.cc"]
-  muted["kudu/tools/ksck.cc"]
-  muted["kudu/tools/ksck.h"]
-  muted["kudu/tools/ksck_remote-test.cc"]
-  muted["kudu/tools/ksck_remote.cc"]
-  muted["kudu/tools/kudu-admin-test.cc"]
-  muted["kudu/tools/kudu-tool-test.cc"]
-  muted["kudu/tools/kudu-ts-cli-test.cc"]
-  muted["kudu/tools/tool_action-test.cc"]
   muted["kudu/tools/tool_action.cc"]
   muted["kudu/tools/tool_action_local_replica.cc"]
   muted["kudu/tools/tool_action_master.cc"]
-  muted["kudu/tools/tool_action_pbc.cc"]
-  muted["kudu/tools/tool_action_perf.cc"]
-  muted["kudu/tools/tool_action_remote_replica.cc"]
-  muted["kudu/tools/tool_action_table.cc"]
   muted["kudu/tools/tool_action_tablet.cc"]
   muted["kudu/tools/tool_action_tserver.cc"]
-  muted["kudu/tools/tool_action_wal.cc"]
-  muted["kudu/tools/tool_main.cc"]
-  muted["kudu/tserver/heartbeater.cc"]
-  muted["kudu/tserver/mini_tablet_server-test.cc"]
-  muted["kudu/tserver/scanners-test.cc"]
-  muted["kudu/tserver/tablet_copy_client-test.cc"]
   muted["kudu/tserver/tablet_copy_service-test.cc"]
-  muted["kudu/tserver/tablet_copy_source_session-test.cc"]
-  muted["kudu/tserver/tablet_server-stress-test.cc"]
-  muted["kudu/tserver/tablet_server-test.cc"]
-  muted["kudu/tserver/tablet_service.cc"]
-  muted["kudu/tserver/ts_tablet_manager-test.cc"]
-  muted["kudu/twitter-demo/ingest_firehose.cc"]
-  muted["kudu/twitter-demo/parser-test.cc"]
-  muted["kudu/util/atomic-test.cc"]
   muted["kudu/util/bit-util-test.cc"]
-  muted["kudu/util/bitmap-test.cc"]
-  muted["kudu/util/blocking_queue-test.cc"]
-  muted["kudu/util/bloom_filter-test.cc"]
-  muted["kudu/util/cache-test.cc"]
   muted["kudu/util/compression/compression-test.cc"]
-  muted["kudu/util/crc-test.cc"]
-  muted["kudu/util/easy_json-test.cc"]
-  muted["kudu/util/env-test.cc"]
   muted["kudu/util/env_util-test.cc"]
   muted["kudu/util/failure_detector-test.cc"]
-  muted["kudu/util/faststring-test.cc"]
   muted["kudu/util/file_cache-stress-test.cc"]
-  muted["kudu/util/file_cache-test.cc"]
-  muted["kudu/util/flag_tags-test.cc"]
-  muted["kudu/util/flag_validators-test.cc"]
-  muted["kudu/util/flags-test.cc"]
   muted["kudu/util/group_varint-test.cc"]
-  muted["kudu/util/inline_slice-test.cc"]
-  muted["kudu/util/interval_tree-test.cc"]
-  muted["kudu/util/jsonreader-test.cc"]
-  muted["kudu/util/jsonwriter-test.cc"]
-  muted["kudu/util/knapsack_solver-test.cc"]
-  muted["kudu/util/logging-test.cc"]
-  muted["kudu/util/maintenance_manager-test.cc"]
-  muted["kudu/util/mem_tracker-test.cc"]
-  muted["kudu/util/memory/arena-test.cc"]
-  muted["kudu/util/metrics-test.cc"]
-  muted["kudu/util/minidump-test.cc"]
   muted["kudu/util/minidump.cc"]
-  muted["kudu/util/mt-hdr_histogram-test.cc"]
   muted["kudu/util/mt-metrics-test.cc"]
-  muted["kudu/util/mt-threadlocal-test.cc"]
-  muted["kudu/util/net/net_util-test.cc"]
-  muted["kudu/util/object_pool-test.cc"]
-  muted["kudu/util/once-test.cc"]
-  muted["kudu/util/os-util-test.cc"]
-  muted["kudu/util/pb_util-test.cc"]
-  muted["kudu/util/process_memory-test.cc"]
   muted["kudu/util/process_memory.cc"]
-  muted["kudu/util/pstack_watcher-test.cc"]
-  muted["kudu/util/resettable_heartbeater-test.cc"]
   muted["kudu/util/rle-test.cc"]
-  muted["kudu/util/rolling_log-test.cc"]
-  muted["kudu/util/spinlock_profiling-test.cc"]
-  muted["kudu/util/stack_watchdog-test.cc"]
-  muted["kudu/util/subprocess-test.cc"]
-  muted["kudu/util/thread-test.cc"]
-  muted["kudu/util/threadpool-test.cc"]
-  muted["kudu/util/throttler-test.cc"]
-  muted["kudu/util/trace-test.cc"]
 }
 
 # mute all suggestions for the auto-generated files

http://git-wip-us.apache.org/repos/asf/kudu/blob/1d560664/build-support/iwyu/mappings/boost-extra.imp
----------------------------------------------------------------------
diff --git a/build-support/iwyu/mappings/boost-extra.imp b/build-support/iwyu/mappings/boost-extra.imp
new file mode 100644
index 0000000..aba1e41
--- /dev/null
+++ b/build-support/iwyu/mappings/boost-extra.imp
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+[
+    { include: ["<boost/core/explicit_operator_bool.hpp>", private, "<boost/optional/optional.hpp>",
public ] },
+    { include: ["<boost/cstdint.hpp>", private, "<cstdint>", public ] },
+    { include: ["<boost/none.hpp>", private, "<boost/optional/optional.hpp>",
public ] },
+    { include: ["<boost/optional/detail/optional_relops.hpp>", private, "<boost/optional/optional.hpp>",
public ] },
+    { include: ["<boost/optional/detail/optional_reference_spec.hpp>", private, "<boost/optional/optional.hpp>",
public ] }
+]

http://git-wip-us.apache.org/repos/asf/kudu/blob/1d560664/thirdparty/download-thirdparty.sh
----------------------------------------------------------------------
diff --git a/thirdparty/download-thirdparty.sh b/thirdparty/download-thirdparty.sh
index 2c27ebb..3cba006 100755
--- a/thirdparty/download-thirdparty.sh
+++ b/thirdparty/download-thirdparty.sh
@@ -247,7 +247,7 @@ if [ ! -d $PYTHON_SOURCE ]; then
   fetch_and_expand python-${PYTHON_VERSION}.tar.gz
 fi
 
-LLVM_PATCHLEVEL=5
+LLVM_PATCHLEVEL=6
 delete_if_wrong_patchlevel $LLVM_SOURCE $LLVM_PATCHLEVEL
 if [ ! -d $LLVM_SOURCE ]; then
   fetch_and_expand llvm-${LLVM_VERSION}-iwyu-${IWYU_VERSION}.src.tar.gz

http://git-wip-us.apache.org/repos/asf/kudu/blob/1d560664/thirdparty/patches/llvm-iwyu-include-picker.patch
----------------------------------------------------------------------
diff --git a/thirdparty/patches/llvm-iwyu-include-picker.patch b/thirdparty/patches/llvm-iwyu-include-picker.patch
index 1a2d39a..664c975 100644
--- a/thirdparty/patches/llvm-iwyu-include-picker.patch
+++ b/thirdparty/patches/llvm-iwyu-include-picker.patch
@@ -1,6 +1,20 @@
 --- a/tools/clang/tools/include-what-you-use/iwyu_include_picker.cc 2017-08-07 16:41:03.193267222
-0700
 +++ b/tools/clang/tools/include-what-you-use/iwyu_include_picker.cc	2017-08-07 16:41:12.603327180
-0700
-@@ -288,6 +288,7 @@ const IncludeMapEntry libc_include_map[] = {
+@@ -123,6 +123,13 @@ const IncludeMapEntry libc_symbol_map[] = {
+   { "ino_t", kPrivate, "<sys/stat.h>", kPublic },
+   { "int8_t", kPrivate, "<sys/types.h>", kPublic },
+   { "int8_t", kPrivate, "<stdint.h>", kPublic },
++  { "uint8_t", kPrivate, "<stdint.h>", kPublic },
++  { "int16_t", kPrivate, "<stdint.h>", kPublic },
++  { "uint16_t", kPrivate, "<stdint.h>", kPublic },
++  { "int32_t", kPrivate, "<stdint.h>", kPublic },
++  { "uint32_t", kPrivate, "<stdint.h>", kPublic },
++  { "int64_t", kPrivate, "<stdint.h>", kPublic },
++  { "uint64_t", kPrivate, "<stdint.h>", kPublic },
+   { "intptr_t", kPrivate, "<stdint.h>", kPublic },
+   { "intptr_t", kPrivate, "<unistd.h>", kPublic },
+   { "key_t", kPrivate, "<sys/types.h>", kPublic },
+@@ -288,6 +295,7 @@ const IncludeMapEntry libc_include_map[] = {
    { "<bits/param.h>", kPrivate, "<sys/param.h>", kPublic },
    { "<bits/poll.h>", kPrivate, "<sys/poll.h>", kPrivate },
    { "<bits/poll2.h>", kPrivate, "<sys/poll.h>", kPrivate },


Mime
View raw message