|
clang 24.0.0git
|
#include "DiagOutputUtils.h"#include "PtrTypesSemantics.h"#include "clang/AST/Type.h"#include "llvm/Support/raw_ostream.h"#include <memory>#include <optional>#include <string>Go to the source code of this file.
Classes | |
| class | clang::PtrRefSafetyModel |
| Models one WebKit pointer-safety policy: ref-counted (RefPtr), checked (CheckedPtr), or retainable (RetainPtr/OSPtr). More... | |
Namespaces | |
| namespace | clang |
| Top level wrappers for InstallAPI frontend operations. | |
Functions | |
| std::optional< bool > | clang::isUnsafePtrForStorage (const PtrRefSafetyModel &Model, QualType T, bool IgnoreARC=false) |
Applies the memory-management exemptions that hold for a variable, member, or lambda capture (but not for a call argument) before consulting Model: a __strong / __weak Objective-C storage location is memory managed and thus safe. | |
| std::unique_ptr< PtrRefSafetyModel > | clang::makeRefPtrSafetyModel () |
| std::unique_ptr< PtrRefSafetyModel > | clang::makeCheckedPtrSafetyModel () |
| std::unique_ptr< PtrRefSafetyModel > | clang::makeRetainPtrSafetyModel () |
| std::unique_ptr< PtrRefSafetyModel > | clang::makeBorrowSafetyModel () |