================
@@ -49,6 +49,12 @@ enum class WarningScope {
IntraTU // For warnings on functions local to a Translation Unit.
};
+struct LifetimeSafetyAliasChainEntry {
----------------
iitianpushkar wrote:
Expr *E/*Call points the same call expression, so, i am thinking to make the
following changes :
```cpp
struct LifetimeBoundInfo {
const ParmVarDecl *Param = nullptr;
bool IsImplicitObject = false;
};
struct LifetimeSafetyAliasChainEntry {
const Expr *E = nullptr;
std::optional<LifetimeBoundInfo> LifetimeBound;
};
```
Will this be a good idea for deduplication (atleast for Expr) ?
https://github.com/llvm/llvm-project/pull/206337
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits