clang-tools 22.0.0git
clang::tidy::modernize::DeprecatedIosBaseAliasesCheck Class Reference

This check warns the uses of the deprecated member types of std::ios_base and replaces those that have a non-deprecated equivalent. More...

#include <DeprecatedIosBaseAliasesCheck.h>

Inheritance diagram for clang::tidy::modernize::DeprecatedIosBaseAliasesCheck:
[legend]

Public Member Functions

 DeprecatedIosBaseAliasesCheck (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

Detailed Description

This check warns the uses of the deprecated member types of std::ios_base and replaces those that have a non-deprecated equivalent.

For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/modernize/deprecated-ios-base-aliases.html

Definition at line 21 of file DeprecatedIosBaseAliasesCheck.h.

Constructor & Destructor Documentation

◆ DeprecatedIosBaseAliasesCheck()

clang::tidy::modernize::DeprecatedIosBaseAliasesCheck::DeprecatedIosBaseAliasesCheck ( StringRef Name,
ClangTidyContext * Context )
inline

Definition at line 23 of file DeprecatedIosBaseAliasesCheck.h.

Member Function Documentation

◆ check()

void clang::tidy::modernize::DeprecatedIosBaseAliasesCheck::check ( const ast_matchers::MatchFinder::MatchResult & Result)
override

◆ isLanguageVersionSupported()

bool clang::tidy::modernize::DeprecatedIosBaseAliasesCheck::isLanguageVersionSupported ( const LangOptions & LangOpts) const
inlineoverride

Definition at line 25 of file DeprecatedIosBaseAliasesCheck.h.

◆ registerMatchers()

void clang::tidy::modernize::DeprecatedIosBaseAliasesCheck::registerMatchers ( ast_matchers::MatchFinder * Finder)
override

The documentation for this class was generated from the following files: