[cfe-commits] r107472 - /cfe/trunk/lib/Frontend/PCHReader.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Fri Jul 2 04:55:15 PDT 2010


Author: akirtzidis
Date: Fri Jul  2 06:55:15 2010
New Revision: 107472

URL: http://llvm.org/viewvc/llvm-project?rev=107472&view=rev
Log:
Fix broken reading of member pointer from PCH.

Modified:
    cfe/trunk/lib/Frontend/PCHReader.cpp

Modified: cfe/trunk/lib/Frontend/PCHReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/PCHReader.cpp?rev=107472&r1=107471&r2=107472&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/PCHReader.cpp (original)
+++ cfe/trunk/lib/Frontend/PCHReader.cpp Fri Jul  2 06:55:15 2010
@@ -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();
     }





More information about the cfe-commits mailing list