summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 30d8b1dd038..ffb8d4b39c9 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -2180,7 +2180,7 @@ CompilerType ClangASTContext::CreateArrayType(const CompilerType &element_type,
} else {
return CompilerType(this, ast->getConstantArrayType(
ClangUtil::GetQualType(element_type),
- ap_element_count,
+ ap_element_count, nullptr,
clang::ArrayType::Normal, 0)
.getAsOpaquePtr());
}
@@ -4469,7 +4469,7 @@ CompilerType ClangASTContext::GetArrayType(lldb::opaque_compiler_type_t type,
return CompilerType(
this, ast_ctx
->getConstantArrayType(
- qual_type, llvm::APInt(64, size),
+ qual_type, llvm::APInt(64, size), nullptr,
clang::ArrayType::ArraySizeModifier::Normal, 0)
.getAsOpaquePtr());
else
OpenPOWER on IntegriCloud