[clang] [Lifetime Safety] Public Vs Private Annotation Suggestions (PR #171972)
Kashika Akhouri via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 15 00:36:54 PST 2025
================
@@ -89,16 +122,29 @@ void test_getView_on_temporary() {
(void)sv;
}
+// FIXME: Fails to generate lifetime suggestion for reference types as these are not handled currently.
+MyObj& return_reference (MyObj& a, MyObj& b, bool c) {
----------------
kashika0112 wrote:
Done
https://github.com/llvm/llvm-project/pull/171972
More information about the cfe-commits
mailing list