diff options
author | Greg Clayton <gclayton@apple.com> | 2015-08-11 21:38:15 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-08-11 21:38:15 +0000 |
commit | d8d4a57b37312b62dfa90226293db521e7a4a6fb (patch) | |
tree | ace5d255c1f17af9a9e482ba3e61ed20a05c30c6 /lldb/source/DataFormatters/FormatManager.cpp | |
parent | 78046b49a9397db7899a7879e0a88d26f0199025 (diff) | |
download | bcm5719-llvm-d8d4a57b37312b62dfa90226293db521e7a4a6fb.tar.gz bcm5719-llvm-d8d4a57b37312b62dfa90226293db521e7a4a6fb.zip |
First step in getting LLDB ready to support multiple different type systems.
This is the work done by Ryan Brown from http://reviews.llvm.org/D8712 that makes a TypeSystem class and abstracts types to be able to use a type system.
All tests pass on MacOSX and passed on linux the last time this was submitted.
llvm-svn: 244679
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
-rw-r--r-- | lldb/source/DataFormatters/FormatManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp index d10c59b853b..7e9f9b464f7 100644 --- a/lldb/source/DataFormatters/FormatManager.cpp +++ b/lldb/source/DataFormatters/FormatManager.cpp @@ -171,7 +171,7 @@ FormatManager::GetPossibleMatches (ValueObject& valobj, bool did_strip_typedef, bool root_level) { - clang_type = clang_type.RemoveFastQualifiers(); + clang_type = ClangASTContext::RemoveFastQualifiers(clang_type); ConstString type_name(clang_type.GetConstTypeName()); if (valobj.GetBitfieldBitSize() > 0) { @@ -201,7 +201,7 @@ FormatManager::GetPossibleMatches (ValueObject& valobj, if (non_ref_type.IsTypedefType()) { ClangASTType deffed_referenced_type = non_ref_type.GetTypedefedType(); - deffed_referenced_type = is_rvalue_ref ? deffed_referenced_type.GetRValueReferenceType() : deffed_referenced_type.GetLValueReferenceType(); + deffed_referenced_type = is_rvalue_ref ? ClangASTContext::GetRValueReferenceType(deffed_referenced_type) : ClangASTContext::GetLValueReferenceType(deffed_referenced_type); GetPossibleMatches(valobj, deffed_referenced_type, reason | lldb_private::eFormatterChoiceCriterionNavigatedTypedefs, |