clang 22.0.0git
InferAlloc.h File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Expr.h"
#include "llvm/Support/AllocToken.h"
#include <optional>

Go to the source code of this file.

Namespaces

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

Functions

QualType clang::infer_alloc::inferPossibleType (const CallExpr *E, const ASTContext &Ctx, const CastExpr *CastE)
 Infer the possible allocated type from an allocation call expression.
std::optional< llvm::AllocTokenMetadata > clang::infer_alloc::getAllocTokenMetadata (QualType T, const ASTContext &Ctx)
 Get the information required for construction of an allocation token ID.

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant