[all-commits] [llvm/llvm-project] 1fe3b2: [Sema] Fix parameter index checks on explicit obje...

Vladimir Vuksanovic via All-commits all-commits at lists.llvm.org
Fri Oct 31 06:52:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fe3b2d81bd3061f1989e9677394f25725132301
      https://github.com/llvm/llvm-project/commit/1fe3b2d81bd3061f1989e9677394f25725132301
  Author: Vladimir Vuksanovic <109677816+vvuksanovic at users.noreply.github.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Attr.h
    M clang/include/clang/Sema/Attr.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/CodeGenCXX/attr-callback.cpp
    M clang/test/SemaCXX/attr-callback-broken.cpp
    M clang/test/SemaCXX/attr-callback.cpp
    M clang/test/SemaCXX/attr-format.cpp
    M clang/test/SemaCXX/attr-lifetime-capture-by.cpp
    M clang/test/SemaCXX/attr-nonnull.cpp

  Log Message:
  -----------
  [Sema] Fix parameter index checks on explicit object member functions (#165586)

With the C++23 explicit object parameter feature, it is no longer
sufficient to only check if a function is an instance method to
determine if it has an implicit this argument. That causes problems in
attributes that have parameter indexes.



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