Implement CXXNoexceptExpr codegen.

llvm-svn: 113629
This commit is contained in:
Sebastian Redl 2010-09-10 21:04:00 +00:00
parent 4fa4a6b85e
commit b67655fc6d
1 changed files with 4 additions and 0 deletions

View File

@ -301,6 +301,10 @@ public:
return 0;
}
Value *VisitCXXNoexceptExpr(const CXXNoexceptExpr *E) {
return llvm::ConstantInt::get(Builder.getInt1Ty(), E->getValue());
}
// Binary Operators.
Value *EmitMul(const BinOpInfo &Ops) {
if (Ops.Ty->hasSignedIntegerRepresentation()) {