reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaObjCProperty.cpp
 2546   if ((Attributes & ObjCDeclSpec::DQ_PR_readonly) &&
 2547       (Attributes & ObjCDeclSpec::DQ_PR_readwrite))
 2555   if ((Attributes & (ObjCDeclSpec::DQ_PR_weak | ObjCDeclSpec::DQ_PR_copy |
 2560       << (Attributes & ObjCDeclSpec::DQ_PR_weak ? "weak" :
 2561           Attributes & ObjCDeclSpec::DQ_PR_copy ? "copy" : "retain (or strong)");
 2562     Attributes &= ~(ObjCDeclSpec::DQ_PR_weak   | ObjCDeclSpec::DQ_PR_copy |
 2568   if ((Attributes & ObjCDeclSpec::DQ_PR_assign) &&
 2569       !(Attributes & ObjCDeclSpec::DQ_PR_unsafe_unretained) &&
 2576   if (Attributes & ObjCDeclSpec::DQ_PR_assign) {
 2577     if (Attributes & ObjCDeclSpec::DQ_PR_copy) {
 2580       Attributes &= ~ObjCDeclSpec::DQ_PR_copy;
 2582     if (Attributes & ObjCDeclSpec::DQ_PR_retain) {
 2585       Attributes &= ~ObjCDeclSpec::DQ_PR_retain;
 2587     if (Attributes & ObjCDeclSpec::DQ_PR_strong) {
 2590       Attributes &= ~ObjCDeclSpec::DQ_PR_strong;
 2593         (Attributes & ObjCDeclSpec::DQ_PR_weak)) {
 2596       Attributes &= ~ObjCDeclSpec::DQ_PR_weak;
 2600   } else if (Attributes & ObjCDeclSpec::DQ_PR_unsafe_unretained) {
 2601     if (Attributes & ObjCDeclSpec::DQ_PR_copy) {
 2604       Attributes &= ~ObjCDeclSpec::DQ_PR_copy;
 2606     if (Attributes & ObjCDeclSpec::DQ_PR_retain) {
 2609       Attributes &= ~ObjCDeclSpec::DQ_PR_retain;
 2611     if (Attributes & ObjCDeclSpec::DQ_PR_strong) {
 2614       Attributes &= ~ObjCDeclSpec::DQ_PR_strong;
 2617         (Attributes & ObjCDeclSpec::DQ_PR_weak)) {
 2620       Attributes &= ~ObjCDeclSpec::DQ_PR_weak;
 2622   } else if (Attributes & ObjCDeclSpec::DQ_PR_copy) {
 2623     if (Attributes & ObjCDeclSpec::DQ_PR_retain) {
 2626       Attributes &= ~ObjCDeclSpec::DQ_PR_retain;
 2628     if (Attributes & ObjCDeclSpec::DQ_PR_strong) {
 2631       Attributes &= ~ObjCDeclSpec::DQ_PR_strong;
 2633     if (Attributes & ObjCDeclSpec::DQ_PR_weak) {
 2636       Attributes &= ~ObjCDeclSpec::DQ_PR_weak;
 2639   else if ((Attributes & ObjCDeclSpec::DQ_PR_retain) &&
 2640            (Attributes & ObjCDeclSpec::DQ_PR_weak)) {
 2643       Attributes &= ~ObjCDeclSpec::DQ_PR_retain;
 2645   else if ((Attributes & ObjCDeclSpec::DQ_PR_strong) &&
 2646            (Attributes & ObjCDeclSpec::DQ_PR_weak)) {
 2649       Attributes &= ~ObjCDeclSpec::DQ_PR_weak;
 2652   if (Attributes & ObjCDeclSpec::DQ_PR_weak) {
 2661   if ((Attributes & ObjCDeclSpec::DQ_PR_atomic) &&
 2662       (Attributes & ObjCDeclSpec::DQ_PR_nonatomic)) {
 2665       Attributes &= ~ObjCDeclSpec::DQ_PR_atomic;
 2670   if (!getOwnershipRule(Attributes) && PropertyTy->isObjCRetainableType()) {
 2671     if (Attributes & ObjCDeclSpec::DQ_PR_readonly) {
 2704   if (!(Attributes & ObjCDeclSpec::DQ_PR_copy)
 2705       &&!(Attributes & ObjCDeclSpec::DQ_PR_readonly)
 2709   else if ((Attributes & ObjCDeclSpec::DQ_PR_retain) &&
 2710            !(Attributes & ObjCDeclSpec::DQ_PR_readonly) &&
 2711            !(Attributes & ObjCDeclSpec::DQ_PR_strong) &&
 2715   if ((Attributes & ObjCDeclSpec::DQ_PR_readonly) &&
 2716       (Attributes & ObjCDeclSpec::DQ_PR_setter))