[Clang][Sema] Added space after ',' in a warning

This change fixes a typo in a warning message.

rdar://79707705
This commit is contained in:
Fahad Nayyar 2022-11-22 13:26:21 +00:00 committed by Egor Zhdan
parent 470aea5ed4
commit cdfb65e5e7
2 changed files with 2 additions and 2 deletions

View File

@ -1326,7 +1326,7 @@ def warn_atomic_property_rule : Warning<
"with a user defined %select{getter|setter}2">,
InGroup<DiagGroup<"atomic-property-with-user-defined-accessor">>;
def note_atomic_property_fixup_suggest : Note<"setter and getter must both be "
"synthesized, or both be user defined,or the property must be nonatomic">;
"synthesized, or both be user defined, or the property must be nonatomic">;
def err_atomic_property_nontrivial_assign_op : Error<
"atomic property of reference type %0 cannot have non-trivial assignment"
" operator">;

View File

@ -108,7 +108,7 @@
// read-write - might warn
@property int GetSet;
@property int Get; // expected-note {{property declared here}} \
// expected-note {{setter and getter must both be synthesized}}
// expected-note {{setter and getter must both be synthesized, or both be user defined, or the property must be nonatomic}}
@property int Set; // expected-note {{property declared here}} \
// expected-note {{setter and getter must both be synthesized}}
@property int None;