summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface
diff options
context:
space:
mode:
authorZiqing Luo <ziqing@udel.edu>2024-08-15 12:34:15 -0700
committerGitHub <noreply@github.com>2024-08-15 12:34:15 -0700
commit9aa3b53ac52167aba6253a52805874948ce40c8f (patch)
treef155de48a1d0dfc9d54df8f95805a98f3f2d63b2 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface
parent3dea42f3e5edc5a571081b7c5d58cce2fc4b2671 (diff)
[-Wunsafe-buffer-usage] Fix a small bug recently found (#102953)
`QualType::isConstantArrayType()` checks canonical type. So a following cast should be applied to canonical type as well: ``` if (Ty->isConstantArrayType()) cast<ConstantArrayType>(Ty.getCanonicalType()); // cast<ConstantArrayType>(Ty) is incorrect ```
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface')
0 files changed, 0 insertions, 0 deletions