[all-commits] [llvm/llvm-project] 14ca8d: [clang] Fix a bug with qualified name lookup into ...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Thu Nov 30 01:46:52 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 14ca8d44d0f44ea5125b3c41b66276c902929a54
https://github.com/llvm/llvm-project/commit/14ca8d44d0f44ea5125b3c41b66276c902929a54
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2023-11-30 (Thu, 30 Nov 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaTemplate/dependent-base-classes.cpp
Log Message:
-----------
[clang] Fix a bug with qualified name lookup into current instantiation (#73018)
Due to d0d2ee0e4bbe915d649e983c12d37bcfcf58823c clang doesn't perform
qualified name lookup into the current instantiation when it has
dependent bases, because of that `getTypeName` call always returns null
for unknown specialization case. When there is a `typename` keyword,
`DependentNameType` is constructed instead of simply returning null.
This change attempts to do the same in case of `typename` absence.
Fixes https://github.com/llvm/llvm-project/issues/13826
More information about the All-commits
mailing list