clang API Documentation
#include "CGObjCRuntime.h"#include "CGCleanup.h"#include "CGRecordLayout.h"#include "CodeGenFunction.h"#include "CodeGenModule.h"#include "clang/AST/RecordLayout.h"#include "clang/AST/StmtObjC.h"#include "clang/CodeGen/CGFunctionInfo.h"#include "llvm/IR/CallSite.h"
Go to the source code of this file.
Functions | |
| static uint64_t | LookupFieldBitOffset (CodeGen::CodeGenModule &CGM, const ObjCInterfaceDecl *OID, const ObjCImplementationDecl *ID, const ObjCIvarDecl *Ivar) |
| static uint64_t LookupFieldBitOffset | ( | CodeGen::CodeGenModule & | CGM, |
| const ObjCInterfaceDecl * | OID, | ||
| const ObjCImplementationDecl * | ID, | ||
| const ObjCIvarDecl * | Ivar | ||
| ) | [static] |
Definition at line 29 of file CGObjCRuntime.cpp.
References clang::ObjCInterfaceDecl::all_declared_ivar_begin(), clang::declaresSameEntity(), clang::ASTContext::getASTObjCImplementationLayout(), clang::ASTContext::getASTObjCInterfaceLayout(), clang::ObjCImplDecl::getClassInterface(), clang::ObjCIvarDecl::getContainingInterface(), clang::CodeGen::CodeGenModule::getContext(), clang::ASTRecordLayout::getFieldOffset(), and clang::ObjCIvarDecl::getNextIvar().
Referenced by clang::CodeGen::CGObjCRuntime::ComputeBitfieldBitOffset(), clang::CodeGen::CGObjCRuntime::ComputeIvarBaseOffset(), and clang::CodeGen::CGObjCRuntime::EmitValueForIvarAtOffset().