diff options
author | Alex Langford <alangford@apple.com> | 2023-11-10 12:47:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-10 12:47:43 -0800 |
commit | 133bcacecfb70e8b1692f9c2c0a44ec640a0422a (patch) | |
tree | cb3b64640b80edac0f2be1cc89e8ccfb37795728 /clang/lib/CodeGen/CodeGenModule.h | |
parent | bfe08c094deb6e24e814fa46470de2700aab01ff (diff) | |
download | llvm-133bcacecfb70e8b1692f9c2c0a44ec640a0422a.zip llvm-133bcacecfb70e8b1692f9c2c0a44ec640a0422a.tar.gz llvm-133bcacecfb70e8b1692f9c2c0a44ec640a0422a.tar.bz2 |
[lldb] Change interface of StructuredData::Array::GetItemAtIndexAsDictionary (#71961)
Similar to my previous patch (#71613) where I changed
`GetItemAtIndexAsString`, this patch makes the same change to
`GetItemAtIndexAsDictionary`.
`GetItemAtIndexAsDictionary` now returns a std::optional that is either
`std::nullopt` or is a valid pointer. Therefore, if the optional is
populated, we consider the pointer to always be valid (i.e. no need to
check pointer validity).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions