commit | ee1431072e3d139beef4aadd751bd9be0eb114c8 | [log] [tgz] |
---|---|---|
author | Roman Lebedev <[email protected]> | Sun May 05 21:26:32 2019 |
committer | Roman Lebedev <[email protected]> | Sun May 05 21:26:32 2019 |
tree | 98c63d878879f25dadb3f1ea1256f090b8940f23 | |
parent | 8462cc3c7498ba35f944c1a6f1ab1d017015aea8 [diff] |
[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