summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-18 00:33:23 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-18 00:33:23 +0000
commitea72f422ef291ec5961a6941c7ca037a8fb96c7c (patch)
tree8242468d0a07807495862b02395761fec18e1ba6 /clang/lib/Frontend/PCHReaderDecl.cpp
parentce55b2e5431dff433d0dcc3538c65b0730ddb3cb (diff)
downloadbcm5719-llvm-ea72f422ef291ec5961a6941c7ca037a8fb96c7c.tar.gz
bcm5719-llvm-ea72f422ef291ec5961a6941c7ca037a8fb96c7c.zip
Location should be passed to setLocEnd() not to setAtEndLoc() which belongs to ObjCContainerDecl.
llvm-svn: 76268
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r--clang/lib/Frontend/PCHReaderDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp
index 5fbf2d74620..8df245a4b2f 100644
--- a/clang/lib/Frontend/PCHReaderDecl.cpp
+++ b/clang/lib/Frontend/PCHReaderDecl.cpp
@@ -221,7 +221,7 @@ void PCHDeclReader::VisitObjCInterfaceDecl(ObjCInterfaceDecl *ID) {
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) {
OpenPOWER on IntegriCloud