diff options
author | serge-sans-paille <sguelton@redhat.com> | 2022-04-07 15:21:40 +0200 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2022-04-08 09:31:51 +0200 |
commit | 301e0d91354b853addb63a35e72e552e8059413e (patch) | |
tree | b08b00f469274a2def5dc248a04bbb7e5fcb9bf3 /clang/lib/Sema/SemaModule.cpp | |
parent | aa15ea47e20fbce5814f4a0d69521f8270b70e69 (diff) | |
download | llvm-301e0d91354b853addb63a35e72e552e8059413e.zip llvm-301e0d91354b853addb63a35e72e552e8059413e.tar.gz llvm-301e0d91354b853addb63a35e72e552e8059413e.tar.bz2 |
[Clang][Fortify] drop inline decls when redeclared
When an inline builtin declaration is shadowed by an actual declaration, we must
reference the actual declaration, even if it's not the last, following GCC
behavior.
This fixes #54715
Differential Revision: https://reviews.llvm.org/D123308
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions