diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-05-05 21:26:32 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-05-05 21:26:32 +0000 |
commit | ee1431072e3d139beef4aadd751bd9be0eb114c8 (patch) | |
tree | 98c63d878879f25dadb3f1ea1256f090b8940f23 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 8462cc3c7498ba35f944c1a6f1ab1d017015aea8 (diff) | |
download | bcm5719-llvm-ee1431072e3d139beef4aadd751bd9be0eb114c8.tar.gz bcm5719-llvm-ee1431072e3d139beef4aadd751bd9be0eb114c8.zip |
[clang-tidy] openmp-exception-escape check: point to the structured-block
I'm not sure what i was thinking when i wrote it to point at the directive.
It's at the very least confusing, and in the `for` is very misleading.
We should point at the actual Stmt out of which the exception escapes,
to highlight where it should be fixed e.g. via adding try-catch block.
Yes, this breaks existing NOLINT, which is why this change needs to
happen now, not any later.
llvm-svn: 360002
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions