summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/singlevalfields.py
AgeCommit message (Collapse)AuthorFilesLines
2018-10-22loplugin:singlevalfields look for fields that can be boolNoel Grandin1-3/+21
Change-Id: Ief773b661a8378a10db56943b32127c7a2c86d11 Reviewed-on: https://gerrit.libreoffice.org/62037 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-07-12loplugin:mergeclasses fix ignoring some stuffNoel Grandin1-0/+2
Seems that calling getCanonicalDecl here results in us sometimes picking up forward-decl's, which hides stuff Also make the python processing code spit out a message if I manage to mess up the log files Change-Id: I08bf50eb26cf463c126507b51535b0a0fc9f7ecf
2018-04-10put the loplugin output files in the workdirNoel Grandin1-1/+1
so that the next time I accidentally leave one turned on, and commit it, the buildbots will clean up naturally the next time they run 'make clean' Change-Id: Ia09dea9c272c322c7e2773c5458cb54aceb50dd1
2017-12-04loplugin:singlevalfieldsNoel Grandin1-1/+4
Change-Id: I521d2efa641f3a14c48561e2e0f6d687e5807d93 Reviewed-on: https://gerrit.libreoffice.org/45662 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-25add various loplugin results filesNoel Grandin1-1/+1
so that instead of trying to maintain a list of false positives inside the python processing code, I can just run the plugin, generate the result, and then look at the git diff from last time. Change-Id: Ic287f19e3b139705222a1f9541ad6471dfcb9c18
2016-09-16loplugin:singlevalfields in basic..idlNoel Grandin1-3/+11
Also fix obvious bug in the initialisation of the connectivity::odbc::OConnection::m_bClosed field. Probably closes some kind of connection leak there. Change-Id: I04579cf91bcd6d6c51c697d83971da4142743a82 Reviewed-on: https://gerrit.libreoffice.org/28932 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-16loplogin:singlevalfields in include/Noel Grandin1-7/+10
Change-Id: I27842162fcf82120ecb811ee8e89e187430931fc Reviewed-on: https://gerrit.libreoffice.org/28931 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-15Some of our supported compilers don't do constexpr, which meansNoel Grandin1-0/+3
o3tl::typed_flags can't be 'static const' Change-Id: Ia2e40353f7a1b9e66617fa42f9eed6213f9e2d62
2016-09-15loplugin:singlevalfields in sc..vclNoel Grandin1-6/+9
Change-Id: I68752a3daf5ddd8581c07759b8be2c1dabbb9258
2016-09-15use split() to simplify loplugin python codeNoel Grandin1-14/+9
Change-Id: Ib6d7acf54ca6c12a3b096435f8a621244df88b4f
2016-07-25loplugins: more consistent naming of output filesNoel Grandin1-2/+2
Change-Id: Ia26f697cb16078f235c94e4cff449a60c1bbd74e
2016-06-28loplugin:singlevalfields in variousNoel Grandin1-0/+7
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e Reviewed-on: https://gerrit.libreoffice.org/26738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-23new loplugin: singlevalfieldsNoel Grandin1-0/+69
look for fields that only have a single constant value assigned to them Change-Id: Iafcd37fdb8a8119bbc00f92981a1a01badf9c5a2