aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authortemyurchenko <44875844+temyurchenko@users.noreply.github.com>2024-07-01 09:25:27 -0400
committerGitHub <noreply@github.com>2024-07-01 09:25:27 -0400
commit48f13d48a88c14acbaea7c3ee05018bb173fb360 (patch)
tree6b7eacba87fc84e134388c75dd9df503812a8b7f /clang/lib/Sema/SemaDecl.cpp
parent7b34070eb4913f2733c3c6d19091d19d92c195d7 (diff)
downloadllvm-48f13d48a88c14acbaea7c3ee05018bb173fb360.zip
llvm-48f13d48a88c14acbaea7c3ee05018bb173fb360.tar.gz
llvm-48f13d48a88c14acbaea7c3ee05018bb173fb360.tar.bz2
[clang][AST] fix ast-print of extern <lang> with >=2 declarators
Fixes #93913
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 029ccf9..3f0027b 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -2379,7 +2379,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,
getCurFPFeatures().isFPConstrained(),
false, Type->isFunctionProtoType());
New->setImplicit();