diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-29 23:15:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-29 23:15:57 +0100 |
commit | 2ebceb686e2370a0a9172a7be4a3c29555a08b80 (patch) | |
tree | da445d4418a55d8e05bfb6d709fb65ac3eca9daa /dev-util/include-what-you-use/files | |
parent | e169149b84bc9ff33d3286d60dfab754d2e0e4be (diff) |
gentoo auto-resync : 29:04:2023 - 23:15:57
Diffstat (limited to 'dev-util/include-what-you-use/files')
-rw-r--r-- | dev-util/include-what-you-use/files/include-what-you-use-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-util/include-what-you-use/files/include-what-you-use-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch b/dev-util/include-what-you-use/files/include-what-you-use-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch new file mode 100644 index 000000000000..4d63e0c1530a --- /dev/null +++ b/dev-util/include-what-you-use/files/include-what-you-use-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch @@ -0,0 +1,34 @@ +From 0c4577fc5796b2824da5629f77bf6bf6bdcd4823 Mon Sep 17 00:00:00 2001 +From: Florian Schmaus <flo@geekplace.eu> +Date: Sat, 29 Apr 2023 20:12:00 +0200 +Subject: [PATCH] tests/cxx/badinc.cc: remove stddef from expected output + +--- a/tests/cxx/badinc.cc ++++ b/tests/cxx/badinc.cc +@@ -1415,7 +1415,6 @@ int main() { + typeof(kI1ConstInt) another_const_int = 1; + (void)(another_const_int); + // This is a C standard macro, but is implemented via a gcc extension too. +- // IWYU: offsetof is...*<stddef.h> + // IWYU: I1_Struct is...*badinc-i1.h + (void)(offsetof(I1_Struct, c)); + // IWYU: kI1ConstInt is...*badinc-i1.h +@@ -1807,7 +1806,6 @@ int main() { + + tests/cxx/badinc.cc should add these lines: + #include <ctype.h> +-#include <stddef.h> + #include <list> + #include "tests/cxx/badinc-i1.h" + class D2_Class; +@@ -1836,7 +1834,6 @@ The full include-list for tests/cxx/badinc.cc: + #include "tests/cxx/badinc-inl.h" + #include <ctype.h> // for isascii + #include <setjmp.h> +-#include <stddef.h> // for offsetof + #include <algorithm> // for find + #include <fstream> // for fstream + #include <list> // for list +-- +2.39.2 + |