[all-commits] [llvm/llvm-project] 6b1aa3: [clang] Substitute alias templates from correct co...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Wed Dec 6 02:14:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b1aa319754e76366edd88e10034e0539710d946
      https://github.com/llvm/llvm-project/commit/6b1aa319754e76366edd88e10034e0539710d946
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/CXX/temp/temp.decls/temp.alias/p3.cpp
    M clang/test/SemaCXX/alias-template.cpp

  Log Message:
  -----------
  [clang] Substitute alias templates from correct context (#74335)

Current context set to where alias was met, not where it is declared
caused incorrect access check in case alias referenced private members
of the parent class.

Fixes https://github.com/llvm/llvm-project/issues/41693




More information about the All-commits mailing list