mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-11 17:52:48 +01:00
Merge bitcoin/bitcoin#34460: iwyu: Update mappings
9c839aa9e3iwyu: Document mappings for libc symbols (Hennadii Stepanov)91824646c5iwyu: Add temporary mapping to work around upstream bug (Hennadii Stepanov)37de7d1910iwyu: Drop backported mapping (Hennadii Stepanov) Pull request description: This PR: 1. Removes mappings that have been [backported](https://github.com/include-what-you-use/include-what-you-use/pull/1706) upstream. 2. Adds a new temporary mapping to work around upstream [issue](https://github.com/include-what-you-use/include-what-you-use/issues/1616). 3. Document the existing mappings for libc symbols. ACKs for top commit: maflcko: lgtm ACK9c839aa9e3sedited: ACK9c839aa9e3Tree-SHA512: 691fd9fc6798951ca1a621ee607a617ebef2ed2f43196465c78c6cd7a5ea7f0f0e876e68cd54653edf9b6762ae5fdb704469a1524a5f6f1ab8b0eedbff65cc28
This commit is contained in:
@@ -6,15 +6,13 @@
|
||||
{ "include": [ "<tmmintrin.h>", "private", "<immintrin.h>", "public" ] },
|
||||
|
||||
# libc symbols.
|
||||
# See: https://github.com/include-what-you-use/include-what-you-use/issues/1809.
|
||||
{ "symbol": ["AT_HWCAP", "private", "<sys/auxv.h>", "public"] },
|
||||
{ "symbol": ["AT_HWCAP2", "private", "<sys/auxv.h>", "public"] },
|
||||
|
||||
# Fixed in https://github.com/include-what-you-use/include-what-you-use/pull/1706.
|
||||
{ "symbol": ["SEEK_CUR", "private", "<cstdio>", "public"] },
|
||||
{ "symbol": ["SEEK_END", "private", "<cstdio>", "public"] },
|
||||
{ "symbol": ["SEEK_SET", "private", "<cstdio>", "public"] },
|
||||
|
||||
# IWYU bug.
|
||||
# Workarounds for IWYU issues.
|
||||
# See: https://github.com/include-what-you-use/include-what-you-use/issues/1616.
|
||||
{ "symbol": ["std::pair", "private", "<utility>", "public"] },
|
||||
# See: https://github.com/include-what-you-use/include-what-you-use/issues/1863.
|
||||
{ "symbol": ["std::vector", "private", "<vector>", "public"] },
|
||||
]
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <iterator>
|
||||
#include <span>
|
||||
#include <utility>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <exception>
|
||||
#include <iterator>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
Reference in New Issue
Block a user