projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce55b2e
)
Location should be passed to setLocEnd() not to setAtEndLoc() which belongs to ObjCCo...
author
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Sat, 18 Jul 2009 00:33:23 +0000
(
00:33
+0000)
committer
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Sat, 18 Jul 2009 00:33:23 +0000
(
00:33
+0000)
llvm-svn: 76268
clang/lib/Frontend/PCHReaderDecl.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Frontend/PCHReaderDecl.cpp
b/clang/lib/Frontend/PCHReaderDecl.cpp
index 5fbf2d746208f463ae8dfa89d8f0b0fda5e24097..8df245a4b2f5d0c4bfdcf7277281b52a2209b0ab 100644
(file)
--- 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->set
AtEndLoc
(SourceLocation::getFromRawEncoding(Record[Idx++]));
+ ID->set
LocEnd
(SourceLocation::getFromRawEncoding(Record[Idx++]));
}
void PCHDeclReader::VisitObjCIvarDecl(ObjCIvarDecl *IVD) {