[clang] [Clang][Interp] Fix display of syntactically-invalid note for member function calls (PR #102170)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 8 10:06:40 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()'}}
----------------
tbaederr wrote:
```suggestion
// both-note {{in call to 'S{}.~S()'}}
```
and remove the line above if the output matches anyway.
https://github.com/llvm/llvm-project/pull/102170
More information about the cfe-commits
mailing list