[PATCH] D112059: Fix inline builtin handling in case of redefinition

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 26 08:20:47 PDT 2021


serge-sans-paille updated this revision to Diff 382337.
serge-sans-paille added a comment.

- Add a test case to ensure we keep the right behavior for non-intrinsic gnu inline
- walk the redecl chain before doing an extra string alloc


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112059/new/

https://reviews.llvm.org/D112059

Files:
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/test/CodeGen/strlen-inline-builtin-redecl.c
  clang/test/CodeGen/user-func-gnu-inline-redecl.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112059.382337.patch
Type: text/x-patch
Size: 4029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211026/416f37aa/attachment.bin>


More information about the cfe-commits mailing list