================
@@ -49,6 +51,14 @@ enum class WarningScope {
IntraTU // For warnings on functions local to a Translation Unit.
};
+using LifetimeBoundParamInfo =
+ llvm::PointerUnion<const ParmVarDecl *, const CXXMethodDecl *>;
+
+struct AliasChainEntry {
----------------
Xazax-hun wrote:
Do we actually need the `AliasChainEntry` now? Since we can rederive the
lifetime bound info from an expression, any time we have an expression we can
get the necessary annotaiton info. So I don't think it ever makes sense to
store both.
https://github.com/llvm/llvm-project/pull/206337
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits