diff options
author | Mythreya Kuricheti <git@mythreya.dev> | 2025-08-26 20:54:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-26 23:54:50 -0400 |
commit | f44eaf47dc1357959d14cbf5f278c82e554689b2 (patch) | |
tree | 4fc706fd9ce132fa9558673895cad120a13752e9 /flang/lib/Lower/OpenACC.cpp | |
parent | 5d111a20c566d16f80faaa8eed1a382aacd045de (diff) | |
download | llvm-f44eaf47dc1357959d14cbf5f278c82e554689b2.zip llvm-f44eaf47dc1357959d14cbf5f278c82e554689b2.tar.gz llvm-f44eaf47dc1357959d14cbf5f278c82e554689b2.tar.bz2 |
[clang][HeuristicResolver] Resolve explicit object parameter to enclosing record type (#155143)
Heuristically resolve the type of a `this auto` parameter to the record type
in the declaration.
```cpp
struct Foo {
int member {};
auto&& getter1(this auto&& self) { // assume `self` is is `Foo`
return self.member;
};
```
Fixes https://github.com/clangd/clangd/issues/2323
Diffstat (limited to 'flang/lib/Lower/OpenACC.cpp')
0 files changed, 0 insertions, 0 deletions