]> granicus.if.org Git - clang/commit
Rename ObjCMethodDecl::isSynthesized to isPropertyAccessor.
authorJordan Rose <jordan_rose@apple.com>
Wed, 10 Oct 2012 16:42:25 +0000 (16:42 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 10 Oct 2012 16:42:25 +0000 (16:42 +0000)
commit1e4691b9d8e1bdcc8ef62b323969d702c51b3c08
tree74744754b0e6c30fd4014944f341ae6b0115dbbf
parentb5e4ace3161bd2c3f88f39e228ba8f6aaa15e751
Rename ObjCMethodDecl::isSynthesized to isPropertyAccessor.

This more accurately reflects its use: this flag is set when a method
matches the getter or setter name for a property in the same class,
and does not actually specify whether or not the definition of the method
will be synthesized (either implicitly or explicitly with @synthesize).

This renames the setter and backing field as well, and changes the
(soon-to-be-obsolete?) XML dump format to use 'property_accessor'
instead of 'synthesized'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165626 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/AST/DeclObjC.h
lib/AST/ASTImporter.cpp
lib/AST/DeclObjC.cpp
lib/AST/DumpXML.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaObjCProperty.cpp
lib/Sema/SemaPseudoObject.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriterDecl.cpp
tools/libclang/CIndex.cpp
tools/libclang/IndexDecl.cpp