aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index a77044324a..4a5beb4baa 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -511,6 +511,11 @@ public:
/// \brief A mapping from NRVO variables to the flags used to indicate
/// when the NRVO has been applied to this variable.
llvm::DenseMap<const VarDecl *, llvm::Value *> NRVOFlags;
+
+ /// \brief A mapping from 'Save' expression in a conditional expression
+ /// to the IR for this expression. Used to implement IR gen. for Gnu
+ /// extension's missing LHS expression in a conditional operator expression.
+ llvm::DenseMap<const Expr *, llvm::Value *> ConditionalSaveExprs;
EHScopeStack EHStack;