Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package CastXML for openSUSE:Factory checked in at 2025-02-13 18:39:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/CastXML (Old) and /work/SRC/openSUSE:Factory/.CastXML.new.8181 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "CastXML" Thu Feb 13 18:39:52 2025 rev:22 rq:1245596 version:0.6.11 Changes: -------- --- /work/SRC/openSUSE:Factory/CastXML/CastXML.changes 2024-12-18 20:11:52.525638937 +0100 +++ /work/SRC/openSUSE:Factory/.CastXML.new.8181/CastXML.changes 2025-02-13 18:40:15.155163846 +0100 @@ -1,0 +2,8 @@ +Thu Feb 13 10:31:35 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 0.6.11: + * test: Remove unnecessary space from CXXLiteral case + * test: Tolerate predefined __cdecl macro from LLVM/Clang + * Port to LLVM 20. + +------------------------------------------------------------------- Old: ---- CastXML-0.6.10.tar.gz New: ---- CastXML-0.6.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ CastXML.spec ++++++ --- /var/tmp/diff_new_pack.pSX1YU/_old 2025-02-13 18:40:17.147246375 +0100 +++ /var/tmp/diff_new_pack.pSX1YU/_new 2025-02-13 18:40:17.163247037 +0100 @@ -17,7 +17,7 @@ Name: CastXML -Version: 0.6.10 +Version: 0.6.11 Release: 0 Summary: C-family Abstract Syntax Tree XML Output License: Apache-2.0 ++++++ CastXML-0.6.10.tar.gz -> CastXML-0.6.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.10/README.rst new/CastXML-0.6.11/README.rst --- old/CastXML-0.6.10/README.rst 2024-11-27 20:05:02.000000000 +0100 +++ new/CastXML-0.6.11/README.rst 2025-02-11 01:13:55.000000000 +0100 @@ -47,7 +47,8 @@ * `LLVM/Clang`_ compiler SDK install tree built using the C++ compiler. This version of CastXML has been tested with LLVM/Clang - - Git ``main`` as of 2024-10-10 (``545e0593f8``) + - Git ``master`` as of 2025-02-10 (``36530414e3``) + - Git ``release/20.x`` as of 2025-02-10 (``75e20e0b80``) - Release ``19.1`` - Release ``18.1`` - Release ``17.0`` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.10/src/Output.cxx new/CastXML-0.6.11/src/Output.cxx --- old/CastXML-0.6.10/src/Output.cxx 2024-11-27 20:05:02.000000000 +0100 +++ new/CastXML-0.6.11/src/Output.cxx 2025-02-11 01:13:55.000000000 +0100 @@ -2197,7 +2197,11 @@ this->PrintNameAttribute(d->getName().str()); this->PrintTypeAttribute(d->getType(), dn->Complete); if (d->isBitField()) { - unsigned bits = d->getBitWidthValue(this->CTX); + unsigned bits = d->getBitWidthValue( +#if LLVM_VERSION_MAJOR < 20 + this->CTX +#endif + ); this->OS << " bits=\"" << bits << "\""; } if (this->Opts.CastXml && !this->IsCastXMLTypedefType(d->getType())) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.10/src/RunClang.cxx new/CastXML-0.6.11/src/RunClang.cxx --- old/CastXML-0.6.10/src/RunClang.cxx 2024-11-27 20:05:02.000000000 +0100 +++ new/CastXML-0.6.11/src/RunClang.cxx 2025-02-11 01:13:55.000000000 +0100 @@ -51,6 +51,10 @@ #include "llvm/Support/Path.h" #include "llvm/Support/raw_ostream.h" +#if LLVM_VERSION_MAJOR >= 20 +# include "llvm/Support/VirtualFileSystem.h" +#endif + #include <cstdlib> #include <fstream> #include <iostream> @@ -738,7 +742,11 @@ static bool runClangCI(clang::CompilerInstance* CI, Options const& opts) { // Create a diagnostics engine for this compiler instance. - CI->createDiagnostics(); + CI->createDiagnostics( +#if LLVM_VERSION_MAJOR >= 20 + *llvm::vfs::getRealFileSystem() +#endif + ); if (!CI->hasDiagnostics()) { return false; } @@ -809,7 +817,11 @@ new clang::TextDiagnosticPrinter(llvm::errs(), &*diagOpts); llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> diags( new clang::DiagnosticsEngine(diagID, &*diagOpts, diagClient)); - clang::ProcessWarningOptions(*diags, *diagOpts, /*ReportDiags=*/false); + clang::ProcessWarningOptions(*diags, *diagOpts, +#if LLVM_VERSION_MAJOR >= 20 + *llvm::vfs::getRealFileSystem(), +#endif + /*ReportDiags=*/false); return diags; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.10/src/Version.cmake new/CastXML-0.6.11/src/Version.cmake --- old/CastXML-0.6.10/src/Version.cmake 2024-11-27 20:05:02.000000000 +0100 +++ new/CastXML-0.6.11/src/Version.cmake 2025-02-11 01:13:55.000000000 +0100 @@ -1,7 +1,7 @@ # CastXML version number components. set(CastXML_VERSION_MAJOR 0) set(CastXML_VERSION_MINOR 6) -set(CastXML_VERSION_PATCH 10) +set(CastXML_VERSION_PATCH 11) #set(CastXML_VERSION_RC 0) set(CastXML_VERSION_IS_DIRTY 0) @@ -13,7 +13,7 @@ endif() # If this source was exported by 'git archive', use its commit info. -set(git_info "02934d80 CastXML 0.6.10") +set(git_info "f38c024b CastXML 0.6.11") # Otherwise, try to identify the current development source version. if(NOT git_info MATCHES "^([0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]?[0-9a-f]?)[0-9a-f]* " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.10/test/expect/cmd.predefined-macros.stdout.txt.in new/CastXML-0.6.11/test/expect/cmd.predefined-macros.stdout.txt.in --- old/CastXML-0.6.10/test/expect/cmd.predefined-macros.stdout.txt.in 2024-11-27 20:05:02.000000000 +0100 +++ new/CastXML-0.6.11/test/expect/cmd.predefined-macros.stdout.txt.in 2025-02-11 01:13:55.000000000 +0100 @@ -5,7 +5,9 @@ #define __castxml_clang_patchlevel__ [0-9]+ #define __castxml_major__ @CastXML_VERSION_MAJOR@ #define __castxml_minor__ @CastXML_VERSION_MINOR@ -#define __castxml_patch__ @CastXML_VERSION_PATCH@ +#define __castxml_patch__ @CastXML_VERSION_PATCH@( +#define __cdecl [^ +]*)? #define __clang__ 1( #define __clang_literal_encoding__ [^ ]*)? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.10/test/input/CXXLiteral.cxx new/CastXML-0.6.11/test/input/CXXLiteral.cxx --- old/CastXML-0.6.10/test/input/CXXLiteral.cxx 2024-11-27 20:05:02.000000000 +0100 +++ new/CastXML-0.6.11/test/input/CXXLiteral.cxx 2025-02-11 01:13:55.000000000 +0100 @@ -1,3 +1,3 @@ namespace start { -unsigned long long operator"" _u(unsigned long long); +unsigned long long operator""_u(unsigned long long); } ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.pSX1YU/_old 2025-02-13 18:40:18.467301061 +0100 +++ /var/tmp/diff_new_pack.pSX1YU/_new 2025-02-13 18:40:18.515303050 +0100 @@ -1,5 +1,5 @@ -mtime: 1734519880 -commit: b0c0c1ae8ea83e42a5d2a7ce8177f151af82065ab462a7ed26161d2e95dac536 +mtime: 1739443035 +commit: e53c3fe08e4aa4e1c87d61629d08a700a85ab820d129ee60928b7120c9a6804a url: https://src.opensuse.org/badshah400/CastXML.git -revision: b0c0c1ae8ea83e42a5d2a7ce8177f151af82065ab462a7ed26161d2e95dac536 +revision: e53c3fe08e4aa4e1c87d61629d08a700a85ab820d129ee60928b7120c9a6804a ++++++ build.specials.obscpio ++++++ diff: old/*: No such file or directory diff: new/*: No such file or directory