[PATCH] D88518: Recognize setjmp and friends as builtins even if jmp_buf is not declared yet.
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 29 15:21:16 PDT 2020
rsmith created this revision.
rsmith added reviewers: tambre, rjmccall.
Herald added a project: clang.
rsmith requested review of this revision.
This happens in glibc's headers. It's important that we recognize these
functions so that we can mark them as returns_twice.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88518
Files:
clang/include/clang/Basic/Builtins.def
clang/include/clang/Basic/Builtins.h
clang/lib/Sema/SemaDecl.cpp
clang/test/CodeGen/setjmp.c
clang/test/Sema/builtin-setjmp.c
clang/test/Sema/implicit-builtin-decl.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88518.295134.patch
Type: text/x-patch
Size: 11458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200929/dadd4a19/attachment.bin>
More information about the cfe-commits
mailing list