[clang] [lldb] [clang][AST] fix ast-print of extern <lang> with >=2 declarators, fixed (PR #93913)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 18 04:51:29 PDT 2024
================
@@ -2380,7 +2380,7 @@ FunctionDecl *Sema::CreateBuiltin(IdentifierInfo *II, QualType Type,
}
FunctionDecl *New = FunctionDecl::Create(Context, Parent, Loc, Loc, II, Type,
- /*TInfo=*/nullptr, SC_Extern,
+ /*TInfo=*/nullptr, SC_None,
----------------
AaronBallman wrote:
Ah, you're right, it's only *objects* declared at local scope that have no linkage (the following paragraph), not *functions*.
https://github.com/llvm/llvm-project/pull/93913
More information about the cfe-commits
mailing list