Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cvise for openSUSE:Factory checked in at 2021-04-12 15:49:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cvise (Old) and /work/SRC/openSUSE:Factory/.cvise.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cvise" Mon Apr 12 15:49:43 2021 rev:32 rq:884625 version:2.3.0+git.20210412.66ee8c1 Changes: -------- --- /work/SRC/openSUSE:Factory/cvise/cvise.changes 2021-04-01 14:19:04.572137047 +0200 +++ /work/SRC/openSUSE:Factory/.cvise.new.2401/cvise.changes 2021-04-12 15:49:57.785279285 +0200 @@ -1,0 +2,6 @@ +Mon Apr 12 10:10:05 UTC 2021 - mli...@suse.cz + +- Update to version 2.3.0+git.20210412.66ee8c1: + * Class-to-struct pass: fix forward declarations. + +------------------------------------------------------------------- Old: ---- cvise-2.3.0+git.20210331.352e93f.tar.xz New: ---- cvise-2.3.0+git.20210412.66ee8c1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cvise.spec ++++++ --- /var/tmp/diff_new_pack.T6rmaN/_old 2021-04-12 15:49:58.261279861 +0200 +++ /var/tmp/diff_new_pack.T6rmaN/_new 2021-04-12 15:49:58.261279861 +0200 @@ -17,7 +17,7 @@ Name: cvise -Version: 2.3.0+git.20210331.352e93f +Version: 2.3.0+git.20210412.66ee8c1 Release: 0 Summary: Super-parallel Python port of the C-Reduce License: BSD-3-Clause ++++++ cvise-2.3.0+git.20210331.352e93f.tar.xz -> cvise-2.3.0+git.20210412.66ee8c1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210331.352e93f/clang_delta/CMakeLists.txt new/cvise-2.3.0+git.20210412.66ee8c1/clang_delta/CMakeLists.txt --- old/cvise-2.3.0+git.20210331.352e93f/clang_delta/CMakeLists.txt 2021-03-31 11:45:37.000000000 +0200 +++ new/cvise-2.3.0+git.20210412.66ee8c1/clang_delta/CMakeLists.txt 2021-04-12 12:09:23.000000000 +0200 @@ -54,6 +54,7 @@ "/tests/callexpr-to-value/test2.output" "/tests/class-to-struct/class-to-struct1.C" "/tests/class-to-struct/class-to-struct1.output" + "/tests/class-to-struct/class-to-struct-forward.C" "/tests/copy-propagation/copy1.cpp" "/tests/copy-propagation/copy1.output" "/tests/copy-propagation/copy2.cpp" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210331.352e93f/clang_delta/ClassToStruct.cpp new/cvise-2.3.0+git.20210412.66ee8c1/clang_delta/ClassToStruct.cpp --- old/cvise-2.3.0+git.20210331.352e93f/clang_delta/ClassToStruct.cpp 2021-03-31 11:45:37.000000000 +0200 +++ new/cvise-2.3.0+git.20210412.66ee8c1/clang_delta/ClassToStruct.cpp 2021-04-12 12:09:23.000000000 +0200 @@ -47,9 +47,12 @@ bool ClassToStructVisitor::VisitCXXRecordDecl( CXXRecordDecl *CXXRD) { - if (!CXXRD->isClass()) + CXXRecordDecl *definition = CXXRD->getDefinition(); + if (!definition + || !definition->isClass()) return true; - ConsumerInstance->CXXRDDefSet.insert(CXXRD->getDefinition()); + + ConsumerInstance->CXXRDDefSet.insert(definition); return true; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210331.352e93f/clang_delta/tests/class-to-struct/class-to-struct-forward.C new/cvise-2.3.0+git.20210412.66ee8c1/clang_delta/tests/class-to-struct/class-to-struct-forward.C --- old/cvise-2.3.0+git.20210331.352e93f/clang_delta/tests/class-to-struct/class-to-struct-forward.C 1970-01-01 01:00:00.000000000 +0100 +++ new/cvise-2.3.0+git.20210412.66ee8c1/clang_delta/tests/class-to-struct/class-to-struct-forward.C 2021-04-12 12:09:23.000000000 +0200 @@ -0,0 +1,2 @@ +class CanonicalizerAllocator; +struct CanonicalizerAllocator {}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210331.352e93f/clang_delta/tests/test_clang_delta.py new/cvise-2.3.0+git.20210412.66ee8c1/clang_delta/tests/test_clang_delta.py --- old/cvise-2.3.0+git.20210331.352e93f/clang_delta/tests/test_clang_delta.py 2021-03-31 11:45:37.000000000 +0200 +++ new/cvise-2.3.0+git.20210412.66ee8c1/clang_delta/tests/test_clang_delta.py 2021-04-12 12:09:23.000000000 +0200 @@ -546,3 +546,7 @@ def test_class_to_struct(self): self.check_clang_delta('class-to-struct/class-to-struct1.C', '--transformation=class-to-struct --counter=1') + + def test_class_to_struct_forward(self): + self.check_query_instances('class-to-struct/class-to-struct-forward.C', '--query-instances=class-to-struct', + 'Available transformation instances: 0')