aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMariya Podchishchaeva <mariya.podchishchaeva@intel.com>2023-11-30 12:46:35 +0300
committerGitHub <noreply@github.com>2023-11-30 10:46:35 +0100
commit14ca8d44d0f44ea5125b3c41b66276c902929a54 (patch)
tree296d389201cdcc49e30c314cfd066e5df9b718ab /clang/lib/CodeGen/CodeGenModule.cpp
parente9869b57707fc6dd828872a70c2f377cc0061978 (diff)
downloadllvm-14ca8d44d0f44ea5125b3c41b66276c902929a54.zip
llvm-14ca8d44d0f44ea5125b3c41b66276c902929a54.tar.gz
llvm-14ca8d44d0f44ea5125b3c41b66276c902929a54.tar.bz2
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions