================
@@ -86,13 +86,13 @@ struct DanglingGslPtrField {
MyLongPointerFromConversion p2; // expected-note {{pointer member declared
here}} \
// cfg-note 2 {{this field dangles}}
- DanglingGslPtrField(int i) : p(&i) {} // cfg-warning {{address of stack
memory escapes to a field}}
+ DanglingGslPtrField(int i) : p(&i) {} // cfg-warning {{stack memory
associated with parameter 'i' escapes to a field 'p' which will dangle}}
----------------
NeKon69 wrote:
That's my bad, sorry I missed that.
https://github.com/llvm/llvm-project/pull/200147
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits