diff options
author | Enrico Granata <egranata@apple.com> | 2014-09-05 21:46:22 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-09-05 21:46:22 +0000 |
commit | 18f240bcac45d686cb837f9e79b66a8397a8f3e2 (patch) | |
tree | 4376ae8d1d3fea2f00d0802e630d64a80b161268 /source/DataFormatters/TypeValidator.cpp | |
parent | 4a87711a2ffed0a1dc7ccf291bcac20f99511ddb (diff) |
Start plumbing the type validator logic through to the ValueObjects; allow a ValueObject to have a validator, to update it from the FormatManager, and to retrieve (and cache) the result of the validation
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/DataFormatters/TypeValidator.cpp')
-rw-r--r-- | source/DataFormatters/TypeValidator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/DataFormatters/TypeValidator.cpp b/source/DataFormatters/TypeValidator.cpp index 0327f5a09..317e09621 100644 --- a/source/DataFormatters/TypeValidator.cpp +++ b/source/DataFormatters/TypeValidator.cpp @@ -23,13 +23,13 @@ using namespace lldb_private; TypeValidatorImpl::ValidationResult TypeValidatorImpl::Success () { - return ValidationResult { ValidationResult::ResultType::eSuccess, "" }; + return ValidationResult { TypeValidatorResult::Success, "" }; } TypeValidatorImpl::ValidationResult TypeValidatorImpl::Failure (std::string message) { - return ValidationResult { ValidationResult::ResultType::eFailure, message }; + return ValidationResult { TypeValidatorResult::Failure, message }; } TypeValidatorImpl_CXX::TypeValidatorImpl_CXX (ValidatorFunction f, std::string d, const TypeValidatorImpl::Flags& flags) : |