]> granicus.if.org Git - clang/commit
Several things...
authorSteve Naroff <snaroff@apple.com>
Thu, 4 Dec 2008 16:24:46 +0000 (16:24 +0000)
committerSteve Naroff <snaroff@apple.com>
Thu, 4 Dec 2008 16:24:46 +0000 (16:24 +0000)
commitc77a636688e188af7e7a9a05829e542adb48e880
tree5cd976b3bcf2f6d9f96224280c88e86c94b3f562
parent86ccea05f6bab8956f5418cdc4df8e130d4422aa
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
Driver/RewriteObjC.cpp
include/clang/AST/ExprObjC.h
lib/AST/StmtPrinter.cpp
lib/AST/StmtSerialization.cpp