forked from OSchip/llvm-project
Fixing Doxygen warnings in cpp11-migrate
Turned on doxygen warnings and fixed the resulting problems. llvm-svn: 176712
This commit is contained in:
parent
7e4844b353
commit
fac739a357
|
@ -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.
|
||||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue