Class Property: change PropertyMap to include isClassProperty.
PropertyMap used to map IdentifierInfo (name of the property) to ObjcPropertyDecl *. Now that a class property can have the same name as an instance property, we change PropertyMap to map a pair <IdentifierInfo *, unsigned> to ObjcPropertyDecl *. Also update a few places from iterating over instance_properties to iterating over all properties. rdar://23891898 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259119 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/DeclObjC.h 3 additions, 1 deletioninclude/clang/AST/DeclObjC.h
- lib/AST/DeclObjC.cpp 8 additions, 6 deletionslib/AST/DeclObjC.cpp
- lib/Sema/SemaObjCProperty.cpp 28 additions, 17 deletionslib/Sema/SemaObjCProperty.cpp
- lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp 2 additions, 0 deletionslib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
Loading
Please register or sign in to comment