llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Kazu Hirata (kazutakahirata)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/139932.diff


1 Files Affected:

- (modified) lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp 
(+1-2) 


``````````diff
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp 
b/lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
index a2722db5d24a0..451cf40e2818d 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
@@ -123,8 +123,7 @@ void ASTStructExtractor::ExtractFromTopLevelDecl(Decl *D) {
   FunctionDecl *function_decl = dyn_cast<FunctionDecl>(D);
 
   if (m_ast_context && function_decl &&
-      !m_function.m_wrapper_function_name.compare(
-          function_decl->getNameAsString())) {
+      m_function.m_wrapper_function_name == function_decl->getNameAsString()) {
     ExtractFromFunctionDecl(function_decl);
   }
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/139932
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to