summaryrefslogtreecommitdiff
path: root/include/codemaker
AgeCommit message (Collapse)AuthorFilesLines
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann1-1/+1
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
2016-07-27improve passstuffbyref return analysisNoel Grandin1-1/+1
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-13loplugin:passstuffbyref in codemakerNoel Grandin1-2/+2
Change-Id: Ib6a3342fdeeb7eb566e12eb599022b99c5f54b7e
2016-03-03loplugin:unuseddefaultparams variousNoel Grandin1-2/+1
Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546 Reviewed-on: https://gerrit.libreoffice.org/22852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-24convert codemaker::UnoType::Sort to scoped enumNoel Grandin1-30/+30
Change-Id: I70a84f777e714bcc20c2d7b06b918e3be0f3ce4a
2016-02-24unused enum FileAccessModeNoel Grandin1-8/+0
Change-Id: I23972d65b5c8c734fd3a62d6deda53cfe1fddd61
2016-02-24convert codemaker::cpp::IdentifierTranslationMode to scoped enumNoel Grandin1-5/+5
Change-Id: I17f7a2f8f89166c5a51be4ee15986d21f1cb24b3
2016-02-09Remove excess newlinesChris Sherlock1-1/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann3-5/+5
Change-Id: Ic33cbe3feed8aec9f7578aea2cbd809169d9b8c8
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann2-6/+6
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-06-23Revert "Typo: iff->if"Julien Nabet2-3/+3
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet2-3/+3
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-02-07loplugin:deletedspecialStephan Bergmann2-6/+6
Change-Id: Ice7788ebcfbc638ec21a824c4267757218c14478
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara2-5/+4
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann1-1/+1
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin1-1/+1
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-09-18fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler2-18/+1
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-24new compilerplugin returnbyrefNoel Grandin1-2/+2
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin1-1/+1
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin1-1/+1
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin2-2/+2
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-04-04codemaker: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: I0a0691df58455b712eb27695f4cce15fd3494b65
2014-03-17codemaker,editeng: prefer passing OUString by referenceNoel Grandin1-3/+3
Change-Id: If3e2dd3905cc33f1e7fc9fbfbb9f2bb49a756a34
2014-03-01Remove visual noise from includeAlexander Wilms1-4/+4
Conflicts: include/framework/preventduplicateinteraction.hxx include/sfx2/sfxbasecontroller.hxx include/sfx2/sfxbasemodel.hxx include/toolkit/awt/vclxtabpagemodel.hxx include/vcl/field.hxx include/vcl/settings.hxx Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2 Reviewed-on: https://gerrit.libreoffice.org/8272 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-17codemaker: sal_Bool -> boolStephan Bergmann2-10/+10
Change-Id: I2cacac2aa7e48b3b9d8d060137d5c6d6f1d06b3f
2013-11-09fdo#65108 inter-module includes <>Norbert Thiebaud8-20/+20
Change-Id: I11332cfdcc3379fea8599fde1e9255113122e3b1
2013-09-16Revert "WIP: add cppumaker -U to directly read from .idl files"Stephan Bergmann1-1/+1
This reverts commit c4113906d7f15f8aa0eb385a4caf474b3505ede1, which is not necessary after all with recent "Hook SourceProvider into unoidl::loadProvider."
2013-09-12WIP: add cppumaker -U to directly read from .idl filesStephan Bergmann1-1/+1
Change-Id: I420847515b6b691ae81a249a8820cf9a3d132372
2013-04-24Dead codeStephan Bergmann1-2/+0
Change-Id: Ia0b14d879e0ab22ff2fdeb09af836df4aed82ffb
2013-04-23execute move of global headersBjoern Michaelsen9-0/+713
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a