forked from OSchip/llvm-project
f22f3489d7
The usage of `goto` is discourage in C++ since forever. This check implements a warning for every `goto`. Even though there are (rare) valid use cases for `goto`, better high level constructs should be used. `goto` is used sometimes in C programs to free resources at the end of functions in the case of errors. This pattern is better implemented with RAII in C++. Reviewers: aaron.ballman, alexfh, hokein Reviewed By: aaron.ballman Subscribers: lebedev.ri, jbcoe, Eugene.Zelenko, klimek, nemanjai, mgorny, xazax.hun, kbarton, cfe-commits Differential Revision: https://reviews.llvm.org/D41815 llvm-svn: 322626 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ExceptionBaseclassCheck.cpp | ||
ExceptionBaseclassCheck.h | ||
HICPPTidyModule.cpp | ||
LICENSE.TXT | ||
NoAssemblerCheck.cpp | ||
NoAssemblerCheck.h | ||
SignedBitwiseCheck.cpp | ||
SignedBitwiseCheck.h |