forked from OSchip/llvm-project
Fix broken reading of member pointer from PCH.
llvm-svn: 107472
This commit is contained in:
parent
45a83f9acc
commit
ee776bcb7a
|
@ -2015,7 +2015,7 @@ QualType PCHReader::ReadTypeRecord(uint64_t Offset) {
|
|||
}
|
||||
|
||||
case pch::TYPE_MEMBER_POINTER: {
|
||||
if (Record.size() != 1) {
|
||||
if (Record.size() != 2) {
|
||||
Error("Incorrect encoding of member pointer type");
|
||||
return QualType();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue