clang 20.0.0git
|
Public Member Functions | |
FunctionPointer ()=default | |
FunctionPointer (const Function *Func, uint64_t Offset=0) | |
FunctionPointer (uintptr_t IntVal, const Descriptor *Desc=nullptr) | |
const Function * | getFunction () const |
uint64_t | getOffset () const |
bool | isZero () const |
bool | isValid () const |
bool | isWeak () const |
APValue | toAPValue (const ASTContext &) const |
void | print (llvm::raw_ostream &OS) const |
std::string | toDiagnosticString (const ASTContext &Ctx) const |
uint64_t | getIntegerRepresentation () const |
ComparisonCategoryResult | compare (const FunctionPointer &RHS) const |
Definition at line 20 of file FunctionPointer.h.
|
default |
|
inline |
Definition at line 28 of file FunctionPointer.h.
References clang::Func.
|
inline |
Definition at line 31 of file FunctionPointer.h.
References clang::Func.
|
inline |
Definition at line 60 of file FunctionPointer.h.
References clang::Equal, clang::Func, and clang::Unordered.
Referenced by clang::interp::CmpHelperEQ< FunctionPointer >().
|
inline |
Definition at line 35 of file FunctionPointer.h.
References clang::Func.
Referenced by clang::interp::CallPtr(), clang::interp::Pointer::getSource(), clang::interp::OffsetHelper(), and clang::interp::Pointer::print().
|
inline |
Definition at line 56 of file FunctionPointer.h.
References clang::Func.
Referenced by clang::interp::Pointer::getIntegerRepresentation(), and toAPValue().
|
inline |
Definition at line 36 of file FunctionPointer.h.
|
inline |
Definition at line 38 of file FunctionPointer.h.
Referenced by clang::interp::CallPtr().
|
inline |
Definition at line 39 of file FunctionPointer.h.
References clang::Func.
|
inline |
Definition at line 37 of file FunctionPointer.h.
References clang::Func.
Referenced by clang::interp::Pointer::isZero().
void clang::interp::FunctionPointer::print | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 31 of file FunctionPointer.cpp.
References clang::interp::Function::getName().
Referenced by clang::interp::operator<<().
APValue clang::interp::FunctionPointer::toAPValue | ( | const ASTContext & | ) | const |
Definition at line 14 of file FunctionPointer.cpp.
References clang::CharUnits::fromQuantity(), clang::interp::Function::getDecl(), clang::interp::Function::getExpr(), getIntegerRepresentation(), and clang::CharUnits::Zero().
Referenced by clang::interp::Pointer::toAPValue(), and toDiagnosticString().
|
inline |
Definition at line 49 of file FunctionPointer.h.
References clang::Func, clang::APValue::getAsString(), and toAPValue().
Referenced by clang::interp::CmpHelper< FunctionPointer >().