[Lldb-commits] [lldb] 172a55e - [lldb] Fix FunctionDecl::Create after D102343
Fangrui Song via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 29 09:57:17 PDT 2021
Author: Fangrui Song
Date: 2021-07-29T09:57:10-07:00
New Revision: 172a55e7a40d27c7882be2e86d515696d8e12427
URL: https://github.com/llvm/llvm-project/commit/172a55e7a40d27c7882be2e86d515696d8e12427
DIFF: https://github.com/llvm/llvm-project/commit/172a55e7a40d27c7882be2e86d515696d8e12427.diff
LOG: [lldb] Fix FunctionDecl::Create after D102343
Added:
Modified:
lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp b/lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp
index 829afa5ffcecc..d95b79a9b1f82 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp
@@ -77,7 +77,7 @@ clang::NamedDecl *NameSearchContext::AddFunDecl(const CompilerType &type,
clang::FunctionDecl *func_decl = FunctionDecl::Create(
ast, context, SourceLocation(), SourceLocation(), decl_name, qual_type,
- nullptr, SC_Extern, isInlineSpecified, hasWrittenPrototype,
+ nullptr, SC_Extern, /*UsesFPIntrin=*/false, isInlineSpecified, hasWrittenPrototype,
isConstexprSpecified ? ConstexprSpecKind::Constexpr
: ConstexprSpecKind::Unspecified);
More information about the lldb-commits
mailing list