|
clang-tools 22.0.0git
|
Detect redundant parentheses. More...
#include <RedundantParenthesesCheck.h>
Public Member Functions | |
| RedundantParenthesesCheck (StringRef Name, ClangTidyContext *Context) | |
| void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
| void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
| void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
| bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
Detect redundant parentheses.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-parentheses.html
Definition at line 21 of file RedundantParenthesesCheck.h.
| clang::tidy::readability::RedundantParenthesesCheck::RedundantParenthesesCheck | ( | StringRef | Name, |
| ClangTidyContext * | Context ) |
Definition at line 37 of file RedundantParenthesesCheck.cpp.
|
override |
Definition at line 65 of file RedundantParenthesesCheck.cpp.
|
inlineoverride |
Definition at line 27 of file RedundantParenthesesCheck.h.
|
override |
Definition at line 49 of file RedundantParenthesesCheck.cpp.
References clang::tidy::matchers::matchesAnyListedName().
|
override |
Definition at line 43 of file RedundantParenthesesCheck.cpp.
References clang::tidy::utils::options::serializeStringList().