summaryrefslogtreecommitdiff
path: root/source/slang/slang-options.cpp
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-08-29 11:26:27 +0800
committerGitHub <noreply@github.com>2023-08-29 11:26:27 +0800
commitaf363c02bf0fa2502c14f454965adff87170ff15 (patch)
treecc3f49d1f2a80bc02d5afd795ac73f168203d40a /source/slang/slang-options.cpp
parent508dc3a95de50de4a4d07d0a72a18e40d55b0e2e (diff)
s/depreciated/deprecated/ (#3153)
Diffstat (limited to 'source/slang/slang-options.cpp')
-rw-r--r--source/slang/slang-options.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index 545f222de..c911baea4 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -151,7 +151,7 @@ enum class OptionKind
SaveStdLibBinSource,
TrackLiveness,
- // Depreciated
+ // Deprecated
ParameterBlocksUseRegisterSpaces,
CountOf,
@@ -225,7 +225,7 @@ void initCommandOptions(CommandOptions& options)
options.addCategory(CategoryKind::Option, "Debugging", "Compiler debugging/instrumentation options");
options.addCategory(CategoryKind::Option, "Experimental", "Experimental options (use at your own risk)");
options.addCategory(CategoryKind::Option, "Internal", "Internal-use options (use at your own risk)");
- options.addCategory(CategoryKind::Option, "Depreciated", "Deprecated options (allowed but ignored; may be removed in future)");
+ options.addCategory(CategoryKind::Option, "Deprecated", "Deprecated options (allowed but ignored; may be removed in future)");
// Do the easy ones
{
@@ -629,15 +629,15 @@ void initCommandOptions(CommandOptions& options)
};
_addOptions(makeConstArrayView(internalOpts), options);
- /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Depreciated !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
+ /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Deprecated !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
- options.setCategory("Depreciated");
+ options.setCategory("Deprecated");
- const Option depreciatedOpts[] =
+ const Option deprecatedOpts[] =
{
{ OptionKind::ParameterBlocksUseRegisterSpaces, "-parameter-blocks-use-register-spaces", nullptr, "Parameter blocks will use register spaces" },
};
- _addOptions(makeConstArrayView(depreciatedOpts), options);
+ _addOptions(makeConstArrayView(deprecatedOpts), options);
// We can now check that the whole range is available. If this fails it means there
// is an enum in the list that hasn't been setup as an option!