diff options
author | Andrew Fuller <afuller@teradici.com> | 2020-11-05 04:46:51 (GMT) |
---|---|---|
committer | Andrew Fuller <afuller@teradici.com> | 2020-11-05 19:39:32 (GMT) |
commit | 1134064e22828605ce1ea387b8f96e38e5705463 (patch) | |
tree | 0b9caf582aca776f95814fc2f4a2b79dc74752cb /Help | |
parent | da0a7d28a4560c3e135936c91d97b104c01616ad (diff) | |
download | CMake-1134064e22828605ce1ea387b8f96e38e5705463.zip CMake-1134064e22828605ce1ea387b8f96e38e5705463.tar.gz CMake-1134064e22828605ce1ea387b8f96e38e5705463.tar.bz2 |
clang-tidy: allow OBJC and OBJCXX
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_tgt/LANG_CLANG_TIDY.rst | 2 | ||||
-rw-r--r-- | Help/release/dev/clang-tidy-objc.rst | 5 | ||||
-rw-r--r-- | Help/variable/CMAKE_LANG_CLANG_TIDY.rst | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/Help/prop_tgt/LANG_CLANG_TIDY.rst b/Help/prop_tgt/LANG_CLANG_TIDY.rst index 7fc2372..af16d3c 100644 --- a/Help/prop_tgt/LANG_CLANG_TIDY.rst +++ b/Help/prop_tgt/LANG_CLANG_TIDY.rst @@ -3,7 +3,7 @@ .. versionadded:: 3.6 -This property is implemented only when ``<LANG>`` is ``C`` or ``CXX``. +This property is implemented only when ``<LANG>`` is ``C``, ``CXX``, ``OBJC`` or ``OBJCXX``. Specify a :ref:`semicolon-separated list <CMake Language Lists>` containing a command line for the ``clang-tidy`` tool. The :ref:`Makefile Generators` diff --git a/Help/release/dev/clang-tidy-objc.rst b/Help/release/dev/clang-tidy-objc.rst new file mode 100644 index 0000000..c899257 --- /dev/null +++ b/Help/release/dev/clang-tidy-objc.rst @@ -0,0 +1,5 @@ +clang-tidy-objc +--------------- + +* The target property :prop_tgt:`<LANG>_CLANG_TIDY` and the associated + variable :variable:`CMAKE_<LANG>_CLANG_TIDY` learned to support OBJC and OBJCXX. diff --git a/Help/variable/CMAKE_LANG_CLANG_TIDY.rst b/Help/variable/CMAKE_LANG_CLANG_TIDY.rst index 78f0f6a..32e27b0 100644 --- a/Help/variable/CMAKE_LANG_CLANG_TIDY.rst +++ b/Help/variable/CMAKE_LANG_CLANG_TIDY.rst @@ -4,7 +4,7 @@ CMAKE_<LANG>_CLANG_TIDY .. versionadded:: 3.6 Default value for :prop_tgt:`<LANG>_CLANG_TIDY` target property -when ``<LANG>`` is ``C`` or ``CXX``. +when ``<LANG>`` is ``C``, ``CXX``, ``OBJC`` or ``OBJCXX``. This variable is used to initialize the property on each target as it is created. For example: |