Skip to content

Commit

Permalink
Another speculative fix for lldb related to ConstexprSpecKind
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBallman committed Nov 16, 2020
1 parent 1941d96 commit fa72ce3
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit fa72ce3

Please sign in to comment.