clang-tools 22.0.0git
|
Finds calls to boost::lexical_cast<std::string> and / boost::lexical_cast<std::wstring> and replaces them with / std::to_string and std::to_wstring calls. More...
#include <UseToStringCheck.h>
Public Member Functions | |
UseToStringCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds calls to boost::lexical_cast<std::string> and / boost::lexical_cast<std::wstring> and replaces them with / std::to_string and std::to_wstring calls.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/boost/use-to-string.html
Definition at line 22 of file UseToStringCheck.h.
|
inline |
Definition at line 24 of file UseToStringCheck.h.
|
override |
Definition at line 38 of file UseToStringCheck.cpp.
|
inlineoverride |
Definition at line 26 of file UseToStringCheck.h.
|
override |
Definition at line 22 of file UseToStringCheck.cpp.