diff options
Diffstat (limited to 'clang/lib/CodeGen/CGValue.h')
-rw-r--r-- | clang/lib/CodeGen/CGValue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGValue.h b/clang/lib/CodeGen/CGValue.h index a000b223311..bb98c3cb237 100644 --- a/clang/lib/CodeGen/CGValue.h +++ b/clang/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 { |