commit | 240437bbb96898e2cd019ffbc5303cd42e3d4f5f | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Jul 02 11:55:15 2010 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Jul 02 11:55:15 2010 +0000 |
tree | 8b357b0f4a3ed4c9042e5dbb0ac608bc45bef12e | |
parent | 9763e221e16026ddf487d2564ed349d2c874a1a1 [diff] [blame] |
Fix broken reading of member pointer from PCH. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107472 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/PCHReader.cpp b/lib/Frontend/PCHReader.cpp index 330cd9a..ecd9505 100644 --- a/lib/Frontend/PCHReader.cpp +++ b/lib/Frontend/PCHReader.cpp
@@ -2015,7 +2015,7 @@ } case pch::TYPE_MEMBER_POINTER: { - if (Record.size() != 1) { + if (Record.size() != 2) { Error("Incorrect encoding of member pointer type"); return QualType(); }