diff options
Diffstat (limited to 'clang/include')
| -rw-r--r-- | clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h index 02699531a74..f332132a0ed 100644 --- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h +++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h @@ -65,6 +65,10 @@ public: bool IsArrayCtorOrDtor = false; /// This call is a constructor or a destructor of a temporary value. bool IsTemporaryCtorOrDtor = false; + /// This call is a constructor for a temporary that is lifetime-extended + /// by binding a smaller object within it to a reference, for example + /// 'const int &x = C().x;'. + bool IsTemporaryLifetimeExtendedViaSubobject = false; EvalCallOptions() {} }; |

