mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 02:56:09 +00:00
Location should be passed to setLocEnd() not to setAtEndLoc() which belongs to ObjCContainerDecl.
llvm-svn: 76268
This commit is contained in:
parent
ce55b2e543
commit
ea72f422ef
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user