diff options
author | Sirraide <aeternalmail@gmail.com> | 2024-02-29 17:43:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 17:43:01 +0100 |
commit | c4c35d9522d19a0a511ee2cc011a21661e69f3c0 (patch) | |
tree | fc8f73a97821655f14492c3d7adf3a747c9b00ae /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 3fda50d3915b2163a54a37b602be7783a89dd808 (diff) | |
download | llvm-c4c35d9522d19a0a511ee2cc011a21661e69f3c0.zip llvm-c4c35d9522d19a0a511ee2cc011a21661e69f3c0.tar.gz llvm-c4c35d9522d19a0a511ee2cc011a21661e69f3c0.tar.bz2 |
[Clang] [Sema] Handle `this` in `__restrict`-qualified member functions properly (#83187)
When resolving the type of `this` inside a member function, we were
attaching all qualifiers present on the member function to the class
type and then making it a pointer; however, `__restrict`, unlike `const`
and `volatile`, needs to be attached to the pointer type rather than the
pointee type.
This fixes #82941, #42411, and #18121.
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions