summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2017-11-07 13:43:55 +0000
committerTamas Berghammer <tberghammer@google.com>2017-11-07 13:43:55 +0000
commitcf6bf4c4ba47c9ecdb18efa932c9a57c8de93e0e (patch)
tree0bdf7f1d3ee2dd3caa68d26e4807304c97fccef6
parent78aa4b28a36cae2a9b7276c119aaa4b7fdbb6105 (diff)
downloadbcm5719-llvm-cf6bf4c4ba47c9ecdb18efa932c9a57c8de93e0e.tar.gz
bcm5719-llvm-cf6bf4c4ba47c9ecdb18efa932c9a57c8de93e0e.zip
Fix an issue in r317563 causing a clang assert
llvm-svn: 317574
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 0f5e6f25df7..7d87a8ae2f8 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -2181,9 +2181,9 @@ ClangASTContext::CreateEnumerationType(const char *name, DeclContext *decl_ctx,
EnumDecl *enum_decl = EnumDecl::Create(
*ast, decl_ctx, SourceLocation(), SourceLocation(),
name && name[0] ? &ast->Idents.get(name) : nullptr, nullptr,
- is_scoped,
- true, // IsScopedUsingClassTag
- false); // IsFixed
+ is_scoped, // IsScoped
+ is_scoped, // IsScopedUsingClassTag
+ false); // IsFixed
if (enum_decl) {
// TODO: check if we should be setting the promotion type too?
OpenPOWER on IntegriCloud