[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 20:14:41 PDT 2024


================
@@ -46,7 +46,7 @@ constexpr int div(int a, int b) {
     return a / b; // both-note {{division by zero}}
   };
 
-  return f(); // expected-note {{in call to '&f->operator()()'}} \
+  return f(); // expected-note {{in call to 'f.operator()()'}} \
----------------
yronglin wrote:

Done~

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


More information about the cfe-commits mailing list