[clang] Make [[clang::lifetimebound]] work for expressions coming from default arguments (PR #112047)

Boaz Brickner via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 14 23:25:28 PDT 2024


================
@@ -107,6 +107,39 @@ namespace std {
 using std::operator""s;
 using std::operator""sv;
 
+namespace default_args {
+  using IntArray = int[];
----------------
bricknerb wrote:

Is this helpful if this is only used once?

https://github.com/llvm/llvm-project/pull/112047


More information about the cfe-commits mailing list