diff options
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r-- | CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h index 47bdbacbb8..5ece5cd41b 100644 --- a/CodeGen/CodeGenFunction.h +++ b/CodeGen/CodeGenFunction.h @@ -182,6 +182,7 @@ class CodeGenFunction { CodeGenModule &CGM; // Per-module state. TargetInfo &Target; public: + typedef std::pair<llvm::Value *, llvm::Value *> ComplexPairTy; llvm::LLVMBuilder Builder; private: @@ -416,7 +417,7 @@ public: /// EmitComplexExpr - Emit the computation of the specified expression of /// complex type, ignoring the result. - void EmitComplexExpr(const Expr *E); + ComplexPairTy EmitComplexExpr(const Expr *E); }; } // end namespace CodeGen } // end namespace clang |