-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++: Output information on constexpr
and consteval
functions
#3539
Comments
Thank you for reporting. Could you write "ideal tags" output? |
Appended the
|
Partially close universal-ctags#3539. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@delsner I inspected the C++ parser. The original author (and maintainer) has been absent for a year. My knowledge of the parser and C++ language itself is limited. So I cannot give you enough advice. About About
You are welcome. I would like you to read #3541. |
Partially close universal-ctags#3539. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@masatake great, thanks for the clear advise and your solution for |
Partially close universal-ctags#3539. Signed-off-by: Masatake YAMATO <yamato@redhat.com> Co-authored-by: Daniel <dvelsner@gmail.com>
Close universal-ctags#3539. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Hi!
It seems as if
ctags
currently does not support distinctive tagging ofconstexpr
andconsteval
functions (they're merely tagged as regularfunction
s).One possible workaround is to check the
pattern
field for these keywords, but havingctags
output a (extra) field or property for them would be cleaner. (I personally would prefer adding these keywords to theproperties
field.)Is there any preliminary or ongoing work on this already?
If not, I might take a stab (and would appreciate any advise for approaching this, as I'm not familiar with the C++ parser).
Thanks!
The name of the parser: C/C++
The command line you used to run ctags:
The content of input file (from here):
The tags output you are not satisfied with:
The version of ctags:
How do you get ctags binary:
macosx binary taken from Universal-ctags/homebrew-universal-ctags project
The text was updated successfully, but these errors were encountered: