Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package CastXML for openSUSE:Factory checked 
in at 2024-05-14 13:38:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/CastXML (Old)
 and      /work/SRC/openSUSE:Factory/.CastXML.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "CastXML"

Tue May 14 13:38:31 2024 rev:18 rq:1173881 version:0.6.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/CastXML/CastXML.changes  2024-04-17 
14:46:39.500882726 +0200
+++ /work/SRC/openSUSE:Factory/.CastXML.new.1880/CastXML.changes        
2024-05-14 13:40:25.147088413 +0200
@@ -1,0 +2,8 @@
+Tue May 14 02:10:58 UTC 2024 - Atri Bhattacharya <[email protected]>
+
+- Update to version 0.6.6:
+  * RunClang: Tolerate GNU __attribute__((__assume__(...))) 
+  * Remove GCC builtin definitions for features Clang does not
+    implement
+
+-------------------------------------------------------------------

Old:
----
  CastXML-0.6.5.tar.gz

New:
----
  CastXML-0.6.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ CastXML.spec ++++++
--- /var/tmp/diff_new_pack.OMud3a/_old  2024-05-14 13:40:25.899115837 +0200
+++ /var/tmp/diff_new_pack.OMud3a/_new  2024-05-14 13:40:25.903115983 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           CastXML
-Version:        0.6.5
+Version:        0.6.6
 Release:        0
 Summary:        C-family Abstract Syntax Tree XML Output
 License:        Apache-2.0

