diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-31 12:08:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-31 19:37:48 +0100 |
commit | de06f883e2ab53e5d74d480da7abb5c7dd33de3e (patch) | |
tree | d63697b67e57575222b38030ab082a59dcb1aa19 /compilerplugins/clang/unusedfields.only-used-in-constructor.results | |
parent | c599e23a92310916d4e7f09c5aaf354d63973d0b (diff) |
loplugin:unusedfields improve checking for fields guarded by existence check
which resulted in only a couple of real finds, mostly false+
Change-Id: I26058a29c27bff50e9526bedd54fb04589c2934d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87765
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/unusedfields.only-used-in-constructor.results')
-rw-r--r-- | compilerplugins/clang/unusedfields.only-used-in-constructor.results | 106 |
1 files changed, 51 insertions, 55 deletions
diff --git a/compilerplugins/clang/unusedfields.only-used-in-constructor.results b/compilerplugins/clang/unusedfields.only-used-in-constructor.results index 9d804914389c..72335ea1c78a 100644 --- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results +++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results @@ -9,9 +9,9 @@ avmedia/source/vlc/wrapper/Types.hxx:44 avmedia/source/vlc/wrapper/Types.hxx:45 libvlc_event_t::(anonymous union)::(anonymous) dummy2 const char * avmedia/source/vlc/wrapper/Types.hxx:46 - libvlc_event_t::(anonymous) padding struct (anonymous struct at /home/noel/libo2/avmedia/source/vlc/wrapper/Types.hxx:43:7) + libvlc_event_t::(anonymous) padding struct (anonymous struct at /media/disk2/libo7/avmedia/source/vlc/wrapper/Types.hxx:43:7) avmedia/source/vlc/wrapper/Types.hxx:47 - libvlc_event_t u union (anonymous union at /home/noel/libo2/avmedia/source/vlc/wrapper/Types.hxx:41:5) + libvlc_event_t u union (anonymous union at /media/disk2/libo7/avmedia/source/vlc/wrapper/Types.hxx:41:5) avmedia/source/vlc/wrapper/Types.hxx:53 libvlc_track_description_t psz_name char * basegfx/source/polygon/b2dtrapezoid.cxx:207 @@ -128,9 +128,9 @@ cui/source/factory/dlgfact.cxx:1394 (anonymous namespace)::SvxMacroAssignDialog m_aItems class SfxItemSet cui/source/inc/cfgutil.hxx:239 SvxScriptSelectorDialog m_aStylesInfo struct SfxStylesInfo_Impl -cui/source/inc/cuitabarea.hxx:225 +cui/source/inc/cuitabarea.hxx:224 SvxAreaTabPage maFixed_ChangeType enum ChangeType -cui/source/inc/cuitabarea.hxx:233 +cui/source/inc/cuitabarea.hxx:232 SvxAreaTabPage m_aXFillAttr class XFillAttrSetItem cui/source/inc/tabstpge.hxx:85 SvxTabulatorTabPage m_aLeftWin class TabWin_Impl @@ -164,6 +164,8 @@ dbaccess/source/core/dataaccess/connection.hxx:102 dbaccess::OConnection m_nInAppend std::atomic<std::size_t> dbaccess/source/core/inc/databasecontext.hxx:95 dbaccess::ODatabaseContext m_aBasicDLL class BasicDLL +desktop/qa/desktop_lib/test_desktop_lib.cxx:2771 + class AllSettings & drawinglayer/source/tools/emfphelperdata.hxx:198 emfplushelper::EmfPlusHelperData mnFrameRight sal_Int32 drawinglayer/source/tools/emfphelperdata.hxx:199 @@ -204,7 +206,7 @@ include/LibreOfficeKit/LibreOfficeKitGtk.h:38 _LOKDocViewClass parent_class GtkDrawingAreaClass include/oox/export/shapes.hxx:101 oox::drawingml::ShapeExport maShapeMap oox::drawingml::ShapeExport::ShapeHashMap -include/registry/registry.hxx:35 +include/registry/registry.hxx:34 Registry_Api acquire void (*)(RegHandle) include/sfx2/classificationhelper.hxx:123 sfx::ClassificationKeyCreator m_ePolicyType const enum SfxClassificationPolicyType @@ -229,13 +231,13 @@ include/sfx2/msg.hxx:133 include/sfx2/msg.hxx:133 SfxType2 nAttribs sal_uInt16 include/sfx2/msg.hxx:134 - SfxType3 nAttribs sal_uInt16 -include/sfx2/msg.hxx:134 SfxType3 aAttrib struct SfxTypeAttrib [3] include/sfx2/msg.hxx:134 SfxType3 pType const std::type_info * include/sfx2/msg.hxx:134 SfxType3 createSfxPoolItemFunc std::function<SfxPoolItem *(void)> +include/sfx2/msg.hxx:134 + SfxType3 nAttribs sal_uInt16 include/sfx2/msg.hxx:135 SfxType4 createSfxPoolItemFunc std::function<SfxPoolItem *(void)> include/sfx2/msg.hxx:135 @@ -338,8 +340,6 @@ include/svx/ClassificationDialog.hxx:31 svx::ClassificationDialog m_bPerParagraph const _Bool include/svx/imapdlg.hxx:91 SvxIMapDlg aIMapItem class SvxIMapDlgItem -include/svx/itemwin.hxx:33 - SvxLineBox aDelayTimer class Timer include/vcl/commandevent.hxx:310 CommandGestureData mfX const double include/vcl/commandevent.hxx:311 @@ -482,17 +482,17 @@ sal/textenc/textenc.cxx:406 (anonymous namespace)::FullTextEncodingData module_ osl::Module sc/inc/column.hxx:126 ScColumn maCellsEvent const sc::CellStoreEvent -sc/inc/compiler.hxx:261 - ScCompiler::AddInMap pODFF const char * sc/inc/compiler.hxx:262 + ScCompiler::AddInMap pODFF const char * +sc/inc/compiler.hxx:263 ScCompiler::AddInMap pEnglish const char * -sc/inc/compiler.hxx:264 +sc/inc/compiler.hxx:265 ScCompiler::AddInMap pUpper const char * sc/inc/token.hxx:403 SingleDoubleRefModifier aDub struct ScComplexRefData -sc/source/core/data/document.cxx:1240 - (anonymous namespace)::BroadcastRecalcOnRefMoveGuard aSwitch const sc::AutoCalcSwitch sc/source/core/data/document.cxx:1241 + (anonymous namespace)::BroadcastRecalcOnRefMoveGuard aSwitch const sc::AutoCalcSwitch +sc/source/core/data/document.cxx:1242 (anonymous namespace)::BroadcastRecalcOnRefMoveGuard aBulk const class ScBulkBroadcast sc/source/filter/html/htmlpars.cxx:3009 (anonymous namespace)::CSSHandler::MemStr mp const char * @@ -568,7 +568,7 @@ sd/source/ui/remotecontrol/Receiver.hxx:35 sd::Receiver pTransmitter class sd::Transmitter * sd/source/ui/remotecontrol/ZeroconfService.hxx:32 sd::ZeroconfService port const uint -sd/source/ui/view/DocumentRenderer.cxx:1340 +sd/source/ui/view/DocumentRenderer.cxx:1339 sd::DocumentRenderer::Implementation mxObjectShell const SfxObjectShellRef sd/source/ui/view/viewshel.cxx:1161 sd::(anonymous namespace)::KeepSlideSorterInSyncWithPageChanges m_aDrawLock sd::slidesorter::view::class SlideSorterView::DrawLock @@ -578,46 +578,46 @@ sd/source/ui/view/viewshel.cxx:1163 sd::(anonymous namespace)::KeepSlideSorterInSyncWithPageChanges m_aUpdateLock sd::slidesorter::controller::class PageSelector::UpdateLock sd/source/ui/view/viewshel.cxx:1164 sd::(anonymous namespace)::KeepSlideSorterInSyncWithPageChanges m_aContext sd::slidesorter::controller::class SelectionObserver::Context -sdext/source/pdfimport/pdfparse/pdfparse.cxx:262 - (anonymous namespace)::PDFGrammar::definition comment rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:262 - (anonymous namespace)::PDFGrammar::definition stringtype rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:262 - (anonymous namespace)::PDFGrammar::definition null_object rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:262 - (anonymous namespace)::PDFGrammar::definition boolean rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:262 +sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 (anonymous namespace)::PDFGrammar::definition simple_type rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:262 +sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 + (anonymous namespace)::PDFGrammar::definition boolean rule<ScannerT> +sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 (anonymous namespace)::PDFGrammar::definition name rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:262 - (anonymous namespace)::PDFGrammar::definition stream rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 - (anonymous namespace)::PDFGrammar::definition dict_begin rule<ScannerT> + (anonymous namespace)::PDFGrammar::definition stream rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 - (anonymous namespace)::PDFGrammar::definition objectref rule<ScannerT> + (anonymous namespace)::PDFGrammar::definition comment rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 - (anonymous namespace)::PDFGrammar::definition dict_end rule<ScannerT> + (anonymous namespace)::PDFGrammar::definition stringtype rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 + (anonymous namespace)::PDFGrammar::definition null_object rule<ScannerT> +sdext/source/pdfimport/pdfparse/pdfparse.cxx:264 (anonymous namespace)::PDFGrammar::definition array rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 +sdext/source/pdfimport/pdfparse/pdfparse.cxx:264 (anonymous namespace)::PDFGrammar::definition dict_element rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:263 - (anonymous namespace)::PDFGrammar::definition value rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:264 - (anonymous namespace)::PDFGrammar::definition object rule<ScannerT> + (anonymous namespace)::PDFGrammar::definition dict_end rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:264 - (anonymous namespace)::PDFGrammar::definition array_end rule<ScannerT> + (anonymous namespace)::PDFGrammar::definition dict_begin rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:264 - (anonymous namespace)::PDFGrammar::definition array_begin rule<ScannerT> + (anonymous namespace)::PDFGrammar::definition objectref rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:264 + (anonymous namespace)::PDFGrammar::definition value rule<ScannerT> +sdext/source/pdfimport/pdfparse/pdfparse.cxx:265 (anonymous namespace)::PDFGrammar::definition object_begin rule<ScannerT> -sdext/source/pdfimport/pdfparse/pdfparse.cxx:264 +sdext/source/pdfimport/pdfparse/pdfparse.cxx:265 (anonymous namespace)::PDFGrammar::definition object_end rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:265 - (anonymous namespace)::PDFGrammar::definition trailer rule<ScannerT> + (anonymous namespace)::PDFGrammar::definition object rule<ScannerT> sdext/source/pdfimport/pdfparse/pdfparse.cxx:265 + (anonymous namespace)::PDFGrammar::definition array_begin rule<ScannerT> +sdext/source/pdfimport/pdfparse/pdfparse.cxx:265 + (anonymous namespace)::PDFGrammar::definition array_end rule<ScannerT> +sdext/source/pdfimport/pdfparse/pdfparse.cxx:266 (anonymous namespace)::PDFGrammar::definition xref rule<ScannerT> +sdext/source/pdfimport/pdfparse/pdfparse.cxx:266 + (anonymous namespace)::PDFGrammar::definition trailer rule<ScannerT> sfx2/inc/autoredactdialog.hxx:101 SfxAutoRedactDialog m_xDocShell class SfxObjectShellLock sfx2/source/dialog/basedlgs.cxx:45 @@ -632,21 +632,21 @@ slideshow/source/engine/opengl/TransitionImpl.cxx:1989 (anonymous namespace)::ThreeFloats x GLfloat slideshow/source/engine/opengl/TransitionImpl.cxx:1989 (anonymous namespace)::ThreeFloats y GLfloat -slideshow/source/engine/opengl/TransitionImpl.hxx:299 - Vertex normal glm::vec3 slideshow/source/engine/opengl/TransitionImpl.hxx:300 + Vertex normal glm::vec3 +slideshow/source/engine/opengl/TransitionImpl.hxx:301 Vertex texcoord glm::vec2 -slideshow/source/engine/smilfunctionparser.cxx:491 +slideshow/source/engine/smilfunctionparser.cxx:493 slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition multiplicativeExpression ::boost::spirit::rule<ScannerT> -slideshow/source/engine/smilfunctionparser.cxx:492 +slideshow/source/engine/smilfunctionparser.cxx:494 slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition unaryExpression ::boost::spirit::rule<ScannerT> -slideshow/source/engine/smilfunctionparser.cxx:493 +slideshow/source/engine/smilfunctionparser.cxx:495 slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition basicExpression ::boost::spirit::rule<ScannerT> -slideshow/source/engine/smilfunctionparser.cxx:494 +slideshow/source/engine/smilfunctionparser.cxx:496 slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition unaryFunction ::boost::spirit::rule<ScannerT> -slideshow/source/engine/smilfunctionparser.cxx:495 +slideshow/source/engine/smilfunctionparser.cxx:497 slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition binaryFunction ::boost::spirit::rule<ScannerT> -slideshow/source/engine/smilfunctionparser.cxx:496 +slideshow/source/engine/smilfunctionparser.cxx:498 slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition identifier ::boost::spirit::rule<ScannerT> starmath/inc/view.hxx:216 SmViewShell maGraphicController const class SmGraphicController @@ -664,8 +664,6 @@ svl/source/crypto/cryptosign.cxx:284 (anonymous namespace)::PKIStatusInfo statusString SECItem svl/source/crypto/cryptosign.cxx:285 (anonymous namespace)::PKIStatusInfo failInfo SECItem -svx/inc/galbrws2.hxx:79 - GalleryBrowser2 maMiscOptions class SvtMiscOptions svx/inc/GalleryControl.hxx:42 svx::sidebar::GalleryControl mpGallery class Gallery * svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1083 @@ -706,14 +704,14 @@ svx/source/stbctrls/zoomctrl.cxx:62 (anonymous namespace)::ZoomPopup_Impl m_aBuilder class VclBuilder svx/source/svdraw/svdcrtv.cxx:53 ImplConnectMarkerOverlay maObjects sdr::overlay::OverlayObjectList +svx/source/tbxctrls/extrusioncontrols.hxx:66 + svx::ExtrusionDirectionWindow maImgDirection class Image [9] svx/source/xml/xmleohlp.cxx:72 OutputStorageWrapper_Impl aTempFile class utl::TempFile sw/inc/unosett.hxx:145 SwXNumberingRules m_pImpl ::sw::UnoImplPtr<Impl> sw/qa/core/test_ToxTextGenerator.cxx:145 (anonymous namespace)::ToxTextGeneratorWithMockedChapterField mChapterFieldType class SwChapterFieldType -sw/qa/extras/uiwriter/uiwriter2.cxx:70 - class SwUiWriterTest2 * sw/qa/extras/uiwriter/uiwriter.cxx:4137 (anonymous namespace)::IdleTask maIdle class Idle sw/source/core/crsr/crbm.cxx:64 @@ -752,7 +750,7 @@ ucb/source/ucp/gio/gio_mount.hxx:79 OOoMountOperationClass _gtk_reserved3 void (*)(void) ucb/source/ucp/gio/gio_mount.hxx:80 OOoMountOperationClass _gtk_reserved4 void (*)(void) -vcl/headless/svpgdi.cxx:329 +vcl/headless/svpgdi.cxx:317 (anonymous namespace)::SourceHelper aTmpBmp class SvpSalBitmap vcl/inc/canvasbitmap.hxx:42 vcl::unotools::VclCanvasBitmap m_aAlpha ::Bitmap @@ -802,9 +800,9 @@ vcl/inc/WidgetThemeLibrary.hxx:93 vcl::ControlDrawParameters eState enum ControlState vcl/inc/WidgetThemeLibrary.hxx:109 vcl::WidgetThemeLibrary_t nSize uint32_t -vcl/source/app/salvtables.cxx:3356 +vcl/source/app/salvtables.cxx:3357 (anonymous namespace)::SalInstanceEntry m_aTextFilter class (anonymous namespace)::WeldTextFilter -vcl/source/app/salvtables.cxx:6194 +vcl/source/app/salvtables.cxx:6195 (anonymous namespace)::SalInstanceComboBoxWithEdit m_aTextFilter class (anonymous namespace)::WeldTextFilter vcl/source/gdi/jobset.cxx:37 (anonymous namespace)::ImplOldJobSetupData cDeviceName char [32] @@ -828,8 +826,6 @@ vcl/unx/gtk3/gtk3glomenu.cxx:14 GLOMenu parent_instance const GMenuModel vcl/unx/gtk3/gtk3gtkinst.cxx:5071 (anonymous namespace)::CrippledViewport viewport GtkViewport -vcl/unx/kf5/KF5FilePicker.hxx:32 - KF5FilePicker _layout class QGridLayout * writerfilter/source/dmapper/PropertyMap.hxx:204 writerfilter::dmapper::SectionPropertyMap m_nDebugSectionNumber sal_Int32 xmloff/source/chart/transporttypes.hxx:149 |