summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-03-15 22:43:26 +0000
committerGreg Clayton <gclayton@apple.com>2016-03-15 22:43:26 +0000
commit0a5f805410f7d4b7dbdd00ea8087f512a47e845d (patch)
treee77a173907225a2927156632b2854cf7f7d02e7f /lldb
parentee8b58136b46fc126e07a4c2a0b3d9c6b5bf9f67 (diff)
downloadbcm5719-llvm-0a5f805410f7d4b7dbdd00ea8087f512a47e845d.tar.gz
bcm5719-llvm-0a5f805410f7d4b7dbdd00ea8087f512a47e845d.zip
Fix ClangASTContext::GetFunctionArgumentAtIndex() to not water down the type to the canonical type before handing the type out for the function type.
llvm-svn: 263601
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index b9d71b428f0..a5c119b8398 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -3185,7 +3185,7 @@ ClangASTContext::GetFunctionArgumentAtIndex (lldb::opaque_compiler_type_t type,
{
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)
{
OpenPOWER on IntegriCloud