Bläddra i källkod

[Docs] Modernize references to macOS

Summary:
This updates all places in documentation that refer to "Mac OS X", "OS X", etc.
to instead use the modern name "macOS" when no specific version number is
mentioned.

If a specific version is mentioned, this attempts to use the OS name at the time
of that version:

* Mac OS X for 10.0 - 10.7
* OS X for 10.8 - 10.11
* macOS for 10.12 - present

Reviewers: JDevlieghere

Subscribers: mgorny, christof, arphaman, cfe-commits, lldb-commits, libcxx-commits, llvm-commits

Tags: #clang, #lldb, #libc, #llvm

Differential Revision: https://reviews.llvm.org/D62654

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362113 91177308-0d34-0410-b5e6-96231b3b80d8
J. Ryan Stinnett 6 år sedan
förälder
incheckning
0995aac68e

+ 4 - 4
docs/AddressSanitizer.rst

@@ -119,7 +119,7 @@ force disabled by setting ``ASAN_OPTIONS=symbolize=0``):
         #1 0x7f7ddabcac4d in __libc_start_main ??:0
         #1 0x7f7ddabcac4d in __libc_start_main ??:0
     ...
     ...
 
 
-Note that on OS X you may need to run ``dsymutil`` on your binary to have the
+Note that on macOS you may need to run ``dsymutil`` on your binary to have the
 file\:line info in the AddressSanitizer reports.
 file\:line info in the AddressSanitizer reports.
 
 
 Additional Checks
 Additional Checks
@@ -134,14 +134,14 @@ globals defined in another translation unit. To enable this check at runtime,
 you should set environment variable
 you should set environment variable
 ``ASAN_OPTIONS=check_initialization_order=1``.
 ``ASAN_OPTIONS=check_initialization_order=1``.
 
 
-Note that this option is not supported on OS X.
+Note that this option is not supported on macOS.
 
 
 Memory leak detection
 Memory leak detection
 ---------------------
 ---------------------
 
 
 For more information on leak detector in AddressSanitizer, see
 For more information on leak detector in AddressSanitizer, see
 :doc:`LeakSanitizer`. The leak detection is turned on by default on Linux,
 :doc:`LeakSanitizer`. The leak detection is turned on by default on Linux,
-and can be enabled using ``ASAN_OPTIONS=detect_leaks=1`` on OS X;
+and can be enabled using ``ASAN_OPTIONS=detect_leaks=1`` on macOS;
 however, it is not yet supported on other platforms.
 however, it is not yet supported on other platforms.
 
 
 Issue Suppression
 Issue Suppression
@@ -273,7 +273,7 @@ Supported Platforms
 AddressSanitizer is supported on:
 AddressSanitizer is supported on:
 
 
 * Linux i386/x86\_64 (tested on Ubuntu 12.04)
 * Linux i386/x86\_64 (tested on Ubuntu 12.04)
-* OS X 10.7 - 10.11 (i386/x86\_64)
+* macOS 10.7 - 10.11 (i386/x86\_64)
 * iOS Simulator
 * iOS Simulator
 * Android ARM
 * Android ARM
 * NetBSD i386/x86\_64
 * NetBSD i386/x86\_64

+ 1 - 1
docs/AutomaticReferenceCounting.rst

@@ -268,7 +268,7 @@ ARC's semantics and restrictions.
   * There must be reliable conventions for whether and when "ownership" is
   * There must be reliable conventions for whether and when "ownership" is
     passed between caller and callee, for both arguments and return values.
     passed between caller and callee, for both arguments and return values.
     Objective-C methods follow such a convention very reliably, at least for
     Objective-C methods follow such a convention very reliably, at least for
-    system libraries on Mac OS X, and functions always pass objects at +0.  The
+    system libraries on macOS, and functions always pass objects at +0.  The
     C-based APIs for Core Foundation objects, on the other hand, have much more
     C-based APIs for Core Foundation objects, on the other hand, have much more
     varied transfer semantics.
     varied transfer semantics.
 
 

+ 1 - 1
docs/ClangCommandLineReference.rst

@@ -2218,7 +2218,7 @@ Generate branches with extended addressability, usually via indirect jumps.
 
 
 .. option:: -mmacosx-version-min=<arg>, -mmacos-version-min=<arg>
 .. option:: -mmacosx-version-min=<arg>, -mmacos-version-min=<arg>
 
 
-Set Mac OS X deployment target
+Set macOS deployment target
 
 
 .. option:: -mmcu=<arg>
 .. option:: -mmcu=<arg>
 
 

+ 1 - 1
docs/CommandGuide/clang.rst

@@ -316,7 +316,7 @@ number of cross compilers, or may only support a native target.
 
 
 .. option:: -mmacosx-version-min=<version>
 .. option:: -mmacosx-version-min=<version>
 
 
-  When building for Mac OS X, specify the minimum version supported by your
+  When building for macOS, specify the minimum version supported by your
   application.
   application.
 
 
 .. option:: -miphoneos-version-min
 .. option:: -miphoneos-version-min

+ 1 - 1
docs/LeakSanitizer.rst

@@ -17,7 +17,7 @@ detection phase.
 Usage
 Usage
 =====
 =====
 
 
