forked from OSchip/llvm-project
parent
8a2e601917
commit
4557b2c0c2
|
@ -404,15 +404,6 @@ void CodeGenFunction::EmitBranchOnBoolExpr(const Expr *Cond,
|
|||
Builder.CreateCondBr(CondV, TrueBlock, FalseBlock);
|
||||
}
|
||||
|
||||
/// getCGRecordLayout - Return record layout info.
|
||||
const CGRecordLayout *CodeGenFunction::getCGRecordLayout(CodeGenTypes &CGT,
|
||||
QualType Ty) {
|
||||
const RecordType *RTy = Ty->getAs<RecordType>();
|
||||
assert (RTy && "Unexpected type. RecordType expected here.");
|
||||
|
||||
return CGT.getCGRecordLayout(RTy->getDecl());
|
||||
}
|
||||
|
||||
/// ErrorUnsupported - Print out an error that codegen doesn't support the
|
||||
/// specified stmt yet.
|
||||
void CodeGenFunction::ErrorUnsupported(const Stmt *S, const char *Type,
|
||||
|
|
|
@ -521,9 +521,6 @@ public:
|
|||
/// then reuse it.
|
||||
void StartBlock(const char *N);
|
||||
|
||||
/// getCGRecordLayout - Return record layout info.
|
||||
const CGRecordLayout *getCGRecordLayout(CodeGenTypes &CGT, QualType RTy);
|
||||
|
||||
/// GetAddrOfStaticLocalVar - Return the address of a static local variable.
|
||||
llvm::Constant *GetAddrOfStaticLocalVar(const VarDecl *BVD);
|
||||
|
||||
|
|
Loading…
Reference in New Issue