++++++ CastXML-0.6.5.tar.gz -> CastXML-0.6.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CastXML-0.6.5/src/RunClang.cxx 
new/CastXML-0.6.6/src/RunClang.cxx
--- old/CastXML-0.6.5/src/RunClang.cxx  2024-04-12 17:55:34.000000000 +0200
+++ new/CastXML-0.6.6/src/RunClang.cxx  2024-05-03 20:32:27.000000000 +0200
@@ -270,6 +270,33 @@
     if (this->Opts.HaveCC) {
       builtins += this->Opts.Predefines;
 
+      // Remove GCC builtin definitions for features Clang does not implement.
+      if (this->IsActualGNU(this->Opts.Predefines)) {
+        builtins += "#undef __BFLT16_DECIMAL_DIG__\n"
+                    "#undef __BFLT16_DENORM_MIN__\n"
+                    "#undef __BFLT16_DIG__\n"
+                    "#undef __BFLT16_DIG__\n"
+                    "#undef __BFLT16_EPSILON__\n"
+                    "#undef __BFLT16_HAS_DENORM__\n"
+                    "#undef __BFLT16_HAS_INFINITY__\n"
+                    "#undef __BFLT16_HAS_QUIET_NAN__\n"
+                    "#undef __BFLT16_IS_IEC_60559__\n"
+                    "#undef __BFLT16_MANT_DIG__\n"
+                    "#undef __BFLT16_MAX_10_EXP__\n"
+                    "#undef __BFLT16_MAX_EXP__\n"
+                    "#undef __BFLT16_MAX__\n"
+                    "#undef __BFLT16_MIN_10_EXP__\n"
+                    "#undef __BFLT16_MIN_EXP__\n"
+                    "#undef __BFLT16_MIN__\n"
+                    "#undef __BFLT16_NORM_MAX__\n"
+                    "#undef __SIZEOF_FLOAT80__\n"
+                    "#undef __STDCPP_BFLOAT16_T__\n"
+                    "#undef __STDCPP_FLOAT128_T__\n"
+                    "#undef __STDCPP_FLOAT16_T__\n"
+                    "#undef __STDCPP_FLOAT32_T__\n"
+                    "#undef __STDCPP_FLOAT64_T__\n";
+      }
+
       // Provide __builtin_va_arg_pack if simulating the actual GNU compiler.
       if (this->NeedBuiltinVarArgPack(this->Opts.Predefines)) {
         // Clang does not support this builtin, so fake it to tolerate
@@ -380,6 +407,12 @@
         builtins += "\n"
                     "#define __malloc__(...) __malloc__\n";
       }
+      if (this->NeedAttributeAssumeSuppression(this->Opts.Predefines)) {
+        // Clang does not support '__attribute__((__assume__(args...)))'
+        // as a statement attribute used in libstdc++ headers.
+        builtins += "\n"
+                    "#define __assume__(...)\n";
+      }
 
       // Clang's arm_neon.h checks for a feature macro not defined by GCC.
       if (this->NeedARMv8Intrinsics(this->Opts.Predefines)) {
@@ -493,6 +526,11 @@
   {
     return this->IsActualGNU(pd);
   }
+
+  bool NeedAttributeAssumeSuppression(std::string const& pd)
+  {
+    return this->IsActualGNU(pd);
+  }
 
   bool NeedFloat128(std::string const& pd) const
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CastXML-0.6.5/src/Version.cmake 
new/CastXML-0.6.6/src/Version.cmake
--- old/CastXML-0.6.5/src/Version.cmake 2024-04-12 17:55:34.000000000 +0200
+++ new/CastXML-0.6.6/src/Version.cmake 2024-05-03 20:32:27.000000000 +0200
@@ -1,7 +1,7 @@
 # CastXML version number components.
 set(CastXML_VERSION_MAJOR 0)
 set(CastXML_VERSION_MINOR 6)
-set(CastXML_VERSION_PATCH 5)
+set(CastXML_VERSION_PATCH 6)
 #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 "8b97f28c CastXML 0.6.5")
+set(git_info "37ca39a5 CastXML 0.6.6")
 
 # 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.5/test/CMakeLists.txt 
new/CastXML-0.6.6/test/CMakeLists.txt
--- old/CastXML-0.6.5/test/CMakeLists.txt       2024-04-12 17:55:34.000000000 
+0200
+++ new/CastXML-0.6.6/test/CMakeLists.txt       2024-05-03 20:32:27.000000000 
+0200
@@ -724,11 +724,13 @@
 unset(castxml_test_output_extra_arguments)
 
 set(castxml_test_output_extra_arguments --castxml-cc-gnu-c 
$<TARGET_FILE:cc-gnu>)
+castxml_test_output_c(GNU-attr-assume)
 castxml_test_output_c(GNU-attr-malloc-args)
 castxml_test_output_c(GNU-va_arg_pack)
 unset(castxml_test_output_extra_arguments)
 
 set(castxml_test_output_extra_arguments --castxml-cc-gnu $<TARGET_FILE:cc-gnu>)
+castxml_test_output(GNU-attr-assume)
 castxml_test_output(GNU-attr-malloc-args)
 castxml_test_output(GNU-va_arg_pack)
 unset(castxml_test_output_extra_arguments)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CastXML-0.6.5/test/cc-gnu.c 
new/CastXML-0.6.6/test/cc-gnu.c
--- old/CastXML-0.6.5/test/cc-gnu.c     2024-04-12 17:55:34.000000000 +0200
+++ new/CastXML-0.6.6/test/cc-gnu.c     2024-05-03 20:32:27.000000000 +0200
@@ -47,6 +47,31 @@
           "#define __vector __vector\n"
           "#define __has_last(x) x",
           ver_major);
+  /* Test GCC builtin definitions for features Clang does not implement.  */
+  fprintf(stdout,
+          "#define __BFLT16_DECIMAL_DIG__\n"
+          "#define __BFLT16_DENORM_MIN__\n"
+          "#define __BFLT16_DIG__\n"
+          "#define __BFLT16_DIG__\n"
+          "#define __BFLT16_EPSILON__\n"
+          "#define __BFLT16_HAS_DENORM__\n"
+          "#define __BFLT16_HAS_INFINITY__\n"
+          "#define __BFLT16_HAS_QUIET_NAN__\n"
+          "#define __BFLT16_IS_IEC_60559__\n"
+          "#define __BFLT16_MANT_DIG__\n"
+          "#define __BFLT16_MAX_10_EXP__\n"
+          "#define __BFLT16_MAX_EXP__\n"
+          "#define __BFLT16_MAX__\n"
+          "#define __BFLT16_MIN_10_EXP__\n"
+          "#define __BFLT16_MIN_EXP__\n"
+          "#define __BFLT16_MIN__\n"
+          "#define __BFLT16_NORM_MAX__\n"
+          "#define __SIZEOF_FLOAT80__\n"
+          "#define __STDCPP_BFLOAT16_T__\n"
+          "#define __STDCPP_FLOAT128_T__\n"
+          "#define __STDCPP_FLOAT16_T__\n"
+          "#define __STDCPP_FLOAT32_T__\n"
+          "#define __STDCPP_FLOAT64_T__\n");
   fprintf(stderr,
           "#include <...> search starts here:\n"
           " /some/include\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CastXML-0.6.5/test/expect/castxml1.any.GNU-attr-assume.xml.txt 
new/CastXML-0.6.6/test/expect/castxml1.any.GNU-attr-assume.xml.txt
--- old/CastXML-0.6.5/test/expect/castxml1.any.GNU-attr-assume.xml.txt  
1970-01-01 01:00:00.000000000 +0100
+++ new/CastXML-0.6.6/test/expect/castxml1.any.GNU-attr-assume.xml.txt  
2024-05-03 20:32:27.000000000 +0200
@@ -0,0 +1,7 @@
+^<\?xml version="1.0"\?>
+<CastXML[^>]*>
+  <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" 
file="f1" line="1" mangled="[^"]+"/>
+  <FundamentalType id="_2" name="void" size="[0-9]+" align="[0-9]+"/>
+  <Namespace id="_3" name="::"/>
+  <File id="f1" name=".*/test/input/GNU-attr-assume.cxx"/>
+</CastXML>$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CastXML-0.6.5/test/expect/castxml1.c.GNU-attr-assume.xml.txt 
new/CastXML-0.6.6/test/expect/castxml1.c.GNU-attr-assume.xml.txt
--- old/CastXML-0.6.5/test/expect/castxml1.c.GNU-attr-assume.xml.txt    
1970-01-01 01:00:00.000000000 +0100
+++ new/CastXML-0.6.6/test/expect/castxml1.c.GNU-attr-assume.xml.txt    
2024-05-03 20:32:27.000000000 +0200
@@ -0,0 +1,7 @@
+^<\?xml version="1.0"\?>
+<CastXML[^>]*>
+  <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" 
file="f1" line="1"/>
+  <FundamentalType id="_2" name="void" size="[0-9]+" align="[0-9]+"/>
+  <Namespace id="_3" name="::"/>
+  <File id="f1" name=".*/test/input/GNU-attr-assume.c"/>
+</CastXML>$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CastXML-0.6.5/test/expect/cmd.cc-gnu-c-src-c-E.stdout.txt 
new/CastXML-0.6.6/test/expect/cmd.cc-gnu-c-src-c-E.stdout.txt
--- old/CastXML-0.6.5/test/expect/cmd.cc-gnu-c-src-c-E.stdout.txt       
2024-04-12 17:55:34.000000000 +0200
+++ new/CastXML-0.6.6/test/expect/cmd.cc-gnu-c-src-c-E.stdout.txt       
2024-05-03 20:32:27.000000000 +0200
@@ -3,6 +3,7 @@
 )?#define __GNUC_MINOR__ 1
 #define __GNUC__ 1(
 #define __MINGW32__ 1)?
