[all-commits] [llvm/llvm-project] dbf67e: [clang] Substitute alias templates from correct co...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Tue Dec 12 23:50:57 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dbf67ea1d334d2114fe49701a8f4b8afd536e39f
https://github.com/llvm/llvm-project/commit/dbf67ea1d334d2114fe49701a8f4b8afd536e39f
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2023-12-13 (Wed, 13 Dec 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
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 (#75069)
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.
This is a recommit of 6b1aa31 with a slight modification in order to fix
reported regression.
Fixes https://github.com/llvm/llvm-project/issues/41693
More information about the All-commits
mailing list