[med-svn] [Git][med-team/castxml][upstream] New upstream version 0.6.2
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Sat Oct 14 18:23:00 BST 2023
Étienne Mollier pushed to branch upstream at Debian Med / castxml
Commits:
2e6d8d5c by Étienne Mollier at 2023-10-14T19:12:52+02:00
New upstream version 0.6.2
- - - - -
3 changed files:
- README.rst
- src/RunClang.cxx
- src/Version.cmake
Changes:
=====================================
README.rst
=====================================
@@ -47,7 +47,8 @@ To build CastXML from source, first obtain the prerequisites:
* `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 2023-03-20 (``8bb5ca5832``)
+ - Git ``main`` as of 2023-09-19 (``00ecef906b``)
+ - Release ``17.0``
- Release ``16.0``
- Release ``15.0``
- Release ``14.0``
=====================================
src/RunClang.cxx
=====================================
@@ -476,10 +476,6 @@ protected:
) override
{
CI.getPreprocessor().setPredefines(this->UpdatePredefines(CI));
-
- // Tell Clang not to tear down the parser at EOF.
- CI.getPreprocessor().enableIncrementalProcessing();
-
return true;
}
};
@@ -517,6 +513,28 @@ class CastXMLSyntaxOnlyAction
}
}
+protected:
+ bool BeginSourceFileAction(clang::CompilerInstance& CI
+#if LLVM_VERSION_MAJOR < 5
+ ,
+ llvm::StringRef Filename
+#endif
+ ) override
+ {
+ this->CastXMLPredefines::BeginSourceFileAction(CI
+#if LLVM_VERSION_MAJOR < 5
+ ,
+ Filename
+#endif
+ );
+
+ // Tell Clang not to tear down the parser at EOF.
+ // We need it in ASTConsumer::HandleTranslationUnit.
+ CI.getPreprocessor().enableIncrementalProcessing();
+
+ return true;
+ }
+
public:
CastXMLSyntaxOnlyAction(Options const& opts)
: CastXMLPredefines(opts)
=====================================
src/Version.cmake
=====================================
@@ -1,7 +1,7 @@
# CastXML version number components.
set(CastXML_VERSION_MAJOR 0)
set(CastXML_VERSION_MINOR 6)
-set(CastXML_VERSION_PATCH 1)
+set(CastXML_VERSION_PATCH 2)
#set(CastXML_VERSION_RC 0)
set(CastXML_VERSION_IS_DIRTY 0)
@@ -13,7 +13,7 @@ if(DEFINED CastXML_VERSION_RC)
endif()
# If this source was exported by 'git archive', use its commit info.
-set(git_info "f70f9d3 CastXML 0.6.1")
+set(git_info "841a6b1 CastXML 0.6.2")
# 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]* "
View it on GitLab: https://salsa.debian.org/med-team/castxml/-/commit/2e6d8d5cc57389a703b01c007fd058178eb73e55
--
View it on GitLab: https://salsa.debian.org/med-team/castxml/-/commit/2e6d8d5cc57389a703b01c007fd058178eb73e55
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20231014/0b3c661b/attachment-0001.htm>
More information about the debian-med-commit
mailing list