================ @@ -0,0 +1,220 @@ +// RUN: %clang_cc1 --std=c++20 -fsyntax-only -Wdangling -Wdangling-field -Wreturn-stack-address -verify %s + +#include "Inputs/lifetime-analysis.h" ---------------- usx95 wrote:
I don't think that would be useful. Both lifetimebound and lifetime_capture share the semantics of STL types specially the inferred lifetimebound and gsl::Pointer/Owner. Also, I think it is useful to test how the stl types interact with other use defined types. We often duplicate tests for both stl types and user defined types and I would prefer to keep the redundancy together in one place as compared to repeating similar tests to two different files. https://github.com/llvm/llvm-project/pull/115921 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits