clang 22.0.0git
|
This file declares semantic analysis functions specific to -fbounds-safety (Bounds Safety) and also its attributes when used without -fbounds-safety (e.g. More...
Go to the source code of this file.
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. |
Enumerations | |
enum class | clang::CountedByInvalidPointeeTypeKind { clang::INCOMPLETE , clang::SIZELESS , clang::FUNCTION , clang::FLEXIBLE_ARRAY_MEMBER , clang::VALID } |
Functions | |
static CountAttributedType::DynamicCountPointerKind | clang::getCountAttrKind (bool CountInBytes, bool OrNull) |
static const RecordDecl * | clang::GetEnclosingNamedOrTopAnonRecord (const FieldDecl *FD) |
static void | clang::EmitIncompleteCountedByPointeeNotes (Sema &S, const CountAttributedType *CATy, NamedDecl *IncompleteTyDecl) |
static std::tuple< const CountAttributedType *, QualType > | clang::GetCountedByAttrOnIncompletePointee (QualType Ty, NamedDecl **ND) |
static bool | clang::CheckAssignmentToCountAttrPtrWithIncompletePointeeTy (Sema &S, QualType LHSTy, Expr *RHSExpr, AssignmentAction Action, SourceLocation Loc, const ValueDecl *Assignee, bool ShowFullyQualifiedAssigneeName) |
Perform Checks for assigning to a __counted_by or __counted_by_or_null pointer type. |
This file declares semantic analysis functions specific to -fbounds-safety (Bounds Safety) and also its attributes when used without -fbounds-safety (e.g.
counted_by)
Definition in file SemaBoundsSafety.cpp.