aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2020-05-06 08:50:40 +0200
committerDmitri Gribenko <gribozavr@gmail.com>2020-05-06 09:42:13 +0200
commit3adaa97f0157e9d274c4d4e69b733db75b963574 (patch)
treec87225f072e5881cff4c07bfda35a4270a95165d /lldb/source/Commands/CommandObjectBreakpoint.cpp
parentca09dab303f4fd72343be10dbd362b60a5f91c45 (diff)
downloadllvm-3adaa97f0157e9d274c4d4e69b733db75b963574.zip
llvm-3adaa97f0157e9d274c4d4e69b733db75b963574.tar.gz
llvm-3adaa97f0157e9d274c4d4e69b733db75b963574.tar.bz2
Fix ForRangeCopyCheck not triggering on iterators returning elements by value in C++17.
Summary: The AST is different in C++17 in that there is no MaterializeTemporaryExpr for in the AST for a loop variable that is initialized from an iterator that returns its elements by value. Account for this by checking that the variable is not initialized by an operator* call that returns a value type. Reviewers: gribozavr2 Reviewed By: gribozavr2 Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79440
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
0 files changed, 0 insertions, 0 deletions