From: J. Ryan Stinnett Date: Thu, 30 May 2019 16:46:22 +0000 (+0000) Subject: [Docs] Modernize references to macOS X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0995aac68ee0d35648cd8a7577689a8bec29be6d;p=clang [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 --- diff --git a/docs/AddressSanitizer.rst b/docs/AddressSanitizer.rst index 67ef59b5ea..05888dce6a 100644 --- a/docs/AddressSanitizer.rst +++ b/docs/AddressSanitizer.rst @@ -119,7 +119,7 @@ force disabled by setting ``ASAN_OPTIONS=symbolize=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. Additional Checks @@ -134,14 +134,14 @@ globals defined in another translation unit. To enable this check at runtime, you should set environment variable ``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 --------------------- For more information on leak detector in AddressSanitizer, see :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. Issue Suppression @@ -273,7 +273,7 @@ Supported Platforms AddressSanitizer is supported on: * 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 * Android ARM * NetBSD i386/x86\_64 diff --git a/docs/AutomaticReferenceCounting.rst b/docs/AutomaticReferenceCounting.rst index 746c445f90..9e4456085b 100644 --- a/docs/AutomaticReferenceCounting.rst +++ b/docs/AutomaticReferenceCounting.rst @@ -268,7 +268,7 @@ ARC's semantics and restrictions. * There must be reliable conventions for whether and when "ownership" is passed between caller and callee, for both arguments and return values. 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 varied transfer semantics. diff --git a/docs/ClangCommandLineReference.rst b/docs/ClangCommandLineReference.rst index 5ec947a7c0..ddba3b10b7 100644 --- a/docs/ClangCommandLineReference.rst +++ b/docs/ClangCommandLineReference.rst @@ -2218,7 +2218,7 @@ Generate branches with extended addressability, usually via indirect jumps. .. option:: -mmacosx-version-min=, -mmacos-version-min= -Set Mac OS X deployment target +Set macOS deployment target .. option:: -mmcu= diff --git a/docs/CommandGuide/clang.rst b/docs/CommandGuide/clang.rst index a75b6c9115..84e0dddb8e 100644 --- a/docs/CommandGuide/clang.rst +++ b/docs/CommandGuide/clang.rst @@ -316,7 +316,7 @@ number of cross compilers, or may only support a native target. .. option:: -mmacosx-version-min= - 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. .. option:: -miphoneos-version-min diff --git a/docs/LeakSanitizer.rst b/docs/LeakSanitizer.rst index 3601587c42..53a3ee1505 100644 --- a/docs/LeakSanitizer.rst +++ b/docs/LeakSanitizer.rst @@ -17,7 +17,7 @@ detection phase. 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`: .. code-block:: console diff --git a/docs/Modules.rst b/docs/Modules.rst index 7aee4ffee2..34ad55a487 100644 --- a/docs/Modules.rst +++ b/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 ``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:: diff --git a/docs/SafeStack.rst b/docs/SafeStack.rst index c1e09da935..8b5557bf59 100644 --- a/docs/SafeStack.rst +++ b/docs/SafeStack.rst @@ -126,7 +126,7 @@ and link command lines. Supported Platforms ------------------- -SafeStack was tested on Linux, NetBSD, FreeBSD and MacOSX. +SafeStack was tested on Linux, NetBSD, FreeBSD and macOS. Low-level API ------------- diff --git a/docs/UndefinedBehaviorSanitizer.rst b/docs/UndefinedBehaviorSanitizer.rst index 1e06a181b2..2456f5040d 100644 --- a/docs/UndefinedBehaviorSanitizer.rst +++ b/docs/UndefinedBehaviorSanitizer.rst @@ -295,7 +295,7 @@ UndefinedBehaviorSanitizer is supported on the following operating systems: * NetBSD * FreeBSD * OpenBSD -* OS X 10.6 onwards +* macOS * Windows The runtime library is relatively portable and platform independent. If the OS diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst index c9195e9082..39d9d966b2 100644 --- a/docs/UsersManual.rst +++ b/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 details of precompiled headers vary between compilers, precompiled 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 ^^^^^^^^^^^^^^^^^^^^^ @@ -2746,7 +2746,7 @@ X86 ^^^ 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++ codebases. @@ -2801,8 +2801,8 @@ backend. Operating System Features and Limitations ----------------------------------------- -Darwin (Mac OS X) -^^^^^^^^^^^^^^^^^ +Darwin (macOS) +^^^^^^^^^^^^^^ Thread Sanitizer is not supported. diff --git a/docs/analyzer/checkers.rst b/docs/analyzer/checkers.rst index 6a266eb1d9..93b8f0cbf5 100644 --- a/docs/analyzer/checkers.rst +++ b/docs/analyzer/checkers.rst @@ -778,7 +778,7 @@ Check for null pointers being passed as arguments to C string functions: osx ^^^ -OS X checkers. +macOS checkers. osx.API (C) """"""""""" diff --git a/docs/analyzer/developer-docs/DebugChecks.rst b/docs/analyzer/developer-docs/DebugChecks.rst index 56ce015d64..3f9bed7860 100644 --- a/docs/analyzer/developer-docs/DebugChecks.rst +++ b/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 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 the current translation unit. This is used to determine the order in which to