forked from OSchip/llvm-project
Another speculative fix for lldb related to ConstexprSpecKind
This commit is contained in:
parent
1941d9651c
commit
fa72ce346c
|
@ -78,7 +78,8 @@ 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,
|
||||
isConstexprSpecified ? CSK_constexpr : CSK_unspecified);
|
||||
isConstexprSpecified ? ConstexprSpecKind::Constexpr
|
||||
: ConstexprSpecKind::Unspecified);
|
||||
|
||||
// We have to do more than just synthesize the FunctionDecl. We have to
|
||||
// synthesize ParmVarDecls for all of the FunctionDecl's arguments. To do
|
||||
|
|
Loading…
Reference in New Issue