Details
Description
I noticed that running dist/s_tags fails to index some functions. In particular, I noticed that __wt_modify_apply_api was missing, then noticed it had a WT_GCC_FUNC_ATTRIBUTE tag.
Adding '-I WT_GCC_FUNCT_ATTRIBUTE+' to $flags fixes this, so such functions are indexed as expected.
diff --git a/dist/s_tags b/dist/s_tags
|
index edb156799..48aa98cb4 100755
|
--- a/dist/s_tags
|
+++ b/dist/s_tags
|
@@ -20,7 +20,7 @@ type ctags > /dev/null 2>&1 || {
|
|
# Test to see what flags this ctags binary supports.
|
flags=""
|
-for i in -d -t -w --language-force=C; do
|
+for i in -d -t -w --language-force=C '-I WT_GCC_FUNC_ATTRIBUTE+'; do
|
if ctags $i ../src/conn/api_strerror.c 2>/dev/null; then
|
flags="$i $flags"
|
fi
|