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