clang-tools 20.0.0git
Namespaces | Functions
CrtpConstructorAccessibilityCheck.cpp File Reference
#include "CrtpConstructorAccessibilityCheck.h"
#include "../utils/LexerUtils.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"

Go to the source code of this file.

Namespaces

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

Functions

static bool clang::tidy::bugprone::hasPrivateConstructor (const CXXRecordDecl *RD)
 
static bool clang::tidy::bugprone::isDerivedParameterBefriended (const CXXRecordDecl *CRTP, const NamedDecl *Param)
 
static bool clang::tidy::bugprone::isDerivedClassBefriended (const CXXRecordDecl *CRTP, const CXXRecordDecl *Derived)
 
static const NamedDecl * clang::tidy::bugprone::getDerivedParameter (const ClassTemplateSpecializationDecl *CRTP, const CXXRecordDecl *Derived)
 
static std::vector< FixItHint > clang::tidy::bugprone::hintMakeCtorPrivate (const CXXConstructorDecl *Ctor, const std::string &OriginalAccess)