mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 02:31:07 +00:00
Merge bitcoin/bitcoin#34310: iwyu: Add missed line to IWYU patch
de509c6df97910cc11c5025d5f80fb05b9a88e80 iwyu: Add missed line to IWYU patch (Hennadii Stepanov) Pull request description: This PR makes IWYU suggest `<cassert>` over `<assert.h>`. Fixes https://github.com/bitcoin/bitcoin/issues/34237. ACKs for top commit: maflcko: lgtm ACK de509c6df97910cc11c5025d5f80fb05b9a88e80 Tree-SHA512: edba91eaf36992f684be2920f5da8c13a25ba6d79b879b92193e2af106cd454a64d7c4cf9dabc25675490df9edbccff1fd54c9f393e984a3a7a628b1c65f6c53
This commit is contained in:
commit
a6e8cd306e
@ -539,10 +539,11 @@ See: https://github.com/include-what-you-use/include-what-you-use/blob/clang_21/
|
||||
};
|
||||
|
||||
const IncludeMapEntry stdlib_c_include_map[] = {
|
||||
@@ -601,31 +601,31 @@ const IncludeMapEntry stdlib_c_include_map[] = {
|
||||
@@ -600,32 +600,32 @@ const IncludeMapEntry stdlib_c_include_map[] = {
|
||||
// https://github.com/cplusplus/draft/blob/c+%2B20/source/lib-intro.tex
|
||||
//
|
||||
// $ curl -s -N https://raw.githubusercontent.com/cplusplus/draft/c%2B%2B20/source/lib-intro.tex | sed -n '/begin{multicolfloattable}.*{headers.cpp.c}/,/end{multicolfloattable}/p' | grep tcode | perl -nle 'm/tcode{<c(.*)>}/ && print qq@ { "<$1.h>", kPublic, "<c$1>", kPublic },@' | sort
|
||||
{ "<assert.h>", kPublic, "<cassert>", kPublic },
|
||||
- { "<assert.h>", kPublic, "<cassert>", kPublic },
|
||||
- { "<complex.h>", kPublic, "<ccomplex>", kPublic },
|
||||
- { "<ctype.h>", kPublic, "<cctype>", kPublic },
|
||||
- { "<errno.h>", kPublic, "<cerrno>", kPublic },
|
||||
@ -568,6 +569,7 @@ See: https://github.com/include-what-you-use/include-what-you-use/blob/clang_21/
|
||||
- { "<uchar.h>", kPublic, "<cuchar>", kPublic },
|
||||
- { "<wchar.h>", kPublic, "<cwchar>", kPublic },
|
||||
- { "<wctype.h>", kPublic, "<cwctype>", kPublic },
|
||||
+ { "<assert.h>", kPrivate, "<cassert>", kPublic },
|
||||
+ { "<complex.h>", kPrivate, "<ccomplex>", kPublic },
|
||||
+ { "<ctype.h>", kPrivate, "<cctype>", kPublic },
|
||||
+ { "<errno.h>", kPrivate, "<cerrno>", kPublic },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user