[Lldb-commits] [lldb] r189061 - A clang::Type::Decayed type to kill compile warning
Michael Sartain
mikesart at valvesoftware.com
Thu Aug 22 13:50:18 PDT 2013
Author: mikesart
Date: Thu Aug 22 15:50:18 2013
New Revision: 189061
URL: http://llvm.org/viewvc/llvm-project?rev=189061&view=rev
Log:
A clang::Type::Decayed type to kill compile warning
Modified:
lldb/trunk/source/Symbol/ClangASTType.cpp
Modified: lldb/trunk/source/Symbol/ClangASTType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTType.cpp?rev=189061&r1=189060&r2=189061&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTType.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTType.cpp Thu Aug 22 15:50:18 2013
@@ -1428,6 +1428,9 @@ ClangASTType::GetTypeClass () const
case clang::Type::Decltype: break;
case clang::Type::TemplateSpecialization: break;
case clang::Type::Atomic: break;
+
+ // pointer type decayed from an array or function type.
+ case clang::Type::Decayed: break;
}
// We don't know hot to display this type...
return lldb::eTypeClassOther;
@@ -1865,7 +1868,10 @@ ClangASTType::GetEncoding (uint64_t &cou
case clang::Type::TemplateSpecialization:
case clang::Type::Atomic:
break;
-
+
+ // pointer type decayed from an array or function type.
+ case clang::Type::Decayed:
+ break;
}
count = 0;
return lldb::eEncodingInvalid;
@@ -1994,6 +2000,10 @@ ClangASTType::GetFormat () const
case clang::Type::TemplateSpecialization:
case clang::Type::Atomic:
break;
+
+ // pointer type decayed from an array or function type.
+ case clang::Type::Decayed:
+ break;
}
// We don't know hot to display this type...
return lldb::eFormatBytes;
@@ -5165,6 +5175,9 @@ ClangASTType::GetDeclContextForType () c
case clang::Type::InjectedClassName: break;
case clang::Type::DependentName: break;
case clang::Type::Atomic: break;
+
+ // pointer type decayed from an array or function type.
+ case clang::Type::Decayed: break;
}
// No DeclContext in this type...
return NULL;
More information about the lldb-commits
mailing list