clang 18.0.0git
Namespaces | Functions
PtrTypesSemantics.cpp File Reference
#include "PtrTypesSemantics.h"
#include "ASTUtils.h"
#include "clang/AST/CXXInheritance.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/ExprCXX.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 

Functions

std::optional< const clang::CXXRecordDecl * > clang::hasPublicMethodInBase (const CXXBaseSpecifier *Base, const char *NameToMatch)
 
std::optional< boolclang::isRefCountable (const CXXRecordDecl *R)
 
bool clang::isCtorOfRefCounted (const clang::FunctionDecl *F)
 
std::optional< boolclang::isUncounted (const CXXRecordDecl *Class)
 
std::optional< boolclang::isUncountedPtr (const Type *T)
 
std::optional< boolclang::isGetterOfRefCounted (const CXXMethodDecl *M)
 
bool clang::isRefCounted (const CXXRecordDecl *R)
 
bool clang::isPtrConversion (const FunctionDecl *F)