llvm-project/lldb/source/Interpreter
Jason Molenda b81afd6598 Fix the .experimental. settings feature so that we don't return an error
if an experimental setting has been removed/is missing.

Add tests for the .experimental. settings behaviors -- that they correctly
forward through to the real setting if it has become a real setting,
that they don't generate errors when a settig has been removed.

As Pavel notes in https://reviews.llvm.org/D45348, the way I'm suppressing
errors in the setting is not completely correct - if any of the setting
path components include "experimental", a missing setting would be declared
a non-error.  So

settings set target.experimental.setting-that-does-not-exist true

would not generate an error, which is correct.  But as Pavel notes, 

settings set setting-does-not-exist.experimental.run-stopped true

should generate an error because the unknown name occurs before the
"experimental".  The amount of change to do this correctly hasn't
thrilled me, so I'm leaving this as-is for now.

<rdar://problem/39223054> 
Differential Revision: https://reviews.llvm.org/D45348

llvm-svn: 331315
2018-05-01 22:49:01 +00:00
..
CMakeLists.txt Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
CommandAlias.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
CommandHistory.cpp Fix !N and !-N commands and add a test case. 2017-04-19 23:21:04 +00:00
CommandInterpreter.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
CommandObject.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
CommandObjectRegexCommand.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
CommandObjectScript.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
CommandObjectScript.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandOptionValidators.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandReturnObject.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionArgParser.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionGroupArchitecture.cpp Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
OptionGroupBoolean.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionGroupFile.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupFormat.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionGroupOutputFile.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupPlatform.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupString.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupUInt64.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupUUID.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupValueObjectDisplay.cpp Move Args::StringTo*** functions to a new OptionArgParser class 2018-04-10 09:03:59 +00:00
OptionGroupVariable.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionGroupWatchpoint.cpp Move Args::StringTo*** functions to a new OptionArgParser class 2018-04-10 09:03:59 +00:00
OptionValue.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionValueArch.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
OptionValueArgs.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
OptionValueArray.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
OptionValueBoolean.cpp Move Args::StringTo*** functions to a new OptionArgParser class 2018-04-10 09:03:59 +00:00
OptionValueChar.cpp Move Args::StringTo*** functions to a new OptionArgParser class 2018-04-10 09:03:59 +00:00
OptionValueDictionary.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionValueEnumeration.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueFileSpec.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionValueFileSpecLIst.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
OptionValueFormat.cpp Move Args::StringTo*** functions to a new OptionArgParser class 2018-04-10 09:03:59 +00:00
OptionValueFormatEntity.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionValueLanguage.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
OptionValuePathMappings.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
OptionValueProperties.cpp Fix the .experimental. settings feature so that we don't return an error 2018-05-01 22:49:01 +00:00
OptionValueRegex.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueSInt64.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
OptionValueString.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
OptionValueUInt64.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueUUID.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Options.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Property.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
ScriptInterpreter.cpp [Interpreter] Simplify else after return. NFCI. 2017-09-03 19:27:56 +00:00
embedded_interpreter.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00