clang 20.0.0git
Classes | Namespaces | Functions
PtrTypesSemantics.h File Reference
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PointerUnion.h"
#include <optional>

Go to the source code of this file.

Classes

class  clang::TrivialFunctionAnalysis
 An inter-procedural analysis facility that detects functions with "trivial" behavior with respect to reference counting, such as simple field getters. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Functions

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