aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CGValue.h')
-rw-r--r--lib/CodeGen/CGValue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGValue.h b/lib/CodeGen/CGValue.h
index a000b22331..bb98c3cb23 100644
--- a/lib/CodeGen/CGValue.h
+++ b/lib/CodeGen/CGValue.h
@@ -379,8 +379,8 @@ public:
bool isLifetimeExternallyManaged() const {
return LifetimeFlag;
}
- void setLifetimeExternallyManaged() {
- LifetimeFlag = true;
+ void setLifetimeExternallyManaged(bool Managed = true) {
+ LifetimeFlag = Managed;
}
bool isVolatile() const {