================
@@ -2235,6 +2237,12 @@ def raw_comment(self) -> str:
"""Returns the raw comment text associated with that Cursor"""
return
_CXString.from_result(conf.lib.clang_Cursor_getRawCommentText(self))
+ @property
+ @cursor_null_guard
+ def parsed_comment(self) -> str:
----------------
Endilll wrote:
`str` return type can't be true. Below you even declare
`clang_Cursor_getParsedComment` to return `Comment`.
> More generally, what's the point of implementing comment support, if none of
> the bindings functions return them? As far as I can tell there is currently
> no reasonable way to actually use the Comment class through the bindings.
@DeinAlptraum this is where you get an object of type `Comment` from, I suppose.
https://github.com/llvm/llvm-project/pull/81684
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits