diff options
author | Pavel Labath <labath@google.com> | 2015-06-08 22:27:10 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-06-08 22:27:10 +0000 |
commit | c33ae024a64962cb38b64073a035a5fc36aa2214 (patch) | |
tree | 4fff2e0f0c816610b412c932fbbb0a6b54ac861c /lldb/source/DataFormatters/FormatManager.cpp | |
parent | e6eea5d055d06db7aefdfa879ae052a2d34ab464 (diff) | |
download | llvm-c33ae024a64962cb38b64073a035a5fc36aa2214.zip llvm-c33ae024a64962cb38b64073a035a5fc36aa2214.tar.gz llvm-c33ae024a64962cb38b64073a035a5fc36aa2214.tar.bz2 |
Introduce a TypeSystem interface to support adding non-clang languages.
Reviewers: clayborg
Reviewed By: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D8712
Original Author: Ryan Brown <ribrdb@google.com>
llvm-svn: 239360
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 7132a68..f994e32 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::GetRValueReferenceType(deffed_referenced_type); GetPossibleMatches(valobj, deffed_referenced_type, reason | lldb_private::eFormatterChoiceCriterionNavigatedTypedefs, |