clang-tools 22.0.0git
clang::tidy::bugprone::PosixReturnCheck Class Reference

#include <PosixReturnCheck.h>

Inheritance diagram for clang::tidy::bugprone::PosixReturnCheck:
[legend]

Public Member Functions

 PosixReturnCheck (StringRef Name, ClangTidyContext *Context)
void registerMatchers (ast_matchers::MatchFinder *Finder) override
void check (const ast_matchers::MatchFinder::MatchResult &Result) override

Detailed Description

Definition at line 16 of file PosixReturnCheck.h.

Constructor & Destructor Documentation

◆ PosixReturnCheck()

clang::tidy::bugprone::PosixReturnCheck::PosixReturnCheck ( StringRef Name,
ClangTidyContext * Context )
inline

Definition at line 18 of file PosixReturnCheck.h.

Member Function Documentation

◆ check()

void clang::tidy::bugprone::PosixReturnCheck::check ( const ast_matchers::MatchFinder::MatchResult & Result)
override

Definition at line 66 of file PosixReturnCheck.cpp.

References clang::tidy::bugprone::getFunctionSpelling().

◆ registerMatchers()

void clang::tidy::bugprone::PosixReturnCheck::registerMatchers ( ast_matchers::MatchFinder * Finder)
override

Definition at line 27 of file PosixReturnCheck.cpp.


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