aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMalavika Samak <malavika.samak@gmail.com>2024-01-22 10:46:59 -0800
committerGitHub <noreply@github.com>2024-01-22 10:46:59 -0800
commit414df7051ac90f186fac9d3d8968aa827eceb697 (patch)
treeeb87de109c905630937813778ed49b5963c702ac /clang/lib/CodeGen/CodeGenModule.cpp
parent0cea54a382f3187acbe3e81bd0fd7cf2cb1077b8 (diff)
downloadllvm-414df7051ac90f186fac9d3d8968aa827eceb697.zip
llvm-414df7051ac90f186fac9d3d8968aa827eceb697.tar.gz
llvm-414df7051ac90f186fac9d3d8968aa827eceb697.tar.bz2
[-Wunsafe-buffer-usage] Fix the crash introduced by the unsafe invocation of span::data warning (#78815)
The patch fixes the crash introduced by the DataInvocation warning gadget designed to warn against unsafe invocations of span::data method. It also now considers the invocation of span::data method inside parenthesis. Radar: 121223051 --------- Co-authored-by: MalavikaSamak <malavika2@apple.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions