diff options
author | Brad King <brad.king@kitware.com> | 2017-08-29 13:43:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-30 14:17:21 (GMT) |
commit | 73ed503ed5ca76c5b05629a00ddc29d3549a48e8 (patch) | |
tree | 7f60ef7efe11359fbfe15d1c4025e3e1a03ba8b9 | |
parent | 1a2b62b189365061056497b4a9fdc73cde7e91ed (diff) | |
download | CMake-73ed503ed5ca76c5b05629a00ddc29d3549a48e8.zip CMake-73ed503ed5ca76c5b05629a00ddc29d3549a48e8.tar.gz CMake-73ed503ed5ca76c5b05629a00ddc29d3549a48e8.tar.bz2 |
jsoncpp: Drop doxygen comments not recognized by Clang
Some Clang versions warn with `-Wdocumentation-unknown-command` about
the `\internal` and `\snippet` command tag names.
-rw-r--r-- | Utilities/cmjsoncpp/include/json/reader.h | 4 | ||||
-rw-r--r-- | Utilities/cmjsoncpp/include/json/value.h | 4 | ||||
-rw-r--r-- | Utilities/cmjsoncpp/include/json/writer.h | 2 | ||||
-rw-r--r-- | Utilities/cmjsoncpp/src/lib_json/json_value.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/Utilities/cmjsoncpp/include/json/reader.h b/Utilities/cmjsoncpp/include/json/reader.h index 01414e6..667246a 100644 --- a/Utilities/cmjsoncpp/include/json/reader.h +++ b/Utilities/cmjsoncpp/include/json/reader.h @@ -356,13 +356,13 @@ public: /** Called by ctor, but you can use this to reset settings_. * \pre 'settings' != NULL (but Json::null is fine) * \remark Defaults: - * \snippet src/lib_json/json_reader.cpp CharReaderBuilderDefaults + * snippet src/lib_json/json_reader.cpp CharReaderBuilderDefaults */ static void setDefaults(Json::Value* settings); /** Same as old Features::strictMode(). * \pre 'settings' != NULL (but Json::null is fine) * \remark Defaults: - * \snippet src/lib_json/json_reader.cpp CharReaderBuilderStrictMode + * snippet src/lib_json/json_reader.cpp CharReaderBuilderStrictMode */ static void strictMode(Json::Value* settings); }; diff --git a/Utilities/cmjsoncpp/include/json/value.h b/Utilities/cmjsoncpp/include/json/value.h index 7526360..7b90c5a 100644 --- a/Utilities/cmjsoncpp/include/json/value.h +++ b/Utilities/cmjsoncpp/include/json/value.h @@ -787,7 +787,7 @@ public: ValueConstIterator(ValueIterator const& other); private: -/*! \internal Use by Value to create an iterator. +/*! internal Use by Value to create an iterator. */ explicit ValueConstIterator(const Value::ObjectValues::iterator& current); public: @@ -838,7 +838,7 @@ public: ValueIterator(const ValueIterator& other); private: -/*! \internal Use by Value to create an iterator. +/*! internal Use by Value to create an iterator. */ explicit ValueIterator(const Value::ObjectValues::iterator& current); public: diff --git a/Utilities/cmjsoncpp/include/json/writer.h b/Utilities/cmjsoncpp/include/json/writer.h index ca08a6f..d3ae62b 100644 --- a/Utilities/cmjsoncpp/include/json/writer.h +++ b/Utilities/cmjsoncpp/include/json/writer.h @@ -135,7 +135,7 @@ public: /** Called by ctor, but you can use this to reset settings_. * \pre 'settings' != NULL (but Json::null is fine) * \remark Defaults: - * \snippet src/lib_json/json_writer.cpp StreamWriterBuilderDefaults + * snippet src/lib_json/json_writer.cpp StreamWriterBuilderDefaults */ static void setDefaults(Json::Value* settings); }; diff --git a/Utilities/cmjsoncpp/src/lib_json/json_value.cpp b/Utilities/cmjsoncpp/src/lib_json/json_value.cpp index c6ee5e9..f271e57 100644 --- a/Utilities/cmjsoncpp/src/lib_json/json_value.cpp +++ b/Utilities/cmjsoncpp/src/lib_json/json_value.cpp @@ -348,7 +348,7 @@ bool Value::CZString::isStaticString() const { return storage_.policy_ == noDupl // ////////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////// -/*! \internal Default constructor initialization must be equivalent to: +/*! internal Default constructor initialization must be equivalent to: * memset( this, 0, sizeof(Value) ) * This optimization is used in ValueInternalMap fast allocator. */ |