Author: gclayton
Date: Tue Mar 15 17:43:26 2016
New Revision: 263601
URL: http://llvm.org/viewvc/llvm-project?rev=263601&view=rev
Log:
Fix ClangASTContext::GetFunctionArgumentAtIndex() to not water down the type to
the canonical type before handing the type out for the function type.
Modified:
lldb/trunk/source/Symbol/ClangASTContext.cpp
Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=263601&r1=263600&r2=263601&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Tue Mar 15 17:43:26 2016
@@ -3185,7 +3185,7 @@ ClangASTContext::GetFunctionArgumentAtIn
{
if (type)
{
- clang::QualType qual_type (GetCanonicalQualType(type));
+ clang::QualType qual_type (GetQualType(type));
const clang::FunctionProtoType* func =
llvm::dyn_cast<clang::FunctionProtoType>(qual_type.getTypePtr());
if (func)
{
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits