diff options
author | Jonas Toth <jonas.toth@gmail.com> | 2018-10-04 15:49:25 +0000 |
---|---|---|
committer | Jonas Toth <jonas.toth@gmail.com> | 2018-10-04 15:49:25 +0000 |
commit | 9b1cc0121c2784ead432f0064f5ae4c3a81989cf (patch) | |
tree | f21208368fd0d4da25e55fb5745997440df5647d /clang/lib/Sema/Sema.cpp | |
parent | c97671e5da1c7efd81e87ff639bbfcce3ba9c1e7 (diff) | |
download | bcm5719-llvm-9b1cc0121c2784ead432f0064f5ae4c3a81989cf.tar.gz bcm5719-llvm-9b1cc0121c2784ead432f0064f5ae4c3a81989cf.zip |
[clang-tidy] fix PR39167, bugprone-exception-escape hangs-up
Summary:
The check bugprone-exception-escape should not register
if -fno-exceptions is set for the compile options. Bailing out on non-cplusplus
and non-exceptions language options resolves the issue.
Reviewers: alexfh, aaron.ballman, baloghadamsoftware
Reviewed By: alexfh
Subscribers: lebedev.ri, xazax.hun, rnkovacs, cfe-commits
Differential Revision: https://reviews.llvm.org/D52880
llvm-svn: 343789
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
0 files changed, 0 insertions, 0 deletions