[clang] [Clang][Interp] Fix display of syntactically-invalid note for member function calls (PR #102170)

via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 8 10:28:55 PDT 2024


================
@@ -599,7 +599,7 @@ namespace Destructors {
   };
   constexpr int testS() {
     S{}; // ref-note {{in call to 'S{}.~S()'}} \
-         // expected-note {{in call to '&S{}->~S()'}}
+         // expected-note {{in call to 'S{}.~S()'}}
----------------
yronglin wrote:

Done.

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


More information about the cfe-commits mailing list