summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/hicpp-exception-baseclass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Improve hicpp-exception-baseclass to handle generic code betterJonas Toth2017-08-301-12/+149
| | | | | | | | | | | | | | | | Summary: This patch is a followup to the first revision D36583, that had problems with generic code and its diagnostic messages, which were found by @lebedev.ri Reviewers: alexfh, aaron.ballman, lebedev.ri, hokein Reviewed By: aaron.ballman, lebedev.ri Subscribers: klimek, sbenza, cfe-commits, JDevlieghere, lebedev.ri, xazax.hun Differential Revision: https://reviews.llvm.org/D37060 llvm-svn: 312134
* Enable exceptions for this test case to speculatively fix the build bots.Aaron Ballman2017-08-111-2/+2
| | | | | | Hopefully corrects: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/15666 llvm-svn: 310732
* Add hicpp-exception-baseclass to the HIC++ module.Aaron Ballman2017-08-111-0/+42
This enforces that throwing an exception in C++ requires that exception to inherit from std::exception. Patch by Jonas Toth. llvm-svn: 310727
OpenPOWER on IntegriCloud