summaryrefslogtreecommitdiffstats
path: root/clang/docs
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2019-05-30 16:46:22 +0000
committerJ. Ryan Stinnett <jryans@gmail.com>2019-05-30 16:46:22 +0000
commitd45eaf9405c865cae0737a92d5ebce4e485106c3 (patch)
tree27684d5f8705c3a8055d8aa424c68ed82104267a /clang/docs
parent2e1807678d4d49abfe03489641141d777baf9ad4 (diff)
downloadbcm5719-llvm-d45eaf9405c865cae0737a92d5ebce4e485106c3.tar.gz
bcm5719-llvm-d45eaf9405c865cae0737a92d5ebce4e485106c3.zip
[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 llvm-svn: 362113
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/AddressSanitizer.rst8
-rw-r--r--clang/docs/AutomaticReferenceCounting.rst2
-rw-r--r--clang/docs/ClangCommandLineReference.rst2
-rw-r--r--clang/docs/CommandGuide/clang.rst2
-rw-r--r--clang/docs/LeakSanitizer.rst2
-rw-r--r--clang/docs/Modules.rst2
-rw-r--r--clang/docs/SafeStack.rst2
-rw-r--r--clang/docs/UndefinedBehaviorSanitizer.rst2
-rw-r--r--clang/docs/UsersManual.rst8
-rw-r--r--clang/docs/analyzer/checkers.rst2
-rw-r--r--clang/docs/analyzer/developer-docs/DebugChecks.rst2
11 files changed, 17 insertions, 17 deletions
diff --git a/clang/docs/AddressSanitizer.rst b/clang/docs/AddressSanitizer.rst
index 67ef59b5ea2..05888dce6a2 100644
--- a/clang/docs/AddressSanitizer.rst
+++ b/clang/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/clang/docs/AutomaticReferenceCounting.rst b/clang/docs/AutomaticReferenceCounting.rst
index 746c445f901..9e4456085b6 100644
--- a/clang/docs/AutomaticReferenceCounting.rst
+++ b/clang/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/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst
index 5ec947a7c0b..ddba3b10b78 100644
--- a/clang/docs/ClangCommandLineReference.rst
+++ b/clang/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>
-Set Mac OS X deployment target
+Set macOS deployment target
.. option:: -mmcu=<arg>
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index a75b6c91157..84e0dddb8e1 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -316,7 +316,7 @@ number of cross compilers, or may only support a native target.
.. 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.
.. option:: -miphoneos-version-min
diff --git a/clang/docs/LeakSanitizer.rst b/clang/docs/LeakSanitizer.rst
index 3601587c42f..53a3ee15055 100644
--- a/clang/docs/LeakSanitizer.rst
+++ b/clang/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/clang/docs/Modules.rst b/clang/docs/Modules.rst
index 7aee4ffee2d..34ad55a4876 100644
--- a/clang/docs/Modules.rst
+++ b/clang/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/clang/docs/SafeStack.rst b/clang/docs/SafeStack.rst
index c1e09da9355..8b5557bf59b 100644
--- a/clang/docs/SafeStack.rst
+++ b/clang/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/clang/docs/UndefinedBehaviorSanitizer.rst b/clang/docs/UndefinedBehaviorSanitizer.rst
index 1e06a181b23..2456f5040d4 100644
--- a/clang/docs/UndefinedBehaviorSanitizer.rst
+++ b/clang/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/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst
index c9195e90827..39d9d966b24 100644
--- a/clang/docs/UsersManual.rst
+++ b/clang/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/clang/docs/analyzer/checkers.rst b/clang/docs/analyzer/checkers.rst
index 6a266eb1d9e..93b8f0cbf5c 100644
--- a/clang/docs/analyzer/checkers.rst
+++ b/clang/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/clang/docs/analyzer/developer-docs/DebugChecks.rst b/clang/docs/analyzer/developer-docs/DebugChecks.rst
index 56ce015d645..3f9bed78604 100644
--- a/clang/docs/analyzer/developer-docs/DebugChecks.rst
+++ b/clang/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
OpenPOWER on IntegriCloud