diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-09 21:40:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-09 21:40:03 +0000 |
commit | dd36d328730d8c02915d0884541b45ec6ca0049d (patch) | |
tree | 5e5f93d9eb7ae26d7c94b81d6e327a64e4d97721 /lib/CodeGen/CodeGenFunction.h | |
parent | 031421bc8f641dcfea110eda1492fe13e1292d1e (diff) |
refactor pre/postinc logic into CGF and require the caller to pass in the
lvalue to poke, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index f7ed4db455..8dbfb190df 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -798,7 +798,7 @@ public: llvm::Value *NumElements, llvm::Value *This); - llvm::Constant * GenerateCXXAggrDestructorHelper(const CXXDestructorDecl *D, + llvm::Constant *GenerateCXXAggrDestructorHelper(const CXXDestructorDecl *D, const ArrayType *Array, llvm::Value *This); @@ -819,6 +819,10 @@ public: void EmitCheck(llvm::Value *, unsigned Size); + llvm::Value *EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV, + bool isInc, bool isPre); + ComplexPairTy EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, + bool isInc, bool isPre); //===--------------------------------------------------------------------===// // Declaration Emission //===--------------------------------------------------------------------===// |