Adding a validation callback mechanism to OptionValueString (such a feature might...
authorEnrico Granata <egranata@apple.com>
Tue, 11 Dec 2012 22:42:19 +0000 (22:42 +0000)
committerEnrico Granata <egranata@apple.com>
Tue, 11 Dec 2012 22:42:19 +0000 (22:42 +0000)
commit9d14084b45320a1b4ff75eec7ede88b15ac3389c
tree0ee1659d40003336d7b4228117abd670039f5292
parent496970f6eec7697dbda6d02fc4f8dc595a24145f
Adding a validation callback mechanism to OptionValueString (such a feature might theoretically be added to the general OptionValue base class should the need arise)
Using this mechanism, making sure that the options to pass a summary string or a named summary to frame variable do not have invalid values

<rdar://problem/11576143>

llvm-svn: 169927
lldb/include/lldb/Interpreter/OptionValueString.h
lldb/source/Interpreter/OptionGroupVariable.cpp
lldb/source/Interpreter/OptionValueString.cpp
lldb/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py