Zoltan Chovan has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/24617 )

Change subject: [build] Add IWYU mapping for boost's type_traits
......................................................................

[build] Add IWYU mapping for boost's type_traits

boost/move/detail/type_traits.hpp is a private Boost.Move
implementation header providing pre-C++11 polyfills for type
predicates (is_trivially_destructible, is_nothrow_move_constructible,
etc.). IWYU's template instantiation tracing can surface it when
std algorithms move types that have opted into Boost.Move emulation,
even though no user code directly uses anything from it.

Add a mapping in boost-extra.imp that redirects it to the standard
<type_traits> header, which is its C++11 public equivalent and is
already included in the affected translation units. This prevents
IWYU from incorrectly suggesting a direct include of a Boost
internal detail header.

Change-Id: I4fa5d5d89f9aea049d64e111f77ac10a792d0463
Reviewed-on: http://gerrit.cloudera.org:8080/24617
Reviewed-by: Gabriella Lotz <[email protected]>
Reviewed-by: Zoltan Chovan <[email protected]>
Tested-by: Zoltan Chovan <[email protected]>
---
M build-support/iwyu/mappings/boost-extra.imp
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Gabriella Lotz: Looks good to me, but someone else must approve
  Zoltan Chovan: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/24617
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4fa5d5d89f9aea049d64e111f77ac10a792d0463
Gerrit-Change-Number: 24617
Gerrit-PatchSet: 2
Gerrit-Owner: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>

Reply via email to