[Lldb-commits] [lldb] 0923628 - Fix build error introduced in D90568 - 15e76eed0c7

2022-11-24 Thread Nathan James via lldb-commits

Author: Nathan James
Date: 2022-11-24T13:42:53Z
New Revision: 0923628d26d2c01decbd79804828a5e8df92c827

URL: 
https://github.com/llvm/llvm-project/commit/0923628d26d2c01decbd79804828a5e8df92c827
DIFF: 
https://github.com/llvm/llvm-project/commit/0923628d26d2c01decbd79804828a5e8df92c827.diff

LOG: Fix build error introduced in D90568 - 15e76eed0c7

Added: 


Modified: 
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Removed: 




diff  --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp 
b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index 2d541baf2aa75..e4d9d1b28c1ef 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -1886,9 +1886,9 @@ NamespaceDecl 
*TypeSystemClang::GetUniqueNamespaceDeclaration(
 return namespace_decl;
 }
 
-namespace_decl =
-NamespaceDecl::Create(ast, decl_ctx, is_inline, SourceLocation(),
-  SourceLocation(), &identifier_info, nullptr);
+namespace_decl = NamespaceDecl::Create(ast, decl_ctx, is_inline,
+   SourceLocation(), SourceLocation(),
+   &identifier_info, nullptr, false);
 
 decl_ctx->addDecl(namespace_decl);
   } else {



___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] 73dba0e - Fix remaining build errors introduced in D90568 - 15e76eed0c7.

2022-11-24 Thread Nathan James via lldb-commits

Author: Nathan James
Date: 2022-11-24T14:01:08Z
New Revision: 73dba0e3bdc66aff89a0313f1c528af6d7649607

URL: 
https://github.com/llvm/llvm-project/commit/73dba0e3bdc66aff89a0313f1c528af6d7649607
DIFF: 
https://github.com/llvm/llvm-project/commit/73dba0e3bdc66aff89a0313f1c528af6d7649607.diff

LOG: Fix remaining build errors introduced in D90568 - 15e76eed0c7.

A few cases were missed in 0923628d26d

Added: 


Modified: 
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Removed: 




diff  --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp 
b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index e4d9d1b28c1e..a43ff0fa057a 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -1899,7 +1899,7 @@ NamespaceDecl 
*TypeSystemClang::GetUniqueNamespaceDeclaration(
 
   namespace_decl =
   NamespaceDecl::Create(ast, decl_ctx, false, SourceLocation(),
-SourceLocation(), nullptr, nullptr);
+SourceLocation(), nullptr, nullptr, false);
   translation_unit_decl->setAnonymousNamespace(namespace_decl);
   translation_unit_decl->addDecl(namespace_decl);
   assert(namespace_decl == translation_unit_decl->getAnonymousNamespace());
@@ -1911,7 +1911,7 @@ NamespaceDecl 
*TypeSystemClang::GetUniqueNamespaceDeclaration(
   return namespace_decl;
 namespace_decl =
 NamespaceDecl::Create(ast, decl_ctx, false, SourceLocation(),
-  SourceLocation(), nullptr, nullptr);
+  SourceLocation(), nullptr, nullptr, false);
 parent_namespace_decl->setAnonymousNamespace(namespace_decl);
 parent_namespace_decl->addDecl(namespace_decl);
 assert(namespace_decl ==



___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] ba447f3 - [NFC][lldb] Silence unused variable warning

2020-11-01 Thread Nathan James via lldb-commits

Author: Nathan James
Date: 2020-11-01T14:37:06Z
New Revision: ba447f38f6e53e5de68fa264797690b74cb750c0

URL: 
https://github.com/llvm/llvm-project/commit/ba447f38f6e53e5de68fa264797690b74cb750c0
DIFF: 
https://github.com/llvm/llvm-project/commit/ba447f38f6e53e5de68fa264797690b74cb750c0.diff

LOG: [NFC][lldb] Silence unused variable warning

Added: 


Modified: 
lldb/source/Host/common/PseudoTerminal.cpp

Removed: 




diff  --git a/lldb/source/Host/common/PseudoTerminal.cpp 
b/lldb/source/Host/common/PseudoTerminal.cpp
index c5f101caffe3..de76e8ab4f68 100644
--- a/lldb/source/Host/common/PseudoTerminal.cpp
+++ b/lldb/source/Host/common/PseudoTerminal.cpp
@@ -106,6 +106,7 @@ std::string PseudoTerminal::GetSecondaryName() const {
   char buf[PATH_MAX];
   buf[0] = '\0';
   int r = ptsname_r(m_primary_fd, buf, sizeof(buf));
+  (void)r;
   assert(r == 0);
   return buf;
 #else



___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits