diff options
author | Ziqing Luo <ziqing@udel.edu> | 2023-07-19 14:02:06 -0700 |
---|---|---|
committer | Ziqing Luo <ziqing@udel.edu> | 2023-07-19 14:14:28 -0700 |
commit | 4b5f17e008c684998a5ee10454d34714736eb6c5 (patch) | |
tree | 0728e61e1407942f6d5c2e585097567e8f049207 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 8b19d13fde6e32c8815f3f4e3f629208b0f1d0e9 (diff) | |
download | llvm-4b5f17e008c684998a5ee10454d34714736eb6c5.zip llvm-4b5f17e008c684998a5ee10454d34714736eb6c5.tar.gz llvm-4b5f17e008c684998a5ee10454d34714736eb6c5.tar.bz2 |
[-Wunsafe-buffer-usage] Do not assert that function parameters have names
It is possible that a function parameter does not have a name even in
a function definition. This patch deals with such cases in generating
function overload fix-its for safe buffers.
Reviewed by: NoQ (Artem Dergachev)
Differential revision: https://reviews.llvm.org/D155641
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions