aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier De Cannière <olivier.decanniere@qt.io>2026-09-26 12:01:13 +0200
committerOlivier De Cannière <olivier.decanniere@qt.io>2026-09-30 16:03:58 +0000
commitda546431040e659725e603984cab38eccbf67978 (patch)
tree964a8ca554de3ce77b591a4d390a8a7babb6e6b0
parent5a2e8ea4a2edf4a781ed460c25647f7400a3c159 (diff)
qmldom: Remove CommentInfo::commentContent()
It is unused. Amends 52d61e705ee606f3b673c757bdf253bdf6134a3b Task-number: QTBUG-151040 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Change-Id: I1c2ae8b1e2dadf50b8ff2d4021eb4e7029e5de94 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
-rw-r--r--src/qmldom/qqmldomcomments_p.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qmldom/qqmldomcomments_p.h b/src/qmldom/qqmldomcomments_p.h
index 3ce88b6595..1e47df686f 100644
--- a/src/qmldom/qqmldomcomments_p.h
+++ b/src/qmldom/qqmldomcomments_p.h
@@ -45,11 +45,6 @@ public:
QStringView comment() const { return rawComment.mid(commentBegin, commentEnd - commentBegin); }
- QStringView commentContent() const
- {
- return rawComment.mid(commentContentBegin, commentContentEnd - commentContentEnd);
- }
-
QStringView postWhitespace() const
{
return rawComment.mid(commentEnd, rawComment.size() - commentEnd);