================
----------------
zwuis wrote:
Can we add tests with carets of diagnostics pointing to injected string?
<details>
<summary>Example</summary>
```cpp
struct S {
struct Iterator {};
constexpr Iterator begin() const { return {}; }
constexpr Iterator end() const { return {}; }
};
void f() {
static constexpr S s;
template for (auto x : s)
;
}
```
</details>
https://github.com/llvm/llvm-project/pull/208877
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits