Guards against use of string conversion functions that do not have reasonable error handling for conversion errors.
More...
#include <UncheckedStringToNumberConversionCheck.h>
Guards against use of string conversion functions that do not have reasonable error handling for conversion errors.
For the user-facing documentation see: http://clang.llvm.org/extra/clang-tidy/checks/bugprone/unchecked-string-to-number-conversion.html
Definition at line 21 of file UncheckedStringToNumberConversionCheck.h.
◆ UncheckedStringToNumberConversionCheck()
clang::tidy::bugprone::UncheckedStringToNumberConversionCheck::UncheckedStringToNumberConversionCheck |
( |
StringRef | Name, |
|
|
ClangTidyContext * | Context ) |
|
inline |
◆ check()
void clang::tidy::bugprone::UncheckedStringToNumberConversionCheck::check |
( |
const ast_matchers::MatchFinder::MatchResult & | Result | ) |
|
|
override |
◆ isLanguageVersionSupported()
bool clang::tidy::bugprone::UncheckedStringToNumberConversionCheck::isLanguageVersionSupported |
( |
const LangOptions & | LangOpts | ) |
const |
|
inlineoverride |
◆ registerMatchers()
void clang::tidy::bugprone::UncheckedStringToNumberConversionCheck::registerMatchers |
( |
ast_matchers::MatchFinder * | Finder | ) |
|
|
override |
The documentation for this class was generated from the following files: