diff options
-rw-r--r-- | clang-tools-extra/cpp11-migrate/Cpp11Migrate.cpp | 14 | ||||
-rw-r--r-- | clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.cpp | 6 | ||||
-rw-r--r-- | clang-tools-extra/docs/Doxyfile | 4 |
3 files changed, 6 insertions, 18 deletions
diff --git a/clang-tools-extra/cpp11-migrate/Cpp11Migrate.cpp b/clang-tools-extra/cpp11-migrate/Cpp11Migrate.cpp index 1adcbf1e7bb..570f2acf6c2 100644 --- a/clang-tools-extra/cpp11-migrate/Cpp11Migrate.cpp +++ b/clang-tools-extra/cpp11-migrate/Cpp11Migrate.cpp @@ -11,19 +11,7 @@ /// \brief This file implements the C++11 feature migration tool main function /// and transformation framework. /// -/// Usage: -/// cpp11-migrate [-p <build-path>] <file1> <file2> ... [-- [compiler-options]] -/// -/// Where <build-path> is a CMake build directory containing a file named -/// compile_commands.json which provides compiler options for building each -/// sourc file. If <build-path> is not provided the compile_commands.json file -/// is searched for through all parent directories. -/// -/// Alternatively, one can provide compile options to be applied to every source -/// file after the optional '--'. -/// -/// <file1>... specify the paths of files in the CMake source tree, with the -/// same requirements as other tools built on LibTooling. +/// See user documentation for usage instructions. /// //===----------------------------------------------------------------------===// diff --git a/clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.cpp b/clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.cpp index 6522f4f10bd..b17708eabd4 100644 --- a/clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.cpp +++ b/clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.cpp @@ -63,7 +63,7 @@ AST_MATCHER(VarDecl, hasWrittenNonListInitializer) { /// class C {}; /// typedef C my_type /// typedef my_type my_other_type; -/// \code +/// \endcode /// /// \c qualType(isSugarFor(recordType(hasDeclaration(namedDecl(hasName("C")))))) /// matches \c my_type and \c my_other_type. @@ -88,7 +88,7 @@ AST_MATCHER_P(QualType, isSugarFor, internal::Matcher<QualType>, SugarMatcher) { /// \code /// iterator I; /// const_iterator CI; -/// \code +/// \endcode /// /// \c namedDecl(hasStdIteratorName()) matches \c I and \c CI. AST_MATCHER(NamedDecl, hasStdIteratorName) { @@ -116,7 +116,7 @@ AST_MATCHER(NamedDecl, hasStdIteratorName) { /// class vector {}; /// class forward_list {}; /// class my_vec {}; -/// \code +/// \endcode /// /// \c recordDecl(hasStdContainerName()) matches \c vector and \c forward_list /// but not \c my_vec. diff --git a/clang-tools-extra/docs/Doxyfile b/clang-tools-extra/docs/Doxyfile index 6d848765032..174b25b2a14 100644 --- a/clang-tools-extra/docs/Doxyfile +++ b/clang-tools-extra/docs/Doxyfile @@ -601,13 +601,13 @@ QUIET = NO # generated by doxygen. Possible values are YES and NO. If left blank # NO is used. -WARNINGS = NO +WARNINGS = YES # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings # for undocumented members. If EXTRACT_ALL is set to YES then this flag will # automatically be disabled. -WARN_IF_UNDOCUMENTED = NO +WARN_IF_UNDOCUMENTED = YES # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for # potential errors in the documentation, such as not documenting some |