https://bugs.kde.org/show_bug.cgi?id=369546

--- Comment #12 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
General remark: please do not share cursing & sarcasm with others here, it does
not help the case & the quality of the discussion. I guess not only me prefers
a place to spend free time in where positive energy rules. Thus I also had not
replied before despite knowing an answer to the question how to get the diff,
the note went straight to /dev/null.

To the topic:
The challenge (for me) is to get the actual strings used for the default
values. The current code calling into clang does not deliver those in these
cases. So no  "INT_MAX" etc. string is available right now. Otherwise my linked
patch happily would just use those instead of that placeholder, as I agree
those are pretty fine, I would expect them to be shown instead of being
resolved.

To fix this, this needs someone experienced with the clang API.

That's why my linked patch is labelled "partial workaround". It just fixes a
symptom of the problem.

It is also unclear to me whether this is only broken with macros, could be also
other things. All I know is that the used "clang_getCursorExtent" reports a
string which does not include the substring noting the default value.
That's why I propose a generic term as placeholder for now.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to