clang-tools 22.0.0git
|
Functions that have trailing returns are disallowed, except for those using decltype specifiers and lambda with otherwise unutterable return types. More...
#include <TrailingReturnCheck.h>
Public Member Functions | |
TrailingReturnCheck (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 |
Functions that have trailing returns are disallowed, except for those using decltype specifiers and lambda with otherwise unutterable return types.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/fuchsia/trailing-return.html
Definition at line 22 of file TrailingReturnCheck.h.
|
inline |
Definition at line 24 of file TrailingReturnCheck.h.
|
override |
Definition at line 30 of file TrailingReturnCheck.cpp.
|
inlineoverride |
Definition at line 26 of file TrailingReturnCheck.h.
|
override |
Definition at line 17 of file TrailingReturnCheck.cpp.