clang-tools 22.0.0git
RedundantSmartptrGetCheck.cpp File Reference
#include "RedundantSmartptrGetCheck.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::readability

Functions

static internal::Matcher< Expr > clang::tidy::readability::callToGet (const internal::Matcher< Decl > &OnClass)
static internal::Matcher< Decl > clang::tidy::readability::knownSmartptr ()
static void clang::tidy::readability::registerMatchersForGetArrowStart (MatchFinder *Finder, MatchFinder::MatchCallback *Callback)
static void clang::tidy::readability::registerMatchersForGetEquals (MatchFinder *Finder, MatchFinder::MatchCallback *Callback)
static bool clang::tidy::readability::allReturnTypesMatch (const MatchFinder::MatchResult &Result)