[clang] [Clang][Interp] Fix display of syntactically-invalid note for member function calls (PR #102170)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 08:26:11 PDT 2024
================
@@ -335,7 +335,7 @@ namespace InitializerTemporaries {
constexpr int f() {
S{}; // ref-note {{in call to 'S{}.~S()'}} \
- // expected-note {{in call to '&S{}->~S()'}}
+ // expected-note {{in call to '~S()'}}
----------------
yronglin wrote:
Good catch! It's 100% incorrect.
https://github.com/llvm/llvm-project/pull/102170
More information about the cfe-commits
mailing list