================
@@ -77,12 +86,12 @@ void caller_six() {
   int odd = 55;
   int &s = fn(even, odd);
 
-  clang_analyzer_dumpLifetimeOriginsOf(s); // expected-warning {{Origin &odd 
bound to odd}}
+  clang_analyzer_dumpLifetimeOriginsOf(s);
+  // expected-warning@-1 {{Origin &odd bound to odd}}
----------------
isuckatcs wrote:

Nit: don't we want the `'...'`  around the region? E.g.: `Origin '&odd' bound 
to 'odd'`.

https://github.com/llvm/llvm-project/pull/212158
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to