+#define __assume__\(\.\.\.\)[ ]*
 #define __builtin_va_arg_pack\(\) 0
 #define __builtin_va_arg_pack_len\(\) 1
 #define __castxml__ [^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CastXML-0.6.5/test/expect/cmd.cc-gnu-c-tgt-i386-opt-E.stdout.txt 
new/CastXML-0.6.6/test/expect/cmd.cc-gnu-c-tgt-i386-opt-E.stdout.txt
--- old/CastXML-0.6.5/test/expect/cmd.cc-gnu-c-tgt-i386-opt-E.stdout.txt        
2024-04-12 17:55:34.000000000 +0200
+++ new/CastXML-0.6.6/test/expect/cmd.cc-gnu-c-tgt-i386-opt-E.stdout.txt        
2024-05-03 20:32:27.000000000 +0200
@@ -5,6 +5,7 @@
 #define __MINGW32__ 1)?
 #define __NO_MATH_INLINES 1
 #define __OPTIMIZE__ 1
+#define __assume__\(\.\.\.\)[ ]*
 #define __builtin_va_arg_pack\(\) 0
 #define __builtin_va_arg_pack_len\(\) 1
 #define __castxml__ [^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CastXML-0.6.5/test/expect/cmd.cc-gnu-src-cxx-E.stdout.txt 
