aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2022-04-07 15:21:40 +0200
committerserge-sans-paille <sguelton@redhat.com>2022-04-08 09:31:51 +0200
commit301e0d91354b853addb63a35e72e552e8059413e (patch)
treeb08b00f469274a2def5dc248a04bbb7e5fcb9bf3 /clang/lib/Sema/SemaModule.cpp
parentaa15ea47e20fbce5814f4a0d69521f8270b70e69 (diff)
downloadllvm-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