#include "Function.h"
#include "Opcode.h"
#include "Program.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/Basic/Builtins.h"
usingnamespaceclang;
usingnamespaceclang::interp;
Function::Function(Program &P, FunctionDeclTy Source, unsigned ArgSize,
llvm::SmallVectorImpl<PrimType> &&ParamTypes,
llvm::DenseMap<unsigned, ParamDescriptor> &&Params,
llvm::SmallVectorImpl<unsigned> &&ParamOffsets,
bool HasThisPointer, bool HasRVO, unsigned BuiltinID)
: … { … }
Function::ParamDescriptor Function::getParamDescriptor(unsigned Offset) const { … }
SourceInfo Function::getSource(CodePtr PC) const { … }
bool Function::isVirtual() const { … }
static bool isUnevaluatedBuiltin(unsigned BuiltinID) { … }
bool Function::isUnevaluatedBuiltin() const { … }