summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-21 09:06:22 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-21 09:08:46 +0200
commita5da2a353f21debba7ef6262c01957c43b4f1c6e (patch)
treee21a09bae606666d0ed9c84353359a50fab2bf16 /solenv
parentfc7c1a07d0d5e21a4e1533a0e5b0ac256763f973 (diff)
create-tags: recognize C++11 features hidden behind SAL macros
With this, not only the definition, but also the declaration of e.g. 'SwTextFrm::Format' (or any other member function that is overriding a virtual function from a base class) can be found again, just like before SAL_OVERRIDE and the similar macros were introduced. Change-Id: Ic9e429ad7cbb0a1212744115d1567bb79b7c6aa0
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/create-tags5
1 files changed, 3 insertions, 2 deletions
diff --git a/solenv/bin/create-tags b/solenv/bin/create-tags
index 73349360585e..639111cb1f77 100755
--- a/solenv/bin/create-tags
+++ b/solenv/bin/create-tags
@@ -12,9 +12,10 @@ if test "$1" = "-e"; then
ctags=etags
fi
+saloptions="-ISAL_DELETED_FUNCTION -ISAL_OVERRIDE -ISAL_FINAL -ISAL_CONSTEXPR"
omnicppoptions="--c++-kinds=+p --fields=+iaS --extra=+q"
-$ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
+$ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $saloptions $omnicppoptions \
--languages=-HTML,Java,JavaScript \
-R --exclude=instdir --exclude=instdir_for_build --exclude=workdir --exclude=workdir_for_build \
--exclude=clone --exclude=external --totals=yes ${SRCDIR:-*}
@@ -25,7 +26,7 @@ else
w=workdir
fi
-$ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
+$ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $saloptions $omnicppoptions \
--languages=-HTML,Java,JavaScript \
-R --append=yes --totals=yes \
$w/UnoApiHeadersTarget/udkapi/normal \