diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -263,7 +263,7 @@ .. option:: -fuse-cuid= -Method to generate ID's for compilation units for single source offloading languages CUDA and HIP: 'hash' (ID's generated by hashing file path and command line options) \| 'random' (ID's generated as random numbers) \| 'none' (disabled). Default is 'hash'. This option will be overriden by option '-cuid=\[ID\]' if it is specified. +Method to generate ID's for compilation units for single source offloading languages CUDA and HIP: 'hash' (ID's generated by hashing file path and command line options) \| 'random' (ID's generated as random numbers) \| 'none' (disabled). Default is 'hash'. This option will be overridden by option '-cuid=\[ID\]' if it is specified. .. option:: --gcc-toolchain=, -gcc-toolchain @@ -2507,7 +2507,7 @@ .. option:: -fvisibility-dllexport= -The visibility for dllexport defintions \[-fvisibility-from-dllstorageclass\] +The visibility for dllexport definitions \[-fvisibility-from-dllstorageclass\] .. option:: -fvisibility-externs-dllimport= @@ -2519,7 +2519,7 @@ .. option:: -fvisibility-from-dllstorageclass, -fno-visibility-from-dllstorageclass -Set the visiblity of symbols in the generated code from their DLL storage class +Set the visibility of symbols in the generated code from their DLL storage class .. option:: -fvisibility-global-new-delete-hidden diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -1006,7 +1006,7 @@ "offloading languages CUDA and HIP: 'hash' (ID's generated by hashing " "file path and command line options) | 'random' (ID's generated as " "random numbers) | 'none' (disabled). Default is 'hash'. This option " - "will be overriden by option '-cuid=[ID]' if it is specified." >; + "will be overridden by option '-cuid=[ID]' if it is specified." >; def libomptarget_amdgcn_bc_path_EQ : Joined<["--"], "libomptarget-amdgcn-bc-path=">, Group, HelpText<"Path to libomptarget-amdgcn bitcode library">; def libomptarget_nvptx_bc_path_EQ : Joined<["--"], "libomptarget-nvptx-bc-path=">, Group, @@ -2693,10 +2693,10 @@ def dA : Flag<["-"], "dA">, Alias; defm visibility_from_dllstorageclass : BoolFOption<"visibility-from-dllstorageclass", LangOpts<"VisibilityFromDLLStorageClass">, DefaultFalse, - PosFlag, + PosFlag, NegFlag>; def fvisibility_dllexport_EQ : Joined<["-"], "fvisibility-dllexport=">, Group, Flags<[CC1Option]>, - HelpText<"The visibility for dllexport defintions [-fvisibility-from-dllstorageclass]">, + HelpText<"The visibility for dllexport definitions [-fvisibility-from-dllstorageclass]">, MarshallingInfoVisibility, "DefaultVisibility">, ShouldParseIf; def fvisibility_nodllstorageclass_EQ : Joined<["-"], "fvisibility-nodllstorageclass=">, Group, Flags<[CC1Option]>,