[clang-tools-extra] [clangd] Resolve the dependent type from its single instantiation. Take 1 (PR #71279)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 10 14:25:35 PST 2023
================
@@ -150,6 +246,11 @@ std::vector<const NamedDecl *> HeuristicResolver::resolveMemberExpr(
if (ME->isArrow()) {
BaseType = getPointeeType(BaseType);
}
+
+ if (BaseType->isDependentType())
----------------
sr-tream wrote:
Check BaseType before access (line 254)
https://github.com/llvm/llvm-project/pull/71279
More information about the cfe-commits
mailing list