Skip to content
Commit 8498ba6c authored by Liming Liu's avatar Liming Liu
Browse files

[clang] Add the check of membership for the issue #58674 and improve the lookup process

This patch includes the commit 01adf96e and a fix of unhandled declaration
references.

When looking up base classes, Clang first checks whether a base class is a
template and takes the specialized template based on it. However, the base class
might be instantiated, and the above behavior can lose information.

This patch fixes the problem by first checking whether a base class is a record
declaration, so the instantiated one will be taken.

Differential Revision: https://reviews.llvm.org/D143840
parent d3e84953
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment