[cfe-commits] r76268 - /cfe/trunk/lib/Frontend/PCHReaderDecl.cpp

Argiris Kirtzidis akyrtzi at gmail.com
Fri Jul 17 17:33:23 PDT 2009


Author: akirtzidis
Date: Fri Jul 17 19:33:23 2009
New Revision: 76268

URL: http://llvm.org/viewvc/llvm-project?rev=76268&view=rev
Log:
Location should be passed to setLocEnd() not to setAtEndLoc() which belongs to ObjCContainerDecl.

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

Modified: cfe/trunk/lib/Frontend/PCHReaderDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/PCHReaderDecl.cpp?rev=76268&r1=76267&r2=76268&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/PCHReaderDecl.cpp (original)
+++ cfe/trunk/lib/Frontend/PCHReaderDecl.cpp Fri Jul 17 19:33:23 2009
@@ -221,7 +221,7 @@
   ID->setImplicitInterfaceDecl(Record[Idx++]);
   ID->setClassLoc(SourceLocation::getFromRawEncoding(Record[Idx++]));
   ID->setSuperClassLoc(SourceLocation::getFromRawEncoding(Record[Idx++]));
-  ID->setAtEndLoc(SourceLocation::getFromRawEncoding(Record[Idx++]));
+  ID->setLocEnd(SourceLocation::getFromRawEncoding(Record[Idx++]));
 }
 
 void PCHDeclReader::VisitObjCIvarDecl(ObjCIvarDecl *IVD) {





More information about the cfe-commits mailing list