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
main: rbtree based symbol table #2450
main: rbtree based symbol table #2450
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2450 +/- ##
==========================================
- Coverage 86.61% 86.18% -0.44%
==========================================
Files 177 179 +2
Lines 36796 37088 +292
==========================================
+ Hits 31872 31964 +92
- Misses 4924 5124 +200
Continue to review full report at Codecov.
|
#2421 is a good target to apply the new symbol table feature to. |
…rrayAdd Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…ented dynamically growing array Signed-off-by: Masatake YAMATO <yamato@redhat.com>
To add more features to corkQueue, we need a way to specify which feathres of corkQueue enable or not from parsers. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…happy/rbtree (e1e984fcbc17d47a67652bbc6276afe948c7ad55) The code is not built into ctags binary. This commit is for just importing for implementing symbol tables in u-ctags in the future.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…attribute__((aligned(X))) Signed-off-by: Masatake YAMATO <yamato@redhat.com>
This one is true is the compiler supports `({...})'. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
* provide portable container_of, * rename the top-level ifdef conditoin guarding from including .h twice, * use CTAGS_INLINE instead of inline for portability, and * use CTAGA_ATTR_ALIGNED instead of __attribute__((aligned(sizeof(long)))). Signed-off-by: Masatake YAMATO <yamato@redhat.com>
`unsigned long` is 32-bit on 64-bit Windows. `uintptr_t` should be used instead. `uintptr_t` needs stdint.h. (@masatake edited the commit log)
Just integrating into ctags binary. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…parsers makeTexTag takes "kind" as an argument. The implementation of the function assumes the kind is part of Tex parser. However, the assumption is wrong for the subparsers of Tex. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Close universal-ctags#2421. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
81647c1
to
f67e271
Compare
Though there are still two TODO items. However, I would like to use the symbol table for fixing #2421. |
This is the result of a study in #2427.
I removed code related to CPreProcessor and SystemVerilog.
The changes for entry.h in 81647c1 excite you, a parser developer.
06a1588 may also be interesting.
TODO:
Test cases are not included in this change.