-LeakSanitizer is supported on x86\_64 Linux and OS X. In order to use it,
+LeakSanitizer is supported on x86\_64 Linux and macOS. In order to use it,
 simply build your program with :doc:`AddressSanitizer`:
 simply build your program with :doc:`AddressSanitizer`:
 
 
 .. code-block:: console
 .. code-block:: console

+ 1 - 1
docs/Modules.rst

@@ -360,7 +360,7 @@ The *module-id* should consist of only a single *identifier*, which provides the
 
 
 The ``explicit`` qualifier can only be applied to a submodule, i.e., a module that is nested within another module. The contents of explicit submodules are only made available when the submodule itself was explicitly named in an import declaration or was re-exported from an imported module.
 The ``explicit`` qualifier can only be applied to a submodule, i.e., a module that is nested within another module. The contents of explicit submodules are only made available when the submodule itself was explicitly named in an import declaration or was re-exported from an imported module.
 
 
-The ``framework`` qualifier specifies that this module corresponds to a Darwin-style framework. A Darwin-style framework (used primarily on Mac OS X and iOS) is contained entirely in directory ``Name.framework``, where ``Name`` is the name of the framework (and, therefore, the name of the module). That directory has the following layout:
+The ``framework`` qualifier specifies that this module corresponds to a Darwin-style framework. A Darwin-style framework (used primarily on macOS and iOS) is contained entirely in directory ``Name.framework``, where ``Name`` is the name of the framework (and, therefore, the name of the module). That directory has the following layout:
 
 
 .. parsed-literal::
 .. parsed-literal::
 
 

+ 1 - 1
docs/SafeStack.rst

@@ -126,7 +126,7 @@ and link command lines.
 Supported Platforms
 Supported Platforms
 -------------------
 -------------------
 
 
-SafeStack was tested on Linux, NetBSD, FreeBSD and MacOSX.
+SafeStack was tested on Linux, NetBSD, FreeBSD and macOS.
 
 
 Low-level API
 Low-level API
 -------------
 -------------

+ 1 - 1
docs/UndefinedBehaviorSanitizer.rst

@@ -295,7 +295,7 @@ UndefinedBehaviorSanitizer is supported on the following operating systems:
 * NetBSD
 * NetBSD
 * FreeBSD
 * FreeBSD
 * OpenBSD
 * OpenBSD
-* OS X 10.6 onwards
+* macOS
 * Windows
 * Windows
 
 
 The runtime library is relatively portable and platform independent. If the OS
 The runtime library is relatively portable and platform independent. If the OS

+ 4 - 4
docs/UsersManual.rst

@@ -1006,7 +1006,7 @@ on-disk cache that contains the vital information necessary to reduce
 some of the work needed to process a corresponding header file. While
 some of the work needed to process a corresponding header file. While
 details of precompiled headers vary between compilers, precompiled
 details of precompiled headers vary between compilers, precompiled
 headers have been shown to be highly effective at speeding up program
 headers have been shown to be highly effective at speeding up program
-compilation on systems with very large system headers (e.g., Mac OS X).
+compilation on systems with very large system headers (e.g., macOS).
 
 
 Generating a PCH File
 Generating a PCH File
 ^^^^^^^^^^^^^^^^^^^^^
 ^^^^^^^^^^^^^^^^^^^^^
@@ -2746,7 +2746,7 @@ X86
 ^^^
 ^^^
 
 
 The support for X86 (both 32-bit and 64-bit) is considered stable on
 The support for X86 (both 32-bit and 64-bit) is considered stable on
-Darwin (Mac OS X), Linux, FreeBSD, and Dragonfly BSD: it has been tested
+Darwin (macOS), Linux, FreeBSD, and Dragonfly BSD: it has been tested
 to correctly compile many large C, C++, Objective-C, and Objective-C++
 to correctly compile many large C, C++, Objective-C, and Objective-C++
 codebases.
 codebases.
 
 
@@ -2801,8 +2801,8 @@ backend.
 Operating System Features and Limitations
 Operating System Features and Limitations
 -----------------------------------------
 -----------------------------------------
 
 
-Darwin (Mac OS X)
-^^^^^^^^^^^^^^^^^
+Darwin (macOS)
+^^^^^^^^^^^^^^
 
 
 Thread Sanitizer is not supported.
 Thread Sanitizer is not supported.
 
 

+ 1 - 1
docs/analyzer/checkers.rst

@@ -778,7 +778,7 @@ Check for null pointers being passed as arguments to C string functions:
 
 
 osx
 osx
 ^^^
 ^^^
-OS X checkers.
+macOS checkers.
 
 
 osx.API (C)
 osx.API (C)
 """""""""""
 """""""""""

+ 1 - 1
docs/analyzer/developer-docs/DebugChecks.rst

@@ -15,7 +15,7 @@ General Analysis Dumpers
 
 
 These checkers are used to dump the results of various infrastructural analyses
 These checkers are used to dump the results of various infrastructural analyses
 to stderr. Some checkers also have "view" variants, which will display a graph
 to stderr. Some checkers also have "view" variants, which will display a graph
-using a 'dot' format viewer (such as Graphviz on OS X) instead.
+using a 'dot' format viewer (such as Graphviz on macOS) instead.
 
 
 - debug.DumpCallGraph, debug.ViewCallGraph: Show the call graph generated for
 - debug.DumpCallGraph, debug.ViewCallGraph: Show the call graph generated for
   the current translation unit. This is used to determine the order in which to
   the current translation unit. This is used to determine the order in which to