clang-tools 22.0.0git
|
Detect redundant parentheses. More...
#include <RedundantParenthesesCheck.h>
Public Member Functions | |
RedundantParenthesesCheck (StringRef Name, ClangTidyContext *Context) | |
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.
|
inline |
Definition at line 23 of file RedundantParenthesesCheck.h.
|
override |
Definition at line 48 of file RedundantParenthesesCheck.cpp.
|
inlineoverride |
Definition at line 27 of file RedundantParenthesesCheck.h.
|
override |
Definition at line 35 of file RedundantParenthesesCheck.cpp.