Looks for local Twine variables which are prone to use after frees and should be generally avoided.
More...
#include <TwineLocalCheck.h>
Looks for local Twine variables which are prone to use after frees and should be generally avoided.
Definition at line 18 of file TwineLocalCheck.h.
◆ TwineLocalCheck()
clang::tidy::llvm_check::TwineLocalCheck::TwineLocalCheck |
( |
StringRef | Name, |
|
|
ClangTidyContext * | Context ) |
|
inline |
◆ check()
void clang::tidy::llvm_check::TwineLocalCheck::check |
( |
const ast_matchers::MatchFinder::MatchResult & | Result | ) |
|
|
override |
◆ isLanguageVersionSupported()
bool clang::tidy::llvm_check::TwineLocalCheck::isLanguageVersionSupported |
( |
const LangOptions & | LangOpts | ) |
const |
|
inlineoverride |
◆ registerMatchers()
void clang::tidy::llvm_check::TwineLocalCheck::registerMatchers |
( |
ast_matchers::MatchFinder * | Finder | ) |
|
|
override |
The documentation for this class was generated from the following files: