clang 20.0.0git
|
[BoundsSafety] Represents information of declarations referenced by the arguments of the counted_by
attribute and the likes.
More...
#include "clang/AST/Type.h"
Public Types | |
using | BaseTy = llvm::PointerIntPair< ValueDecl *, 1, unsigned > |
Public Member Functions | |
TypeCoupledDeclRefInfo (ValueDecl *D=nullptr, bool Deref=false) | |
D is to a declaration referenced by the argument of attribute. | |
bool | isDeref () const |
ValueDecl * | getDecl () const |
unsigned | getInt () const |
void * | getOpaqueValue () const |
bool | operator== (const TypeCoupledDeclRefInfo &Other) const |
void | setFromOpaqueValue (void *V) |
[BoundsSafety] Represents information of declarations referenced by the arguments of the counted_by
attribute and the likes.
using clang::TypeCoupledDeclRefInfo::BaseTy = llvm::PointerIntPair<ValueDecl *, 1, unsigned> |
ValueDecl * TypeCoupledDeclRefInfo::getDecl | ( | ) | const |
Definition at line 3879 of file Type.cpp.
Referenced by clang::BoundsAttributedType::referencesFieldDecls(), and clang::ASTRecordWriter::writeTypeCoupledDeclRefInfo().
void * TypeCoupledDeclRefInfo::getOpaqueValue | ( | ) | const |
Definition at line 3881 of file Type.cpp.
Referenced by operator==().
bool TypeCoupledDeclRefInfo::isDeref | ( | ) | const |
Definition at line 3876 of file Type.cpp.
Referenced by clang::ASTRecordWriter::writeTypeCoupledDeclRefInfo().
bool TypeCoupledDeclRefInfo::operator== | ( | const TypeCoupledDeclRefInfo & | Other | ) | const |
Definition at line 3884 of file Type.cpp.
References getOpaqueValue(), and clang::Other.
void TypeCoupledDeclRefInfo::setFromOpaqueValue | ( | void * | V | ) |