aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/StmtSerialization.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-12-04 16:24:46 +0000
committerSteve Naroff <snaroff@apple.com>2008-12-04 16:24:46 +0000
commitc77a636688e188af7e7a9a05829e542adb48e880 (patch)
tree5cd976b3bcf2f6d9f96224280c88e86c94b3f562 /lib/AST/StmtSerialization.cpp
parent86ccea05f6bab8956f5418cdc4df8e130d4422aa (diff)
Several things...
- Implement RewritePropertySetter(). While the routine is simple, there were some tricky changes to RewriteFunctionBodyOrGlobalInitializer(), the main rewriter loop. It also required some additional instance data to distinguish setters from getters, as well as some changes to RewritePropertyGetter(). - Implement FIXME: for pretty printing ObjCPropertyRefExpr's. - Changed ObjCPropertyRefExpr::getSourceRange() to point to the end of the property name (not the beginning). Also made a minor name change from "Loc"->"IdLoc" (to make it clear the Loc does not point to the "."). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/StmtSerialization.cpp')
-rw-r--r--lib/AST/StmtSerialization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/StmtSerialization.cpp b/lib/AST/StmtSerialization.cpp
index 78a2cbcaa7..6ebaca1c8e 100644
--- a/lib/AST/StmtSerialization.cpp
+++ b/lib/AST/StmtSerialization.cpp
@@ -1165,7 +1165,7 @@ ObjCIvarRefExpr* ObjCIvarRefExpr::CreateImpl(Deserializer& D, ASTContext& C) {
}
void ObjCPropertyRefExpr::EmitImpl(Serializer& S) const {
- S.Emit(Loc);
+ S.Emit(IdLoc);
S.Emit(getType());
S.EmitPtr(getProperty());
}