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


================
@@ -0,0 +1,87 @@
+// RUN: %clang_cc1 -DNEW_CONST_INTERP -std=c++20 -fexperimental-new-constant-interpreter -fsyntax-only -verify %s
----------------
tbaederr wrote:

```suggestion
// RUN: %clang_cc1 -std=c++20 -fexperimental-new-constant-interpreter -fsyntax-only -verify %s
```

add another RUN line for the current interpreter and do the `-verify=ref,both` and `-verify=expected-both` dance. You can then uncomment the non-working example and add expected output for `ref-` and `expected-` separately.

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


More information about the cfe-commits mailing list