clang 20.0.0git
Classes | 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 "clang/AST/StmtVisitor.h"
#include <optional>

Go to the source code of this file.

Classes

class  clang::TrivialFunctionAnalysisVisitor
 

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, StringRef NameToMatch)
 
std::optional< boolclang::isSmartPtrCompatible (const CXXRecordDecl *R, StringRef IncMethodName, StringRef DecMethodName)
 
std::optional< boolclang::isRefCountable (const clang::CXXRecordDecl *R)
 
std::optional< boolclang::isCheckedPtrCapable (const clang::CXXRecordDecl *R)
 
bool clang::isRefType (const std::string &Name)
 
bool clang::isCheckedPtr (const std::string &Name)
 
bool clang::isCtorOfRefCounted (const clang::FunctionDecl *F)
 
bool clang::isCtorOfCheckedPtr (const clang::FunctionDecl *F)
 
bool clang::isCtorOfSafePtr (const clang::FunctionDecl *F)
 
template<typename Predicate >
static bool clang::isPtrOfType (const clang::QualType T, Predicate Pred)
 
bool clang::isSafePtrType (const clang::QualType T)
 
bool clang::isOwnerPtrType (const clang::QualType T)
 
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)
 
std::optional< boolclang::isGetterOfSafePtr (const CXXMethodDecl *M)
 
bool clang::isRefCounted (const CXXRecordDecl *R)
 
bool clang::isCheckedPtr (const CXXRecordDecl *R)
 
bool clang::isPtrConversion (const FunctionDecl *F)
 
bool clang::isSingleton (const FunctionDecl *F)