aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-06-09 12:31:12 -0400
committerLouis Dionne <ldionne@apple.com>2020-06-09 13:43:13 -0400
commit1f48f8f6e289d3ae14d28ad9bd000ef5ba209fc0 (patch)
tree5b1549ceb821f0a5869a8d8eda3f1d04ce4b04ad /lldb/source/Commands/CommandObjectExpression.cpp
parent2c8afe1298e5f471a5736757b1cd2a708dd91ec9 (diff)
downloadllvm-1f48f8f6e289d3ae14d28ad9bd000ef5ba209fc0.zip
llvm-1f48f8f6e289d3ae14d28ad9bd000ef5ba209fc0.tar.gz
llvm-1f48f8f6e289d3ae14d28ad9bd000ef5ba209fc0.tar.bz2
[libc++] Avoid UB in year_month_day_last::day() for incorrect months
This effectively implements the resolution of LWG3231, which mandates that calling year_month_day_last::day() on an invalid year_month_day_last is unspecified behavior. Before this change, it was undefined behavior. Differential Revision: https://reviews.llvm.org/D81477
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions