diff options
author | Nathan James <n.james93@hotmail.co.uk> | 2021-03-20 10:59:36 +0000 |
---|---|---|
committer | Nathan James <n.james93@hotmail.co.uk> | 2021-03-20 10:59:37 +0000 |
commit | 4dd92d61dbc4b3c51a98e1d0bfccabed24759ba9 (patch) | |
tree | 8526131109329ef83abefc744f207ff4618c0597 /llvm/lib/Support/BranchProbability.cpp | |
parent | 7219b31d40f14604c669d633b014d0cc8b707cf3 (diff) | |
download | llvm-4dd92d61dbc4b3c51a98e1d0bfccabed24759ba9.zip llvm-4dd92d61dbc4b3c51a98e1d0bfccabed24759ba9.tar.gz llvm-4dd92d61dbc4b3c51a98e1d0bfccabed24759ba9.tar.bz2 |
[clang-tidy] Fix bugprone-terminating-continue when continue appears inside a switch
Don't emit a warning if the `continue` appears in a switch context as changing it to `break` will break out of the switch rather than a do loop containing the switch.
Fixes https://llvm.org/PR49492.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D98338
Diffstat (limited to 'llvm/lib/Support/BranchProbability.cpp')
0 files changed, 0 insertions, 0 deletions