diff options
author | Manman Ren <manman.ren@gmail.com> | 2016-06-28 20:55:30 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2016-06-28 20:55:30 +0000 |
commit | ccf25bbf3fdf2905bba9a3b199d5367e9c88db43 (patch) | |
tree | a8870395a55c30b88629abfdb4acaba8baeb4982 /clang/include/clang-c | |
parent | 4a93c59e7f30fb8a76a4ded8d2329c4a4da3974f (diff) | |
download | bcm5719-llvm-ccf25bbf3fdf2905bba9a3b199d5367e9c88db43.tar.gz bcm5719-llvm-ccf25bbf3fdf2905bba9a3b199d5367e9c88db43.zip |
AvailabilityAttr: we accept "macos" as the platform name.
We continue accepting "macosx" but canonicalize it to "macos", When emitting
diagnostics, we use "macOS" instead of "OS X".
The PlatformName in TargetInfo is changed from "macosx" to "macos" so we can
directly compare the Platform in AvailabilityAttr with the PlatformName
in TargetInfo.
rdar://26795172
rdar://26800775
llvm-svn: 274064
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r-- | clang/include/clang-c/Index.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 5e57a12e2a0..4c02b3f7934 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -2570,7 +2570,7 @@ typedef struct CXPlatformAvailability { * \brief A string that describes the platform for which this structure * provides availability information. * - * Possible values are "ios" or "macosx". + * Possible values are "ios" or "macos". */ CXString Platform; /** |