From 4a0b770b84e251ed00c6b35ff9d11c7a0d7f0ee8 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 25 Jul 2009 10:34:00 +0200 Subject: Add Perl code to remove template classes from the listing. It is possible to export symbols in template classes, but I don't think we use any such cases now (template specialisation). It only works properly with C++0x anyway (extern template). --- tests/auto/bic/gen.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/auto/bic/gen.sh b/tests/auto/bic/gen.sh index 2479a33..31031aa 100755 --- a/tests/auto/bic/gen.sh +++ b/tests/auto/bic/gen.sh @@ -18,5 +18,9 @@ for module in $modules; do echo "#include <$module/$module>" >test.cpp g++ -c -I$QTDIR/include -DQT_NO_STL -DQT3_SUPPORT -fdump-class-hierarchy test.cpp mv test.cpp*.class $module.$2.txt + # Remove template classes from the output + perl -pi -e '$skip = 0 if (/^\n/); + $skip = 1 if (/^(Class|Vtable).*