aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2019-09-09 12:59:14 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2019-09-09 12:59:14 +0000
commitf9ce864558ab4110233e86f6391ced320dd1e07b (patch)
tree155f36c4a8e7adaf6d37c9597471f9c2e1ce752d /llvm/lib/CodeGen/DFAPacketizer.cpp
parent1ad508e8e2d5036a6356a136ab0b02251091e2a6 (diff)
downloadllvm-f9ce864558ab4110233e86f6391ced320dd1e07b.zip
llvm-f9ce864558ab4110233e86f6391ced320dd1e07b.tar.gz
llvm-f9ce864558ab4110233e86f6391ced320dd1e07b.tar.bz2
[clang-tidy] Fix bug in bugprone-use-after-move check
Summary: The bugprone-use-after-move check exhibits false positives for certain uses of the C++17 if/switch init statements. These false positives are caused by a bug in the ExprSequence calculations. This revision adds tests for the false positives and fixes the corresponding sequence calculation. Reviewers: gribozavr Subscribers: xazax.hun, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67292 llvm-svn: 371396
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions