From a5da2a353f21debba7ef6262c01957c43b4f1c6e Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 21 Jul 2015 09:06:22 +0200 Subject: 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 --- solenv/bin/create-tags | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'solenv') 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 \ -- cgit