diff options
author | Timm Bäder <tbaeder@redhat.com> | 2022-02-11 08:27:33 +0100 |
---|---|---|
committer | Timm Bäder <tbaeder@redhat.com> | 2022-02-22 16:27:32 +0100 |
commit | f8cedc642d9b85720cb7175ef25ddde90a3fbca2 (patch) | |
tree | 2cdba4e241812df29b6362605c461d5c46acb7f9 /llvm/lib/Bitcode | |
parent | 5c4f749429bb8e069f93451a56bb8af424873e95 (diff) | |
download | llvm-f8cedc642d9b85720cb7175ef25ddde90a3fbca2.zip llvm-f8cedc642d9b85720cb7175ef25ddde90a3fbca2.tar.gz llvm-f8cedc642d9b85720cb7175ef25ddde90a3fbca2.tar.bz2 |
[clang] Never wrap a nullptr in CXXNewExpr::getArraySize()
Otherwise callers of these functions have to check both the return value
for and the contents of the returned llvm::Optional.
Fixes #53742
Differential Revision: https://reviews.llvm.org/D119525
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions