Hello community,
here is the log from the commit of package include-what-you-use for
openSUSE:Factory checked in at 2018-05-10 15:49:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/include-what-you-use (Old)
and /work/SRC/openSUSE:Factory/.include-what-you-use.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "include-what-you-use"
Thu May 10 15:49:50 2018 rev:3 rq:605646 version:0.10
Changes:
--------
---
/work/SRC/openSUSE:Factory/include-what-you-use/include-what-you-use.changes
2018-03-19 23:40:43.684267225 +0100
+++
/work/SRC/openSUSE:Factory/.include-what-you-use.new/include-what-you-use.changes
2018-05-10 15:49:52.400222759 +0200
@@ -1,0 +2,13 @@
+Tue May 8 21:49:09 UTC 2018 - [email protected]
+
+- Update to version 0.10, update LLVM/Clang to version 6.
+ * Add --no_fwd_decls option to avoid replacing includes with
+ forward-declarations.
+ * Treat definitions of free functions as uses of the
+ corresponding prototypes.
+ * Support C++11 range-for loops.
+ * Several template misattribution bugs fixed.
+ * Better support for non-ASCII encodings in fix_includes.py.
+ * Remove support for VCS commands from fix_includes.py.
+
+-------------------------------------------------------------------
Old:
----
include-what-you-use-0.9.src.tar.gz
New:
----
include-what-you-use-0.10.src.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ include-what-you-use.spec ++++++
--- /var/tmp/diff_new_pack.sMXkVV/_old 2018-05-10 15:49:53.188193879 +0200
+++ /var/tmp/diff_new_pack.sMXkVV/_new 2018-05-10 15:49:53.188193879 +0200
@@ -18,7 +18,7 @@
Name: include-what-you-use
-Version: 0.9
+Version: 0.10
Release: 0
Summary: A tool to analyze #includes in C and C++ source files
License: NCSA
@@ -30,16 +30,16 @@
Patch1: fix-shebang.patch
Patch2: iwyu_include_picker.patch
Patch3: remove-x86-specific-code.patch
-BuildRequires: clang5
-BuildRequires: clang5-devel
+BuildRequires: clang6
+BuildRequires: clang6-devel
BuildRequires: cmake
%if 0%{?sle_version} && 0%{?sle_version} <= 130000 && !0%{?is_opensuse}
BuildRequires: gcc6
BuildRequires: gcc6-c++
%endif
-BuildRequires: llvm5-devel
+BuildRequires: llvm6-devel
# We need the compiler-specific headers in /usr/lib64/clang/.
-Requires: clang5
+Requires: clang6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
++++++ include-what-you-use-0.9.src.tar.gz ->
include-what-you-use-0.10.src.tar.gz ++++++
++++ 2076 lines of diff (skipped)
++++++ include-what-you-use.1.gz ++++++
--- /var/tmp/diff_new_pack.sMXkVV/_old 2018-05-10 15:49:53.456184057 +0200
+++ /var/tmp/diff_new_pack.sMXkVV/_new 2018-05-10 15:49:53.460183910 +0200
@@ -7,7 +7,7 @@
.\" License as specified in the file COPYING that comes with the
.\" man-db distribution.
.\"
-.TH include-what-you-use 1 "2018-02-19" include-what-you-use "User Manuals"
+.TH include-what-you-use 1 "2018-05-08" include-what-you-use "User Manuals"
.SH NAME
include-what-you-use \- Analyze includes in C and C++ source files.
.SH SYNOPSIS
@@ -107,6 +107,9 @@
Do not add comments after includes about which symbols the header was required
for.
.TP
+.B --no_fwd_decls
+Do not use forward declarations, and instead always include the required
header.
+.TP
.BI --verbose= level
Set verbosity. At the highest level, this will dump the AST of the source file
and explain all decisions.
++++++ iwyu_include_picker.patch ++++++
--- /var/tmp/diff_new_pack.sMXkVV/_old 2018-05-10 15:49:53.484183031 +0200
+++ /var/tmp/diff_new_pack.sMXkVV/_new 2018-05-10 15:49:53.484183031 +0200
@@ -329,7 +329,7 @@
{ "<bits/stl_queue.h>", kPrivate, "<queue>", kPublic },
{ "<bits/stl_raw_storage_iter.h>", kPrivate, "<memory>", kPublic },
{ "<bits/stl_relops.h>", kPrivate, "<utility>", kPublic },
-@@ -618,101 +739,85 @@ const IncludeMapEntry libstdcpp_include_map[] = {
+@@ -618,99 +739,85 @@ const IncludeMapEntry libstdcpp_include_map[] = {
{ "<bits/streambuf.tcc>", kPrivate, "<streambuf>", kPublic },
{ "<bits/streambuf_iterator.h>", kPrivate, "<iterator>", kPublic },
{ "<bits/stringfwd.h>", kPrivate, "<string>", kPublic },
@@ -382,9 +382,7 @@
- { "<tr1_impl/unordered_set>", kPrivate, "<unordered_set>", kPublic },
- { "<tr1_impl/utility>", kPrivate, "<tr1/utility>", kPublic },
- { "<tr1_impl/utility>", kPrivate, "<utility>", kPublic },
-- // This didn't come from the grep, but seems to be where swap()
-- // is defined?
-- { "<bits/move.h>", kPrivate, "<algorithm>", kPublic }, // for swap<>()
+- { "<bits/move.h>", kPrivate, "<utility>", kPublic },
- // Hash and hashtable-based containers.
- { "<tr1_impl/functional_hash.h>", kPrivate, "<tr1/functional>", kPublic },
- { "<tr1_impl/functional_hash.h>", kPrivate, "<tr1/unordered_map>", kPublic
},
@@ -476,7 +474,7 @@
// and carefully picked reasonable-looking results (algorithm
// *uses* pair but doesn't *re-export* pair, for instance).
{ "<bits/boost_concept_check.h>", kPrivate,
-@@ -751,14 +856,19 @@ const IncludeMapEntry libstdcpp_include_map[] = {
+@@ -749,14 +856,19 @@ const IncludeMapEntry libstdcpp_include_map[] = {
{ "<hash_fun.h>", kPrivate, "<hash_set>", kPublic },
{ "<hashtable.h>", kPrivate, "<hash_map>", kPublic },
{ "<hashtable.h>", kPrivate, "<hash_set>", kPublic },
++++++ llvm-link.patch ++++++
--- /var/tmp/diff_new_pack.sMXkVV/_old 2018-05-10 15:49:53.500182444 +0200
+++ /var/tmp/diff_new_pack.sMXkVV/_new 2018-05-10 15:49:53.504182297 +0200
@@ -1,12 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 7aad3bd..514f632 100644
+index 67c4abb..4985776 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -138,33 +138,7 @@ target_link_libraries(include-what-you-use
+@@ -139,34 +139,7 @@ target_link_libraries(include-what-you-use
)
# LLVM dependencies.
-target_link_libraries(include-what-you-use
+- PRIVATE
- LLVMX86AsmParser # MC, MCParser, Support, X86CodeGen, X86Desc, X86Info
- LLVMX86CodeGen # Analysis, AsmPrinter, CodeGen, Core, MC, Support, Target,
- # X86AsmPrinter, X86Desc, X86Info, X86Utils
@@ -33,7 +34,7 @@
- LLVMSupport # Demangle
- LLVMDemangle
-)
-+target_link_libraries(include-what-you-use LLVM)
++target_link_libraries(include-what-you-use PRIVATE LLVM)
# Platform dependencies.
if( WIN32 )