new/CastXML-0.6.6/test/expect/cmd.cc-gnu-src-cxx-E.stdout.txt
--- old/CastXML-0.6.5/test/expect/cmd.cc-gnu-src-cxx-E.stdout.txt       
2024-04-12 17:55:34.000000000 +0200
+++ new/CastXML-0.6.6/test/expect/cmd.cc-gnu-src-cxx-E.stdout.txt       
2024-05-03 20:32:27.000000000 +0200
@@ -3,6 +3,7 @@
 )?#define __GNUC_MINOR__ 1
 #define __GNUC__ 1(
 #define __MINGW32__ 1)?
+#define __assume__\(\.\.\.\)[ ]*
 #define __builtin_va_arg_pack\(\) 0
 #define __builtin_va_arg_pack_len\(\) 1
 #define __castxml__ [^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CastXML-0.6.5/test/expect/cmd.cc-gnu-tgt-i386-opt-E.stdout.txt 
new/CastXML-0.6.6/test/expect/cmd.cc-gnu-tgt-i386-opt-E.stdout.txt
--- old/CastXML-0.6.5/test/expect/cmd.cc-gnu-tgt-i386-opt-E.stdout.txt  
2024-04-12 17:55:34.000000000 +0200
+++ new/CastXML-0.6.6/test/expect/cmd.cc-gnu-tgt-i386-opt-E.stdout.txt  
2024-05-03 20:32:27.000000000 +0200
@@ -5,6 +5,7 @@
 #define __MINGW32__ 1)?
 #define __NO_MATH_INLINES 1
 #define __OPTIMIZE__ 1
+#define __assume__\(\.\.\.\)[ ]*
 #define __builtin_va_arg_pack\(\) 0
 #define __builtin_va_arg_pack_len\(\) 1
 #define __castxml__ [^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CastXML-0.6.5/test/expect/gccxml.any.GNU-attr-assume.xml.txt 
new/CastXML-0.6.6/test/expect/gccxml.any.GNU-attr-assume.xml.txt
--- old/CastXML-0.6.5/test/expect/gccxml.any.GNU-attr-assume.xml.txt    
1970-01-01 01:00:00.000000000 +0100
+++ new/CastXML-0.6.6/test/expect/gccxml.any.GNU-attr-assume.xml.txt    
2024-05-03 20:32:27.000000000 +0200
@@ -0,0 +1,7 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+  <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" 
file="f1" line="1" mangled="[^"]+"/>
+  <FundamentalType id="_2" name="void" size="[0-9]+" align="[0-9]+"/>
+  <Namespace id="_3" name="::"/>
+  <File id="f1" name=".*/test/input/GNU-attr-assume.cxx"/>
+</GCC_XML>$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CastXML-0.6.5/test/expect/gccxml.c.GNU-attr-assume.xml.txt 
new/CastXML-0.6.6/test/expect/gccxml.c.GNU-attr-assume.xml.txt
--- old/CastXML-0.6.5/test/expect/gccxml.c.GNU-attr-assume.xml.txt      
1970-01-01 01:00:00.000000000 +0100
+++ new/CastXML-0.6.6/test/expect/gccxml.c.GNU-attr-assume.xml.txt      
2024-05-03 20:32:27.000000000 +0200
@@ -0,0 +1,7 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+  <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" 
file="f1" line="1"/>
+  <FundamentalType id="_2" name="void" size="[0-9]+" align="[0-9]+"/>
+  <Namespace id="_3" name="::"/>
+  <File id="f1" name=".*/test/input/GNU-attr-assume.c"/>
+</GCC_XML>$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CastXML-0.6.5/test/input/GNU-attr-assume.c 
new/CastXML-0.6.6/test/input/GNU-attr-assume.c
--- old/CastXML-0.6.5/test/input/GNU-attr-assume.c      1970-01-01 
01:00:00.000000000 +0100
+++ new/CastXML-0.6.6/test/input/GNU-attr-assume.c      2024-05-03 
20:32:27.000000000 +0200
@@ -0,0 +1,4 @@
+void start(void)
+{
+  __attribute__((__assume__(1)));
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CastXML-0.6.5/test/input/GNU-attr-assume.cxx 
new/CastXML-0.6.6/test/input/GNU-attr-assume.cxx
--- old/CastXML-0.6.5/test/input/GNU-attr-assume.cxx    1970-01-01 
01:00:00.000000000 +0100
+++ new/CastXML-0.6.6/test/input/GNU-attr-assume.cxx    2024-05-03 
20:32:27.000000000 +0200
@@ -0,0 +1,4 @@
+void start(void)
+{
+  __attribute__((__assume__(1)));
+}

Reply via email to