gecko-dev/widget/cocoa
Markus Stange 8b1165f038 Bug 1691213 - Apply 'readability-else-after-return' and 'modernize-use-nullptr' clang-tidy fixes to native menu code. r=spohl
This patch was generated automatically, using the command
~/.mozbuild/clang-tools/clang-tidy/bin/clang-tidy widget/cocoa/nsMenu*.mm widget/cocoa/nsStandaloneNativeMenu.mm -fix -checks="readability-else-after-return,modernize-use-nullptr" -p /Users/mstange/code/obj-m-opt/clangd/

(and running it repeatedly until the entire if/return/else chain in nsMenuBarX.mm was handled)

Differential Revision: https://phabricator.services.mozilla.com/D104316
2021-02-11 19:44:00 +00:00
..
crashtests
cursors
docs
resources/MainMenu.nib
CFTypeRefPtr.h
CustomCocoaEvents.h
DesktopBackgroundImage.h
DesktopBackgroundImage.mm
GfxInfo.h
GfxInfo.mm Bug 1686946 - Ship Software WebRender to OSX early beta/nightly users without (full) WebRender. r=jrmuizel 2021-02-11 17:53:40 +00:00
IconLoaderHelperCocoa.h
IconLoaderHelperCocoa.mm
MediaHardwareKeysEventSourceMac.h
MediaHardwareKeysEventSourceMac.mm
MediaHardwareKeysEventSourceMacMediaCenter.h
MediaHardwareKeysEventSourceMacMediaCenter.mm
MediaKeysEventSourceFactory.cpp
NativeKeyBindings.h
NativeKeyBindings.mm
NativeMenuSupport.h Bug 1691213 - DeCOMtaminate nsINativeMenuService and rename it to mozilla::widget::NativeMenuSupport. r=spohl 2021-02-11 19:43:58 +00:00
NativeMenuSupport.mm Bug 1691213 - DeCOMtaminate nsINativeMenuService and rename it to mozilla::widget::NativeMenuSupport. r=spohl 2021-02-11 19:43:58 +00:00
OSXNotificationCenter.h
OSXNotificationCenter.mm
ScreenHelperCocoa.h
ScreenHelperCocoa.mm
SwipeTracker.h
SwipeTracker.mm
TextInputHandler.h
TextInputHandler.mm
VibrancyManager.h
VibrancyManager.mm
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm
components.conf
moz.build Bug 1691213 - DeCOMtaminate nsINativeMenuService and rename it to mozilla::widget::NativeMenuSupport. r=spohl 2021-02-11 19:43:58 +00:00
mozView.h
nsAppShell.h
nsAppShell.mm
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h
nsChildView.h
nsChildView.mm Bug 1691213 - Share mostly-duplicated function NativeMenuItemWithLocation. r=spohl 2021-02-11 19:43:58 +00:00
nsClipboard.h
nsClipboard.mm
nsCocoaFeatures.h
nsCocoaFeatures.mm
nsCocoaUtils.h
nsCocoaUtils.mm
nsCocoaWindow.h
nsCocoaWindow.mm Bug 1691171 - Use -[NSWindow beginSheet:completionHandler:] instead of the deprecated NSApplication method. r=spohl 2021-02-11 19:43:57 +00:00
nsColorPicker.h
nsColorPicker.mm
nsCursorManager.h
nsCursorManager.mm
nsDeviceContextSpecX.h
nsDeviceContextSpecX.mm
nsDragService.h
nsDragService.mm
nsFilePicker.h
nsFilePicker.mm
nsLookAndFeel.h Bug 1691793 - set prefers-contrast to more when accessibilityDisplayShouldIncreaseContrast setting is set to true. r=morgan 2021-02-10 17:52:56 +00:00
nsLookAndFeel.mm Bug 1691781 - Make Linux tab bar use the darker of the highlight / highlighttext colors. r=dao 2021-02-11 16:36:54 +00:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h
nsMacDockSupport.mm
nsMacFinderProgress.h
nsMacFinderProgress.mm
nsMacSharingService.h
nsMacSharingService.mm
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h Bug 1691213 - Remove unused method nsMenuBarX::GetLocalizedAccelKey. r=spohl 2021-02-11 19:43:58 +00:00
nsMenuBarX.mm Bug 1691213 - Apply 'readability-else-after-return' and 'modernize-use-nullptr' clang-tidy fixes to native menu code. r=spohl 2021-02-11 19:44:00 +00:00
nsMenuBaseX.h
nsMenuGroupOwnerX.h
nsMenuGroupOwnerX.mm Bug 1691213 - Apply 'readability-else-after-return' and 'modernize-use-nullptr' clang-tidy fixes to native menu code. r=spohl 2021-02-11 19:44:00 +00:00
nsMenuItemIconX.h
nsMenuItemIconX.mm Bug 1691213 - Add missing braces in cocoa menu code. r=spohl 2021-02-11 19:43:59 +00:00
nsMenuItemX.h
nsMenuItemX.mm Bug 1691213 - Add missing braces in cocoa menu code. r=spohl 2021-02-11 19:43:59 +00:00
nsMenuUtilsX.h Bug 1691213 - Share mostly-duplicated function NativeMenuItemWithLocation. r=spohl 2021-02-11 19:43:58 +00:00
nsMenuUtilsX.mm Bug 1691213 - Apply 'readability-else-after-return' and 'modernize-use-nullptr' clang-tidy fixes to native menu code. r=spohl 2021-02-11 19:44:00 +00:00
nsMenuX.h
nsMenuX.mm Bug 1691213 - Apply 'readability-else-after-return' and 'modernize-use-nullptr' clang-tidy fixes to native menu code. r=spohl 2021-02-11 19:44:00 +00:00
nsNativeBasicThemeCocoa.cpp
nsNativeBasicThemeCocoa.h
nsNativeThemeCocoa.h
nsNativeThemeCocoa.mm
nsNativeThemeColors.h
nsPIWidgetCocoa.idl
nsPrintDialogX.h
nsPrintDialogX.mm
nsPrintSettingsServiceX.h
nsPrintSettingsServiceX.mm
nsPrintSettingsX.h
nsPrintSettingsX.mm
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsSound.h
nsSound.mm
nsStandaloneNativeMenu.h
nsStandaloneNativeMenu.mm Bug 1691213 - Apply 'readability-else-after-return' and 'modernize-use-nullptr' clang-tidy fixes to native menu code. r=spohl 2021-02-11 19:44:00 +00:00
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm
nsToolkit.h
nsToolkit.mm
nsTouchBar.h
nsTouchBar.mm
nsTouchBarInput.h
nsTouchBarInput.mm
nsTouchBarInputIcon.h
nsTouchBarInputIcon.mm
nsTouchBarNativeAPIDefines.h
nsTouchBarUpdater.h
nsTouchBarUpdater.mm
nsUserIdleServiceX.h
nsUserIdleServiceX.mm
nsWidgetFactory.mm Bug 1691213 - DeCOMtaminate nsINativeMenuService and rename it to mozilla::widget::NativeMenuSupport. r=spohl 2021-02-11 19:43:58 +00:00
nsWindowMap.h
nsWindowMap.mm