mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 08:35:08 +00:00
Improve DeducedType
This commit is contained in:
parent
119a05597d
commit
ce1c7ec76a
@ -565,9 +565,7 @@ public:
|
||||
T = BD->getType();
|
||||
binding = true;
|
||||
}
|
||||
auto BT = GetBaseType(T, false);
|
||||
if (!BT.isNull() &&
|
||||
(binding || BT.getUnqualifiedType()->getAs<AutoType>())) {
|
||||
if (!T.isNull() && (binding || T->getContainedDeducedType())) {
|
||||
SmallString<256> Str;
|
||||
llvm::raw_svector_ostream OS(Str);
|
||||
PrintingPolicy PP = GetDefaultPolicy();
|
||||
|
Loading…
Reference in New Issue
Block a user