diff options
Diffstat (limited to 'source/slang/slang-options.cpp')
| -rw-r--r-- | source/slang/slang-options.cpp | 12 |
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! |
