llvm.org GIT mirror llvm / 2b3b9e1
Fix a crash in llvm-undname with invalid types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349165 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 9 months ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
16681668 Ty = demangleCustomType(MangledName);
16691669 } else {
16701670 Ty = demanglePrimitiveType(MangledName);
1671 if (!Ty || Error)
1672 return Ty;
1673 }
1674
1671 }
1672
1673 if (!Ty || Error)
1674 return Ty;
16751675 Ty->Quals = Qualifiers(Ty->Quals | Quals);
16761676 return Ty;
16771677 }