[clang] [clang] Fix the post-filtering heuristic for GSLPointer. (PR #114044)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 5 08:27:45 PST 2024


================
@@ -793,3 +794,44 @@ void test13() {
 }
 
 } // namespace GH100526
+
+namespace LifetimeboundInterleave {
+
+const std::string& Ref(const std::string& abc [[clang::lifetimebound]]);
----------------
hokein wrote:

Added.

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


More information about the cfe-commits mailing list