|
clang 22.0.0git
|
Functions | |
| QualType | inferPossibleType (const CallExpr *E, const ASTContext &Ctx, const CastExpr *CastE) |
| Infer the possible allocated type from an allocation call expression. | |
| std::optional< llvm::AllocTokenMetadata > | getAllocTokenMetadata (QualType T, const ASTContext &Ctx) |
| Get the information required for construction of an allocation token ID. | |
| std::optional< llvm::AllocTokenMetadata > clang::infer_alloc::getAllocTokenMetadata | ( | QualType | T, |
| const ASTContext & | Ctx ) |
Get the information required for construction of an allocation token ID.
Definition at line 182 of file InferAlloc.cpp.
References clang::PrintingPolicy::FullyQualifiedName, clang::ASTContext::getLangOpts(), clang::PrintingPolicy::SuppressTagKeyword, clang::T, and typeContainsPointer().
Referenced by clang::CodeGen::CodeGenFunction::buildAllocToken(), and clang::interp::interp__builtin_infer_alloc_token().
| QualType clang::infer_alloc::inferPossibleType | ( | const CallExpr * | E, |
| const ASTContext & | Ctx, | ||
| const CastExpr * | CastE ) |
Infer the possible allocated type from an allocation call expression.
Definition at line 163 of file InferAlloc.cpp.
References clang::CallExpr::arguments(), inferPossibleTypeFromArithSizeofExpr(), inferPossibleTypeFromCastExpr(), inferPossibleTypeFromVarInitSizeofExpr(), and clang::QualType::isNull().
Referenced by clang::CodeGen::CodeGenFunction::buildAllocToken(), and clang::interp::interp__builtin_infer_alloc_token().