mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-22 08:28:21 +00:00
castxml: upgrade 0.7.0 -> 0.8.0
Drop the LLVM/Clang 23 port backport, it is included in this release. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
2 files changed
+2
-40
No files matched your search
@@ -1,36 +0,0 @@
|
||||
From 315fbacc4e4b9c7ea21d25ad489a90b73a526326 Mon Sep 17 00:00:00 2001
|
||||
From: Brad King <brad.king@kitware.com>
|
||||
Date: Wed, 10 Jun 2026 10:55:10 -0400
|
||||
Subject: [PATCH] Port to LLVM/Clang Git main as of 2026-10-10 (6f47b6de08)
|
||||
|
||||
Upstream-Status: Backport [https://github.com/CastXML/CastXML/commit/315fbacc4e4b]
|
||||
|
||||
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
|
||||
---
|
||||
src/Output.cxx | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Output.cxx b/src/Output.cxx
|
||||
index bb986d4b..9f722efd 100644
|
||||
--- a/src/Output.cxx
|
||||
+++ b/src/Output.cxx
|
||||
@@ -119,6 +119,10 @@ clang::NestedNameSpecifier const& deref(NestedNameSpecifier const& nns)
|
||||
# define isPureVirtual isPure
|
||||
#endif
|
||||
|
||||
+#if LLVM_VERSION_MAJOR < 23
|
||||
+# define getRawCommentNoCache getRawCommentForDeclNoCache
|
||||
+#endif
|
||||
+
|
||||
class ASTVisitorBase
|
||||
{
|
||||
protected:
|
||||
@@ -1973,7 +1977,7 @@ void ASTVisitor::PrintCommentAttribute(clang::Decl const* d,
|
||||
if (!this->Opts.CastXml) {
|
||||
return;
|
||||
}
|
||||
- if (clang::RawComment const* rc = this->CTX.getRawCommentForDeclNoCache(d)) {
|
||||
+ if (clang::RawComment const* rc = this->CTX.getRawCommentNoCache(d)) {
|
||||
unsigned int index = ++this->CommentCount;
|
||||
CommentEntry e = { index, rc, dn };
|
||||
this->CommentQueue.push(e);
|
||||
+2
-4
@@ -2,10 +2,8 @@ SUMMARY = "C-family abstract syntax tree XML output tool."
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRCREV = "2d52b47cfd88b703d3247f77bb7c3ad7372bc9cb"
|
||||
SRC_URI = "git://github.com/CastXML/CastXML;protocol=https;branch=master;tag=v${PV} \
|
||||
file://0001-Port-to-LLVM-Clang-23.patch \
|
||||
"
|
||||
SRCREV = "6ebb3df6e88ae562ca54aa09c8eb5ef679b5f2cb"
|
||||
SRC_URI = "git://github.com/CastXML/CastXML;protocol=https;branch=master;tag=v${PV}"
|
||||
|
||||
DEPENDS = "clang"
|
||||
|
||||
Reference in new issue
Block a user