diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-10-10 16:42:25 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-10-10 16:42:25 +0000 |
commit | 1e4691b9d8e1bdcc8ef62b323969d702c51b3c08 (patch) | |
tree | 74744754b0e6c30fd4014944f341ae6b0115dbbf /lib/Serialization/ASTWriterDecl.cpp | |
parent | b5e4ace3161bd2c3f88f39e228ba8f6aaa15e751 (diff) | |
download | clang-1e4691b9d8e1bdcc8ef62b323969d702c51b3c08.tar.gz clang-1e4691b9d8e1bdcc8ef62b323969d702c51b3c08.tar.bz2 clang-1e4691b9d8e1bdcc8ef62b323969d702c51b3c08.tar.xz |
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
Diffstat (limited to 'lib/Serialization/ASTWriterDecl.cpp')
-rw-r--r-- | lib/Serialization/ASTWriterDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Serialization/ASTWriterDecl.cpp b/lib/Serialization/ASTWriterDecl.cpp index 3540f4f16c..7bf16be76e 100644 --- a/lib/Serialization/ASTWriterDecl.cpp +++ b/lib/Serialization/ASTWriterDecl.cpp @@ -416,7 +416,7 @@ void ASTDeclWriter::VisitObjCMethodDecl(ObjCMethodDecl *D) { } Record.push_back(D->isInstanceMethod()); Record.push_back(D->isVariadic()); - Record.push_back(D->isSynthesized()); + Record.push_back(D->isPropertyAccessor()); Record.push_back(D->isDefined()); Record.push_back(D->IsOverriding); |