aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-07-22 09:58:53 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-07-22 09:58:53 +0000
commit0a42fe70a566f22599e04a6f1344ca2dc5565e17 (patch)
treebb6fc3d1778028a9040dcbb6b699dc9abc675de0 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp
parent3a52e50d737905ff7da2747f27d61ca331ad6081 (diff)
downloadllvm-0a42fe70a566f22599e04a6f1344ca2dc5565e17.zip
llvm-0a42fe70a566f22599e04a6f1344ca2dc5565e17.tar.gz
llvm-0a42fe70a566f22599e04a6f1344ca2dc5565e17.tar.bz2
[AST] Treat semantic form of InitListExpr as implicit code in traversals
Summary: In particular, do not traverse the semantic form if shouldVisitImplicitCode() returns false. This simplifies the common case of traversals, avoiding the need to worry about some expressions being traversed twice. No tests break after the change, the change would allow to simplify at least one of the usages, i.e. r366070 which had to handle this in clangd. Reviewers: gribozavr Reviewed By: gribozavr Subscribers: kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64762 llvm-svn: 366672
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions