A way to tag code like class or functions #127
Unanswered
totalretribution
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It's not great, but you could use preprocessor macros and have your preprocessor filter the undesired content out? There is code in cxxheaderparser to parse attributes, but as you've observed it just throws them away. I don't really know what I would want to do with attributes, so I haven't bothered implementing support for them. If you want to fix #31 and make a pull request so it meets your needs I'm likely to accept it if it seems reasonable and there are tests. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Whats the best way to tag certain classes or functions that cxxheaderparser could pick up.
I want to tag certain functions and classes so when parsing I can do things like ignore them.
I tried using attributes like below at first but later saw that they are not used.
The only option I can think of is to add something to doxygen and then parse the doxygen but this seemed clumsy.
Beta Was this translation helpful? Give feedback.
All reactions