[mythtv-commits] [MythTV/mythtv] b4f457: tidy: Mark "auto" variable as "const" or pointer.
linuxdude42
noreply at github.com
Tue Jan 28 00:05:10 UTC 2020
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: b4f457c027d05930f9cebd382b48f611811fc0be
https://github.com/MythTV/mythtv/commit/b4f457c027d05930f9cebd382b48f611811fc0be
Author: David Hampton <mythtv at love2code.net>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mythplugins/mytharchive/mytharchive/mythburn.cpp
M mythplugins/mytharchive/mytharchive/recordingselector.cpp
M mythplugins/mytharchive/mytharchive/videoselector.cpp
M mythplugins/mythgame/mythgame/gamehandler.cpp
M mythplugins/mythgame/mythgame/gamesettings.cpp
M mythplugins/mythgame/mythgame/gameui.cpp
M mythplugins/mythgame/mythgame/main.cpp
M mythplugins/mythgame/mythgame/romedit.cpp
M mythplugins/mythmusic/mythmusic/cdrip.cpp
M mythplugins/mythmusic/mythmusic/editmetadata.cpp
M mythplugins/mythmusic/mythmusic/importmusic.cpp
M mythplugins/mythmusic/mythmusic/lyricsview.cpp
M mythplugins/mythmusic/mythmusic/musiccommon.cpp
M mythplugins/mythmusic/mythmusic/playlisteditorview.cpp
M mythplugins/mythmusic/mythmusic/searchview.cpp
M mythplugins/mythmusic/mythmusic/smartplaylist.cpp
M mythplugins/mythmusic/mythmusic/streamview.cpp
M mythplugins/mythnetvision/mythnetvision/rsseditor.cpp
M mythplugins/mythnews/mythnews/mythnews.cpp
M mythplugins/mythweather/mythweather/weatherScreen.cpp
M mythplugins/mythweather/mythweather/weatherSetup.cpp
M mythplugins/mythzoneminder/mythzmserver/zmserver.cpp
M mythplugins/mythzoneminder/mythzoneminder/zmevents.cpp
M mythplugins/mythzoneminder/mythzoneminder/zmliveplayer.cpp
M mythtv/libs/libmyth/audio/audiooutput.cpp
M mythtv/libs/libmyth/backendselect.cpp
M mythtv/libs/libmyth/langsettings.cpp
M mythtv/libs/libmyth/mythmediamonitor.cpp
M mythtv/libs/libmyth/programinfo.cpp
M mythtv/libs/libmyth/rawsettingseditor.cpp
M mythtv/libs/libmyth/schemawizard.cpp
M mythtv/libs/libmyth/standardsettings.cpp
M mythtv/libs/libmyth/test/test_settings/test_settings.h
M mythtv/libs/libmythbase/mythdownloadmanager.cpp
M mythtv/libs/libmythbase/test/test_mythsorthelper/test_mythsorthelper.cpp
M mythtv/libs/libmythmetadata/metadatafactory.cpp
M mythtv/libs/libmythmetadata/metaioflacvorbis.cpp
M mythtv/libs/libmythmetadata/metaioid3.cpp
M mythtv/libs/libmythtv/AirPlay/mythairplayserver.cpp
M mythtv/libs/libmythtv/AirPlay/mythraopconnection.cpp
M mythtv/libs/libmythtv/cc608reader.h
M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
M mythtv/libs/libmythtv/channelutil.cpp
M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
M mythtv/libs/libmythtv/decoders/mythvaapicontext.cpp
M mythtv/libs/libmythtv/decoders/nuppeldecoder.cpp
M mythtv/libs/libmythtv/diseqc.cpp
M mythtv/libs/libmythtv/mpeg/mpegdescriptors.cpp
M mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
M mythtv/libs/libmythtv/mpeg/mpegtables.cpp
M mythtv/libs/libmythtv/mpeg/splicedescriptors.cpp
M mythtv/libs/libmythtv/mythplayer.cpp
M mythtv/libs/libmythtv/opengl/mythdrmprimeinterop.cpp
M mythtv/libs/libmythtv/osd.cpp
M mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp
M mythtv/libs/libmythtv/recorders/signalmonitor.cpp
M mythtv/libs/libmythtv/subtitlescreen.cpp
M mythtv/libs/libmythtv/transporteditor.cpp
M mythtv/libs/libmythtv/tv_play.cpp
M mythtv/libs/libmythtv/videobuffers.cpp
M mythtv/libs/libmythtv/visualisations/videovisual.cpp
M mythtv/libs/libmythui/mythdialogbox.cpp
M mythtv/libs/libmythui/mythmainwindow.cpp
M mythtv/libs/libmythui/mythscreenstack.cpp
M mythtv/libs/libmythupnp/upnpcdsobjects.cpp
M mythtv/programs/mythbackend/autoexpire.cpp
M mythtv/programs/mythbackend/mainserver.cpp
M mythtv/programs/mythbackend/scheduler.cpp
M mythtv/programs/mythbackend/services/dvr.cpp
M mythtv/programs/mythcommflag/CommDetector2.cpp
M mythtv/programs/mythfrontend/galleryconfig.cpp
M mythtv/programs/mythfrontend/galleryviews.cpp
M mythtv/programs/mythfrontend/main.cpp
M mythtv/programs/mythfrontend/playbackbox.cpp
M mythtv/programs/mythfrontend/prevreclist.cpp
M mythtv/programs/mythfrontend/progfind.cpp
M mythtv/programs/mythfrontend/proglist.cpp
M mythtv/programs/mythfrontend/programrecpriority.cpp
M mythtv/programs/mythfrontend/statusbox.cpp
M mythtv/programs/mythfrontend/videolist.cpp
M mythtv/programs/mythfrontend/videoplayercommand.cpp
M mythtv/programs/mythfrontend/viewschedulediff.cpp
M mythtv/programs/mythmetadatalookup/lookup.cpp
M mythtv/programs/mythutil/recordingutils.cpp
M mythtv/programs/mythwelcome/welcomesettings.cpp
Log Message:
-----------
tidy: Mark "auto" variable as "const" or pointer.
The new clang-tidy-11 "qualified auto" checker pointed out many places
where the deduced variable was a pointer to an object, so "auto foo"
should be replaced with "auto *foo" to make is obvious that the
variable is a pointer. There were also a few instances where the the
deduced variable was a const pointer to an object, so in these cases
"auto foo" should be replaced with "const auto *foo". These changes
don't have any affect on the resulting executable; they only affect
the readability of the code. All changes made by clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/readability-qualified-auto.html
More information about the mythtv-commits
mailing list