diff --git a/src/indexer.cc b/src/indexer.cc index e2c5321f..de83bdc2 100644 --- a/src/indexer.cc +++ b/src/indexer.cc @@ -550,9 +550,7 @@ public: T = BD->getType(); binding = true; } - auto BT = GetBaseType(T, false); - if (!BT.isNull() && - (binding || BT.getUnqualifiedType()->getAs())) { + if (!T.isNull() && (binding || T->getContainedDeducedType())) { SmallString<256> Str; llvm::raw_svector_ostream OS(Str); PrintingPolicy PP = GetDefaultPolicy();