diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-10-09 19:06:08 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-10-09 19:06:08 +0000 |
commit | 39ebb02cb0bd342ced56de6d19aa9992aa0371b8 (patch) | |
tree | 562ea9993458737c3d5db92d224fe5ac2e95482b /include/clang/Driver | |
parent | 53fe3f55887cddc777d0aff09143483c6b29baa0 (diff) | |
download | clang-39ebb02cb0bd342ced56de6d19aa9992aa0371b8.tar.gz |
ObjectiveC migrator. Introduce a new objcmt-atomic-property option
and use it to infer all properties as 'atomic'.
// rdar://14988132
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver')
-rw-r--r-- | include/clang/Driver/Options.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index ea49a62f52..a3f652f7f4 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -177,6 +177,9 @@ def objcmt_migrate_nsmacros : Flag<["-"], "objcmt-migrate-ns-macros">, Flags<[CC HelpText<"Enable migration to NS_ENUM/NS_OPTIONS macros">; def objcmt_migrate_protocol_conformance : Flag<["-"], "objcmt-migrate-protocol-conformance">, Flags<[CC1Option]>, HelpText<"Enable migration to add protocol conformance on classes">; +def objcmt_atomic_property : Flag<["-"], "objcmt-atomic-property">, + Flags<[CC1Option]>, + HelpText<"Make migration to 'atomic' properties">; // Make sure all other -ccc- options are rejected. def ccc_ : Joined<["-"], "ccc-">, Group<internal_Group>, Flags<[Unsupported]>; |