summaryrefslogtreecommitdiff
path: root/bin/find-unused-typedefs.py
blob: e292f097526a2f0a4e41085fa46faddbc37dff57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python

import subprocess

a = subprocess.Popen("git grep -P '^typedef\s+.+\s+\w+;' -- \"[!e][!x][!t]*\"", stdout=subprocess.PIPE, shell=True)

with a.stdout as txt:
    for line in txt:
        idx2 = line.rfind(";")
        idx1 = line.rfind(" ", 0, idx2)
        typedefName = line[idx1+1 : idx2]
        if typedefName.startswith("*"):
           typedefName = typedefName[1:]
        # ignore anything less than 5 characters, it's probably a parsing error
        if len(typedefName) > 4:
            print typedefName

2012-02-13Make simplified configuration API available down in comphelperStephan Bergmann 2012-01-31Move unotools/configuration.hxx to comphelperStephan Bergmann 2011-12-13Simple officecfg/cppheader sanity check.Stephan Bergmann 2011-10-05simplfy dmake to gbuild bridgefileBjoern Michaelsen 2011-08-19detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly setNorbert Thiebaud 2011-08-13officecfg: convert to gbuildMichael Stahl 2011-06-03Drop %_EXT% which was always emptyTor Lillqvist 2011-03-29drop bogus executable flag from idl/build/src and config filesFrancisco Saito 2011-03-25set build depencencies against the new "translations" modulePetr Mladek 2011-03-12Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Thorsten Behrens 2011-02-22masterfix DEV300: #i10000# usage of L10N build_typeIvo Hinkelmann 2010-04-14masterfix: #i10000# remove incorrect line in buildlistsKurt Zenker 2009-10-02#i101955# adapted LDAP backend to new interface, dropped registry/ldap/*-attr...sb 2009-07-03CWS-TOOLING: integrate CWS dbaperf2Release Engineers 2009-06-17CWS-TOOLING: integrate CWS l10ncleanup04Ivo Hinkelmann 2009-02-13CWS-TOOLING: integrate CWS oooimprovement2Oliver Bolte 2008-10-01CWS-TOOLING: integrate CWS sb93Vladimir Glazounov 2008-08-19INTEGRATION: CWS xsltfilter10 (1.16.342); FILE MERGEDVladimir Glazounov