[all-commits] [llvm/llvm-project] 1cfa46: [clang] Add missing information to AST for calling...

Yanzuo Liu via All-commits all-commits at lists.llvm.org
Fri Sep 11 06:30:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cfa469ad1b9a00500e94eac8ec65b1f0041f3ce
      https://github.com/llvm/llvm-project/commit/1cfa469ad1b9a00500e94eac8ec65b1f0041f3ce
  Author: Yanzuo Liu <zwuis at outlook.com>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
    M clang/docs/ReleaseNotes.md
    M clang/lib/Sema/SemaOverload.cpp
    A clang/test/AST/ast-print-deducing-this.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp

  Log Message:
  -----------
  [clang] Add missing information to AST for calling explicit object member functions (#220463)

For `E1.E2()` and `E1->E2()`,

1. A `MemberExpr` is created to represent `E1.E2` and `E1->E2`.
If overload resolution is performed, it is created using information
from a `UnresolvedMemberExpr`.
2. If `E2` is an explicit object member function, a `DeclRefExpr` is
created to represent `E2` using information from the `MemberExpr`.

This PR adds missed information to the `DeclRefExpr`.

Fixes #218829.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list