diff --git a/src/indexer.cc b/src/indexer.cc index 125bb95c..30f103f7 100644 --- a/src/indexer.cc +++ b/src/indexer.cc @@ -565,9 +565,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();