#!/usr/bin/gawk -f # -*- tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Generate a list of files included by the C++ compiler during the build # sorted by the total bytes an included file contributed to preprocessor input. # usage: first do a full build with "make check", then run this from $BUILDDIR # NOTE: by default gbuild does not generate dependencies for system headers # (in particular the C++ standard library), so those will NOT be counted BEGIN { cmd = "find workdir/Dep/CxxObject/ -name *.d | xargs cat" while ((cmd | getline) > 0) { if ($0 ~ /^ .*\\$/) { gsub(/^ /, ""); gsub(/ *\\$/, ""); includes[$1]++ if ($2) { # GCC emits 2 per line if short enough! includes[$2]++ } } } exit } END { for (inc in includes) { cmd = "wc -c " inc if ((cmd | getline) < 0) print "ERROR on: " cmd sizes[inc] = $1 # $0 is wc -c output, $1 is size totals[inc] = $1 * includes[inc] totalsize += totals[inc] close(cmd) } PROCINFO["sorted_in"] = "@val_num_desc" printf "Sum total bytes included (excluding system headers): %'d\n", totalsize print "Total bytes\tSize\t Occurrences\tFilename" OFS="\t" for (inc in totals) { printf "%'13d\t%'7d\t%'8d\t%s\n", totals[inc], sizes[inc], includes[inc], inc } } # vim: set noet sw=4 ts=4: alue='distro/cib/libreoffice-6-0'>distro/cib/libreoffice-6-0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/framework/inc/dispatch/closedispatcher.hxx
AgeCommit message (Expand)Author
2022-06-02clang-tidy modernize-pass-by-value in frameworkNoel Grandin
2022-04-13loplugin:stringviewparam whitelist some more functionsNoel Grandin
2021-03-23tdf#124176 Use pragma once in f*Vincent LE GARREC
2020-01-14loplugin:finalclasses in frameworkNoel Grandin
2019-11-11tdf#42949 Fix IWYU warnings in framework/*/*hxxGabor Kelemen
2019-09-11TyposAndrea Gelmini
2019-08-18Fix typoAndrea Gelmini
2019-06-08Fix typoAndrea Gelmini
2019-05-10an uno -> a unoCaolán McNamara
2019-04-16fix usage of successful/successfully in commentsNoel Grandin
2018-09-10tdf#42949 Fix IWYU warnings in include/cppuhelper/*Gabor Kelemen
2018-01-16Fix typosAndrea Gelmini
2017-11-13Fix typosAndrea Gelmini
2017-08-08loplugin:constantparamNoel Grandin
2017-06-08framework: cleanup xinterface.hxx includesJochen Nitschke
2017-06-07framework: cleanup xtypeprovider.hxx includesJochen Nitschke
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
2015-11-20-Werror,-Wunused-private-fieldStephan Bergmann
2015-11-20new loplugin:unusedfieldsNoel Grandin
2015-11-02loplugin:stringconstantNoel Grandin
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-10-01Fix typosAndrea Gelmini
2015-09-22convert Link<> to typedNoel Grandin
2015-09-18boost->stdCaolán McNamara
2015-08-14framework: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin
2015-01-24Typo: syncro->synchroJulien Nabet
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini