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, llvm::StringRef NameToMatch)
 
std::optional< boolclang::isRefCountable (const clang::CXXRecordDecl *R)
 
std::optional< boolclang::isCheckedPtrCapable (const clang::CXXRecordDecl *R)
 
bool clang::isRefCounted (const CXXRecordDecl *R)
 
bool clang::isCheckedPtr (const CXXRecordDecl *R)
 
std::optional< boolclang::isUncounted (const QualType T)
 
std::optional< boolclang::isUnchecked (const QualType T)
 
std::optional< boolclang::isUncounted (const CXXRecordDecl *Class)
 
std::optional< boolclang::isUnchecked (const CXXRecordDecl *Class)
 
std::optional< boolclang::isUncountedPtr (const QualType T)
 
std::optional< boolclang::isUncheckedPtr (const QualType T)
 
std::optional< boolclang::isUnsafePtr (const QualType T)
 
bool clang::isSafePtrType (const clang::QualType T)
 
bool clang::isOwnerPtrType (const clang::QualType T)
 
bool clang::isCtorOfRefCounted (const clang::FunctionDecl *F)
 
bool clang::isCtorOfCheckedPtr (const clang::FunctionDecl *F)
 
bool clang::isCtorOfSafePtr (const clang::FunctionDecl *F)
 
bool clang::isRefType (const std::string &Name)
 
bool clang::isCheckedPtr (const std::string &Name)
 
std::optional< boolclang::isGetterOfSafePtr (const CXXMethodDecl *M)
 
bool clang::isPtrConversion (const FunctionDecl *F)
 
bool clang::isSingleton (const FunctionDecl *F)