[Lldb-commits] [lldb] r317574 - Fix an issue in r317563 causing a clang assert

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 7 05:43:55 PST 2017


Author: tberghammer
Date: Tue Nov  7 05:43:55 2017
New Revision: 317574

URL: http://llvm.org/viewvc/llvm-project?rev=317574&view=rev
Log:
Fix an issue in r317563 causing a clang assert

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=317574&r1=317573&r2=317574&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Tue Nov  7 05:43:55 2017
@@ -2181,9 +2181,9 @@ ClangASTContext::CreateEnumerationType(c
   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?




More information about the lldb-commits mailing list