diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-05-18 21:09:07 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-05-18 21:09:07 +0000 |
commit | 49be9e0819a5c05bf82695be28e21f71b8adda3e (patch) | |
tree | 064da43255fddbb14eb3e7b521743ce95ab596f6 /clang/lib/Sema/Sema.h | |
parent | 6338d1593965bb0bd34ba97ba2e03a9a5be24b0f (diff) | |
download | bcm5719-llvm-49be9e0819a5c05bf82695be28e21f71b8adda3e.tar.gz bcm5719-llvm-49be9e0819a5c05bf82695be28e21f71b8adda3e.zip |
Teach CursorVisitor about duplicate ObjCPropertyDecls that can arise because of a current
design limitation in how we handle Objective-C class extensions. This was causing the CursorVisitor
to essentially visit an @property twice (once in the @interface, the other in the class extension).
Fixes <rdar://problem/7410145>.
llvm-svn: 104055
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 975516ff9a3..432e9e701b4 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1597,7 +1597,8 @@ public: const bool isAssign, const bool isReadWrite, const unsigned Attributes, QualType T, - tok::ObjCKeywordKind MethodImplKind); + tok::ObjCKeywordKind MethodImplKind, + DeclContext *lexicalDC = 0); /// AtomicPropertySetterGetterRules - This routine enforces the rule (via /// warning) when atomic property has one but not the other user-declared |