Index: clang-tools-extra/clang-tidy/add_new_check.py =================================================================== --- clang-tools-extra/clang-tidy/add_new_check.py +++ clang-tools-extra/clang-tidy/add_new_check.py @@ -266,11 +266,11 @@ if header_found and add_note_here: if not line.startswith('^^^^'): f.write("""- New :doc:`%s - ` check. + ` check. FIXME: add release notes. -""" % (check_name_dashes, check_name_dashes)) +""" % (check_name_dashes, module, check_name)) note_added = True f.write(line) @@ -321,8 +321,11 @@ with io.open(filename, 'r', encoding='utf8') as f: lines = f.readlines() # Get all existing docs - doc_files = list(filter(lambda s: s.endswith('.rst') and s != 'list.rst', - os.listdir(docs_dir))) + doc_files = [] + for subdir in list(filter(lambda s: not s.endswith('.rst') and not s.endswith('.py'), + os.listdir(docs_dir))): + for file in filter(lambda s: s.endswith('.rst'), os.listdir(os.path.join(docs_dir, subdir))): + doc_files.append([subdir, file]) doc_files.sort() # We couldn't find the source file from the check name, so try to find the @@ -422,9 +425,9 @@ return '' def process_doc(doc_file): - check_name = doc_file.replace('.rst', '') + check_name = doc_file[0] + '-' + doc_file[1].replace('.rst', '') - with io.open(os.path.join(docs_dir, doc_file), 'r', encoding='utf8') as doc: + with io.open(os.path.join(docs_dir, *doc_file), 'r', encoding='utf8') as doc: content = doc.read() match = re.search('.*:orphan:.*', content) @@ -432,7 +435,7 @@ # Orphan page, don't list it. return '', '' - match = re.search('.*:http-equiv=refresh: \d+;URL=(.*).html.*', + match = re.search('.*:http-equiv=refresh: \d+;URL=(.*).html(.*)', content) # Is it a redirect? return check_name, match @@ -440,8 +443,10 @@ def format_link(doc_file): check_name, match = process_doc(doc_file) if not match and check_name: - return ' `%(check)s <%(check)s.html>`_,%(autofix)s\n' % { - 'check': check_name, + return ' `%(check_name)s <%(module)s/%(check)s.html>`_,%(autofix)s\n' % { + 'check_name': check_name, + 'module': doc_file[0], + 'check': doc_file[1].replace('.rst', ''), 'autofix': has_auto_fix(check_name) } else: @@ -450,16 +455,27 @@ def format_link_alias(doc_file): check_name, match = process_doc(doc_file) if match and check_name: + module = doc_file[0] + check_file = doc_file[1].replace('.rst', '') if match.group(1) == 'https://clang.llvm.org/docs/analyzer/checkers': - title_redirect = 'Clang Static Analyzer' + title = 'Clang Static Analyzer ' + check_file + # Preserve the anchor in checkers.html from group 2. + target = match.group(1) + '.html' + match.group(2) + autofix = '' else: - title_redirect = match.group(1) + redirect_parts = re.search('^\.\./([^/]*)/([^/]*)$', match.group(1)) + title = redirect_parts[1] + '-' + redirect_parts[2] + target = redirect_parts[1] + '/' + redirect_parts[2] + '.html' + autofix = has_auto_fix(title) + # The checker is just a redirect. - return ' `%(check)s <%(check)s.html>`_, `%(title)s <%(target)s.html>`_,%(autofix)s\n' % { - 'check': check_name, - 'target': match.group(1), - 'title': title_redirect, - 'autofix': has_auto_fix(match.group(1)) + return ' `%(check_name)s <%(module)s/%(check_file)s.html>`_, `%(title)s <%(target)s>`_,%(autofix)s\n' % { + 'check_name': check_name, + 'module': module, + 'check_file': check_file, + 'target': target, + 'title': title, + 'autofix': autofix } return '' @@ -486,7 +502,7 @@ def write_docs(module_path, module, check_name): check_name_dashes = module + '-' + check_name filename = os.path.normpath(os.path.join( - module_path, '../../docs/clang-tidy/checks/', check_name_dashes + '.rst')) + module_path, '../../docs/clang-tidy/checks/', module, check_name + '.rst')) print('Creating %s...' % filename) with io.open(filename, 'w', encoding='utf8', newline='\n') as f: f.write(""".. title:: clang-tidy - %(check_name_dashes)s Index: clang-tools-extra/docs/ReleaseNotes.rst =================================================================== --- clang-tools-extra/docs/ReleaseNotes.rst +++ clang-tools-extra/docs/ReleaseNotes.rst @@ -113,22 +113,22 @@ New checks ^^^^^^^^^^ -- New :doc:`bugprone-shared-ptr-array-mismatch ` check. +- New :doc:`bugprone-shared-ptr-array-mismatch ` check. Finds initializations of C++ shared pointers to non-array type that are initialized with an array. - New :doc:`bugprone-unchecked-optional-access - ` check. + ` check. Warns when the code is unwrapping a `std::optional`, `absl::optional`, or `base::Optional` object without assuring that it contains a value. - New :doc:`modernize-macro-to-enum - ` check. + ` check. Replaces groups of adjacent macros with an unscoped anonymous enum. -- New :doc:`portability-std-allocator-const ` check. +- New :doc:`portability-std-allocator-const ` check. Report use of ``std::vector`` (and similar containers of const elements). These are not allowed in standard C++ due to undefined @@ -140,45 +140,45 @@ ^^^^^^^^^^^^^^^^^ - New alias :doc:`cppcoreguidelines-macro-to-enum - ` to :doc:`modernize-macro-to-enum - ` was added. + ` to :doc:`modernize-macro-to-enum + ` was added. Changes in existing checks ^^^^^^^^^^^^^^^^^^^^^^^^^^ - Fixed nonsensical suggestion of :doc:`altera-struct-pack-align - ` check for empty structs. + ` check for empty structs. - Fixed some false positives in :doc:`bugprone-infinite-loop - ` involving dependent expressions. + ` involving dependent expressions. - Fixed a crash in :doc:`bugprone-sizeof-expression - ` when `sizeof(...)` is + ` when `sizeof(...)` is compared against a `__int128_t`. -- Made :doc:`cert-oop57-cpp ` more sensitive +- Made :doc:`cert-oop57-cpp ` more sensitive by checking for an arbitrary expression in the second argument of ``memset``. - Improved :doc:`cppcoreguidelines-prefer-member-initializer - ` check. + ` check. Fixed an issue when there was already an initializer in the constructor and the check would try to create another initializer for the same member. - Fixed a crash in :doc:`llvmlibc-callee-namespace - ` when executing for C++ code + ` when executing for C++ code that contain calls to advanced constructs, e.g. overloaded operators. - Fixed a false positive in :doc:`misc-redundant-expression - ` involving overloaded + ` involving overloaded comparison operators. - Fixed a false positive in :doc:`misc-redundant-expression - ` involving assignments in + ` involving assignments in conditions. This fixes `Issue 35853 `_. - Fixed a false positive in :doc:`modernize-deprecated-headers - ` involving including + ` involving including C header files from C++ files wrapped by ``extern "C" { ... }`` blocks. Such includes will be ignored by now. By default now it doesn't warn for including deprecated headers from header @@ -187,26 +187,26 @@ included by C++ source files. - Improved :doc:`performance-inefficient-vector-operation - ` to work when + ` to work when the vector is a member of a structure. - Fixed a crash in :doc:`readability-const-return-type - ` when a pure virtual function + ` when a pure virtual function overrided has a const return type. Removed the fix for a virtual function. - Fixed incorrect suggestions for :doc:`readability-container-size-empty - ` when smart pointers are involved. + ` when smart pointers are involved. - Fixed a false positive in :doc:`readability-non-const-parameter - ` when the parameter is + ` when the parameter is referenced by an lvalue. - Expanded :doc:`readability-simplify-boolean-expr - ` to simplify expressions + ` to simplify expressions using DeMorgan's Theorem. - Fixed a crash in :doc:`performance-unnecessary-value-param - ` when the specialization + ` when the specialization template has an unnecessary value paramter. Removed the fix for a template. Removed checks Index: clang-tools-extra/docs/clang-tidy/checks/bugprone/narrowing-conversions.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/bugprone/narrowing-conversions.rst +++ clang-tools-extra/docs/clang-tidy/checks/bugprone/narrowing-conversions.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - bugprone-narrowing-conversions .. meta:: - :http-equiv=refresh: 5;URL=cppcoreguidelines-narrowing-conversions.html + :http-equiv=refresh: 5;URL=../cppcoreguidelines/narrowing-conversions.html bugprone-narrowing-conversions ============================== The bugprone-narrowing-conversions check is an alias, please see -`cppcoreguidelines-narrowing-conversions `_ +`cppcoreguidelines-narrowing-conversions <../cppcoreguidelines/narrowing-conversions.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst +++ clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst @@ -46,5 +46,5 @@ return value often indicates that the programmer confused the function with ``clear()``. -`cert-err33-c `_ is an alias of this check that checks a +`cert-err33-c <../cert/err33-c.html>`_ is an alias of this check that checks a fixed and large set of standard library functions. Index: clang-tools-extra/docs/clang-tidy/checks/cert-con36-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-con36-c.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. title:: clang-tidy - cert-con36-c -.. meta:: - :http-equiv=refresh: 5;URL=bugprone-spuriously-wake-up-functions.html - -cert-con36-c -============ - -The cert-con36-c check is an alias, please see -`bugprone-spuriously-wake-up-functions `_ -for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-con54-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-con54-cpp.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. title:: clang-tidy - cert-con54-cpp -.. meta:: - :http-equiv=refresh: 5;URL=bugprone-spuriously-wake-up-functions.html - -cert-con54-cpp -============== - -The cert-con54-cpp check is an alias, please see -`bugprone-spuriously-wake-up-functions `_ -for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-dcl03-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-dcl03-c.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. title:: clang-tidy - cert-dcl03-c -.. meta:: - :http-equiv=refresh: 5;URL=misc-static-assert.html - -cert-dcl03-c -============ - -The cert-dcl03-c check is an alias, please see -`misc-static-assert `_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-dcl16-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-dcl16-c.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. title:: clang-tidy - cert-dcl16-c -.. meta:: - :http-equiv=refresh: 5;URL=readability-uppercase-literal-suffix.html - -cert-dcl16-c -============ - -The cert-dcl16-c check is an alias, please see -`readability-uppercase-literal-suffix `_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-dcl37-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-dcl37-c.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. title:: clang-tidy - cert-dcl37-c -.. meta:: - :http-equiv=refresh: 5;URL=bugprone-reserved-identifier.html - -cert-dcl37-c -============ - -The cert-dcl37-c check is an alias, please see -`bugprone-reserved-identifier `_ for more -information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-dcl51-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-dcl51-cpp.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. title:: clang-tidy - cert-dcl51-cpp -.. meta:: - :http-equiv=refresh: 5;URL=bugprone-reserved-identifier.html - -cert-dcl51-cpp -============== - -The cert-dcl51-cpp check is an alias, please see -`bugprone-reserved-identifier `_ for more -information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-dcl59-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-dcl59-cpp.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. title:: clang-tidy - cert-dcl59-cpp -.. meta:: - :http-equiv=refresh: 5;URL=google-build-namespaces.html - -cert-dcl59-cpp -============== - -The cert-dcl59-cpp check is an alias, please see -`google-build-namespaces `_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-err61-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-err61-cpp.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. title:: clang-tidy - cert-err61-cpp -.. meta:: - :http-equiv=refresh: 5;URL=misc-throw-by-value-catch-by-reference.html - -cert-err61-cpp -============== - -The cert-err61-cpp check is an alias, please see -`misc-throw-by-value-catch-by-reference `_ -for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-exp42-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-exp42-c.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. meta:: - :http-equiv=refresh: 5;URL=bugprone-suspicious-memory-comparison.html - -cert-exp42-c -============ - -The cert-exp42-c check is an alias, please see -`bugprone-suspicious-memory-comparison `_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-fio38-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-fio38-c.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. title:: clang-tidy - cert-fio38-c -.. meta:: - :http-equiv=refresh: 5;URL=misc-non-copyable-objects.html - -cert-fio38-c -============ - -The cert-fio38-c check is an alias, please see -`misc-non-copyable-objects `_ for more -information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-flp37-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-flp37-c.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. meta:: - :http-equiv=refresh: 5;URL=bugprone-suspicious-memory-comparison.html - -cert-flp37-c -============ - -The cert-flp37-c check is an alias, please see -`bugprone-suspicious-memory-comparison `_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-oop54-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-oop54-cpp.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. title:: clang-tidy - cert-oop54-cpp -.. meta:: - :http-equiv=refresh: 5;URL=bugprone-unhandled-self-assignment.html - -cert-oop54-cpp -============== - -The cert-oop54-cpp check is an alias, please see -`bugprone-unhandled-self-assignment `_ -for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-pos44-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-pos44-c.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. title:: clang-tidy - cert-pos44-c -.. meta:: - :http-equiv=refresh: 5;URL=bugprone-bad-signal-to-kill-thread.html - -cert-pos44-c -============ - -The cert-pos44-c check is an alias, please see -`bugprone-bad-signal-to-kill-thread `_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert-pos47-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert-pos47-c.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. title:: clang-tidy - cert-pos47-c -.. meta:: - :http-equiv=refresh: 5;URL=concurrency-thread-canceltype-asynchronous.html - -cert-pos47-c -============ - -The cert-pos47-c check is an alias, please see -`concurrency-thread-canceltype-asynchronous `_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/con36-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/con36-c.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-con36-c +.. meta:: + :http-equiv=refresh: 5;URL=../bugprone/spuriously-wake-up-functions.html + +cert-con36-c +============ + +The cert-con36-c check is an alias, please see +`bugprone-spuriously-wake-up-functions <../bugprone/spuriously-wake-up-functions.html>`_ +for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/con54-cpp.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/con54-cpp.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-con54-cpp +.. meta:: + :http-equiv=refresh: 5;URL=../bugprone/spuriously-wake-up-functions.html + +cert-con54-cpp +============== + +The cert-con54-cpp check is an alias, please see +`bugprone-spuriously-wake-up-functions <../bugprone/spuriously-wake-up-functions.html>`_ +for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/dcl03-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/dcl03-c.rst @@ -0,0 +1,9 @@ +.. title:: clang-tidy - cert-dcl03-c +.. meta:: + :http-equiv=refresh: 5;URL=../misc/static-assert.html + +cert-dcl03-c +============ + +The cert-dcl03-c check is an alias, please see +`misc-static-assert <../misc/static-assert.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/dcl16-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/dcl16-c.rst @@ -0,0 +1,9 @@ +.. title:: clang-tidy - cert-dcl16-c +.. meta:: + :http-equiv=refresh: 5;URL=../readability/uppercase-literal-suffix.html + +cert-dcl16-c +============ + +The cert-dcl16-c check is an alias, please see +`readability-uppercase-literal-suffix <../readability/uppercase-literal-suffix.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/dcl37-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/dcl37-c.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-dcl37-c +.. meta:: + :http-equiv=refresh: 5;URL=../bugprone/reserved-identifier.html + +cert-dcl37-c +============ + +The cert-dcl37-c check is an alias, please see +`bugprone-reserved-identifier <../bugprone/reserved-identifier.html>`_ for more +information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/dcl51-cpp.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/dcl51-cpp.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-dcl51-cpp +.. meta:: + :http-equiv=refresh: 5;URL=../bugprone/reserved-identifier.html + +cert-dcl51-cpp +============== + +The cert-dcl51-cpp check is an alias, please see +`bugprone-reserved-identifier <../bugprone/reserved-identifier.html>`_ for more +information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/dcl54-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/dcl54-cpp.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/dcl54-cpp.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - cert-dcl54-cpp .. meta:: - :http-equiv=refresh: 5;URL=misc-new-delete-overloads.html + :http-equiv=refresh: 5;URL=../misc/new-delete-overloads.html cert-dcl54-cpp ============== The cert-dcl54-cpp check is an alias, please see -`misc-new-delete-overloads `_ for more +`misc-new-delete-overloads <../misc/new-delete-overloads.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/dcl59-cpp.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/dcl59-cpp.rst @@ -0,0 +1,9 @@ +.. title:: clang-tidy - cert-dcl59-cpp +.. meta:: + :http-equiv=refresh: 5;URL=../google/build-namespaces.html + +cert-dcl59-cpp +============== + +The cert-dcl59-cpp check is an alias, please see +`google-build-namespaces <../google/build-namespaces.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/err09-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/err09-cpp.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/err09-cpp.rst @@ -1,12 +1,12 @@ .. title:: clang-tidy - cert-err09-cpp .. meta:: - :http-equiv=refresh: 5;URL=misc-throw-by-value-catch-by-reference.html + :http-equiv=refresh: 5;URL=../misc/throw-by-value-catch-by-reference.html cert-err09-cpp ============== The cert-err09-cpp check is an alias, please see -`misc-throw-by-value-catch-by-reference `_ +`misc-throw-by-value-catch-by-reference <../misc/throw-by-value-catch-by-reference.html>`_ for more information. This check corresponds to the CERT C++ Coding Standard recommendation Index: clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst @@ -186,7 +186,7 @@ * wscanf() * wscanf_s() -This check is an alias of check `bugprone-unused-return-value `_ +This check is an alias of check `bugprone-unused-return-value <../bugprone/unused-return-value.html>`_ with a fixed set of functions. The check corresponds to a part of CERT C Coding Standard rule `ERR33-C. Index: clang-tools-extra/docs/clang-tidy/checks/cert/err61-cpp.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/err61-cpp.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-err61-cpp +.. meta:: + :http-equiv=refresh: 5;URL=../misc/throw-by-value-catch-by-reference.html + +cert-err61-cpp +============== + +The cert-err61-cpp check is an alias, please see +`misc-throw-by-value-catch-by-reference <../misc/throw-by-value-catch-by-reference.html>`_ +for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/exp42-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/exp42-c.rst @@ -0,0 +1,8 @@ +.. meta:: + :http-equiv=refresh: 5;URL=../bugprone/suspicious-memory-comparison.html + +cert-exp42-c +============ + +The cert-exp42-c check is an alias, please see +`bugprone-suspicious-memory-comparison <../bugprone/suspicious-memory-comparison.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/fio38-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/fio38-c.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-fio38-c +.. meta:: + :http-equiv=refresh: 5;URL=../misc/non-copyable-objects.html + +cert-fio38-c +============ + +The cert-fio38-c check is an alias, please see +`misc-non-copyable-objects <../misc/non-copyable-objects.html>`_ for more +information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/flp37-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/flp37-c.rst @@ -0,0 +1,8 @@ +.. meta:: + :http-equiv=refresh: 5;URL=../bugprone/suspicious-memory-comparison.html + +cert-flp37-c +============ + +The cert-flp37-c check is an alias, please see +`bugprone-suspicious-memory-comparison <../bugprone/suspicious-memory-comparison.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/msc30-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/msc30-c.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/msc30-c.rst @@ -1,9 +1,9 @@ .. title:: clang-tidy - cert-msc30-c .. meta:: - :http-equiv=refresh: 5;URL=cert-msc50-cpp.html + :http-equiv=refresh: 5;URL=../cert/msc50-cpp.html cert-msc30-c ============ The cert-msc30-c check is an alias, please see -`cert-msc50-cpp `_ for more information. +`cert-msc50-cpp <../cert/msc50-cpp.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/msc32-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/msc32-c.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/msc32-c.rst @@ -1,9 +1,9 @@ .. title:: clang-tidy - cert-msc32-c .. meta:: - :http-equiv=refresh: 5;URL=cert-msc51-cpp.html + :http-equiv=refresh: 5;URL=../cert/msc51-cpp.html cert-msc32-c ============ The cert-msc32-c check is an alias, please see -`cert-msc51-cpp `_ for more information. +`cert-msc51-cpp <../cert/msc51-cpp.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/oop11-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/oop11-cpp.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/oop11-cpp.rst @@ -1,12 +1,12 @@ .. title:: clang-tidy - cert-oop11-cpp .. meta:: - :http-equiv=refresh: 5;URL=performance-move-constructor-init.html + :http-equiv=refresh: 5;URL=../performance/move-constructor-init.html cert-oop11-cpp ============== The cert-oop11-cpp check is an alias, please see -`performance-move-constructor-init `_ +`performance-move-constructor-init <../performance/move-constructor-init.html>`_ for more information. This check corresponds to the CERT C++ Coding Standard recommendation Index: clang-tools-extra/docs/clang-tidy/checks/cert/oop54-cpp.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/oop54-cpp.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-oop54-cpp +.. meta:: + :http-equiv=refresh: 5;URL=../bugprone/unhandled-self-assignment.html + +cert-oop54-cpp +============== + +The cert-oop54-cpp check is an alias, please see +`bugprone-unhandled-self-assignment <../bugprone/unhandled-self-assignment.html>`_ +for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/pos44-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/pos44-c.rst @@ -0,0 +1,9 @@ +.. title:: clang-tidy - cert-pos44-c +.. meta:: + :http-equiv=refresh: 5;URL=../bugprone/bad-signal-to-kill-thread.html + +cert-pos44-c +============ + +The cert-pos44-c check is an alias, please see +`bugprone-bad-signal-to-kill-thread <../bugprone/bad-signal-to-kill-thread.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/pos47-c.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/cert/pos47-c.rst @@ -0,0 +1,9 @@ +.. title:: clang-tidy - cert-pos47-c +.. meta:: + :http-equiv=refresh: 5;URL=../concurrency/thread-canceltype-asynchronous.html + +cert-pos47-c +============ + +The cert-pos47-c check is an alias, please see +`concurrency-thread-canceltype-asynchronous <../concurrency/thread-canceltype-asynchronous.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/sig30-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/sig30-c.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/sig30-c.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - cert-sig30-c .. meta:: - :http-equiv=refresh: 5;URL=bugprone-signal-handler.html + :http-equiv=refresh: 5;URL=../bugprone/signal-handler.html cert-sig30-c ============ The cert-sig30-c check is an alias, please see -`bugprone-signal-handler `_ +`bugprone-signal-handler <../bugprone/signal-handler.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cert/str34-c.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/str34-c.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/str34-c.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - cert-str34-c .. meta:: - :http-equiv=refresh: 5;URL=bugprone-signed-char-misuse.html + :http-equiv=refresh: 5;URL=../bugprone/signed-char-misuse.html cert-str34-c ============ The cert-str34-c check is an alias, please see -`bugprone-signed-char-misuse `_ +`bugprone-signed-char-misuse <../bugprone/signed-char-misuse.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-c-arrays.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-c-arrays.rst +++ clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-c-arrays.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - cppcoreguidelines-avoid-c-arrays .. meta:: - :http-equiv=refresh: 5;URL=modernize-avoid-c-arrays.html + :http-equiv=refresh: 5;URL=../modernize/avoid-c-arrays.html cppcoreguidelines-avoid-c-arrays ================================ The cppcoreguidelines-avoid-c-arrays check is an alias, please see -`modernize-avoid-c-arrays `_ +`modernize-avoid-c-arrays <../modernize/avoid-c-arrays.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-magic-numbers.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-magic-numbers.rst +++ clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-magic-numbers.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - cppcoreguidelines-avoid-magic-numbers .. meta:: - :http-equiv=refresh: 5;URL=readability-magic-numbers.html + :http-equiv=refresh: 5;URL=../readability/magic-numbers.html cppcoreguidelines-avoid-magic-numbers ===================================== The cppcoreguidelines-avoid-magic-numbers check is an alias, please see -`readability-magic-numbers `_ +`readability-magic-numbers <../readability/magic-numbers.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/c-copy-assignment-signature.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/c-copy-assignment-signature.rst +++ clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/c-copy-assignment-signature.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - cppcoreguidelines-c-copy-assignment-signature .. meta:: - :http-equiv=refresh: 5;URL=misc-unconventional-assign-operator.html + :http-equiv=refresh: 5;URL=../misc/unconventional-assign-operator.html cppcoreguidelines-c-copy-assignment-signature ============================================= The cppcoreguidelines-c-copy-assignment-signature check is an alias, please see -`misc-unconventional-assign-operator `_ +`misc-unconventional-assign-operator <../misc/unconventional-assign-operator.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/explicit-virtual-functions.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/explicit-virtual-functions.rst +++ clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/explicit-virtual-functions.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - cppcoreguidelines-explicit-virtual-functions .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-override.html + :http-equiv=refresh: 5;URL=../modernize/use-override.html cppcoreguidelines-explicit-virtual-functions ============================================ The cppcoreguidelines-explicit-virtual-functions check is an alias, please see -`modernize-use-override `_ +`modernize-use-override <../modernize/use-override.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-to-enum.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-to-enum.rst +++ clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-to-enum.rst @@ -1,9 +1,9 @@ .. title:: clang-tidy - cppcoreguidelines-macro-to-enum .. meta:: - :http-equiv=refresh: 5;URL=modernize-macro-to-enum.html + :http-equiv=refresh: 5;URL=../modernize/macro-to-enum.html cppcoreguidelines-macro-to-enum =============================== The cppcoreguidelines-macro-to-enum check is an alias, please see -:doc:`modernize-macro-to-enum ` for more information. +:doc:`modernize-macro-to-enum <../modernize/macro-to-enum>` for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/non-private-member-variables-in-classes.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/non-private-member-variables-in-classes.rst +++ clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/non-private-member-variables-in-classes.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - cppcoreguidelines-non-private-member-variables-in-classes .. meta:: - :http-equiv=refresh: 5;URL=misc-non-private-member-variables-in-classes.html + :http-equiv=refresh: 5;URL=../misc/non-private-member-variables-in-classes.html cppcoreguidelines-non-private-member-variables-in-classes ========================================================= The cppcoreguidelines-non-private-member-variables-in-classes check is an alias, please see -`misc-non-private-member-variables-in-classes `_ +`misc-non-private-member-variables-in-classes <../misc/non-private-member-variables-in-classes.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst +++ clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst @@ -21,7 +21,7 @@ Please note, that this check does not enforce this latter rule for initializations already implemented as member initializers. For that purpose -see check `modernize-use-default-member-init `_. +see check `modernize-use-default-member-init <../modernize/use-default-member-init.html>`_. Example 1 --------- Index: clang-tools-extra/docs/clang-tidy/checks/fuchsia/header-anon-namespaces.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/fuchsia/header-anon-namespaces.rst +++ clang-tools-extra/docs/clang-tidy/checks/fuchsia/header-anon-namespaces.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - fuchsia-header-anon-namespaces .. meta:: - :http-equiv=refresh: 5;URL=google-build-namespaces.html + :http-equiv=refresh: 5;URL=../google/build-namespaces.html fuchsia-header-anon-namespaces ============================== The fuchsia-header-anon-namespaces check is an alias, please see -`google-build-namespace `_ +`google-build-namespace <../google/build-namespaces.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/google/readability-braces-around-statements.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/google/readability-braces-around-statements.rst +++ clang-tools-extra/docs/clang-tidy/checks/google/readability-braces-around-statements.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - google-readability-braces-around-statements .. meta:: - :http-equiv=refresh: 5;URL=readability-braces-around-statements.html + :http-equiv=refresh: 5;URL=../readability/braces-around-statements.html google-readability-braces-around-statements =========================================== The google-readability-braces-around-statements check is an alias, please see -`readability-braces-around-statements `_ +`readability-braces-around-statements <../readability/braces-around-statements.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/google/readability-function-size.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/google/readability-function-size.rst +++ clang-tools-extra/docs/clang-tidy/checks/google/readability-function-size.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - google-readability-function-size .. meta:: - :http-equiv=refresh: 5;URL=readability-function-size.html + :http-equiv=refresh: 5;URL=../readability/function-size.html google-readability-function-size ================================ The google-readability-function-size check is an alias, please see -`readability-function-size `_ for more +`readability-function-size <../readability/function-size.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/google/readability-namespace-comments.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/google/readability-namespace-comments.rst +++ clang-tools-extra/docs/clang-tidy/checks/google/readability-namespace-comments.rst @@ -1,9 +1,9 @@ .. title:: clang-tidy - google-readability-namespace-comments .. meta:: - :http-equiv=refresh: 5;URL=llvm-namespace-comment.html + :http-equiv=refresh: 5;URL=../llvm/namespace-comment.html google-readability-namespace-comments ===================================== The google-readability-namespace-comments check is an alias, please see -`llvm-namespace-comment `_ for more information. +`llvm-namespace-comment <../llvm/namespace-comment.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp-explicit-conversions.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp-explicit-conversions.rst +++ /dev/null @@ -1,17 +0,0 @@ -.. title:: clang-tidy - hicpp-explicit-conversions -.. meta:: - :http-equiv=refresh: 5;URL=google-explicit-constructor.html - -hicpp-explicit-conversions -========================== - -This check is an alias for `google-explicit-constructor `_. -Used to enforce parts of `rule 5.4.1 `_. -This check will enforce that constructors and conversion operators are marked `explicit`. -Other forms of casting checks are implemented in other places. -The following checks can be used to check for more forms of casting: - -- `cppcoreguidelines-pro-type-static-cast-downcast `_ -- `cppcoreguidelines-pro-type-reinterpret-cast `_ -- `cppcoreguidelines-pro-type-const-cast `_ -- `cppcoreguidelines-pro-type-cstyle-cast `_ Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-c-arrays.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-c-arrays.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-c-arrays.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-avoid-c-arrays .. meta:: - :http-equiv=refresh: 5;URL=modernize-avoid-c-arrays.html + :http-equiv=refresh: 5;URL=../modernize/avoid-c-arrays.html hicpp-avoid-c-arrays ==================== The hicpp-avoid-c-arrays check is an alias, please see -`modernize-avoid-c-arrays `_ +`modernize-avoid-c-arrays <../modernize/avoid-c-arrays.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst @@ -4,7 +4,7 @@ ================ The `hicpp-avoid-goto` check is an alias to -`cppcoreguidelines-avoid-goto `_. +`cppcoreguidelines-avoid-goto <../cppcoreguidelines/avoid-goto.html>`_. Rule `6.3.1 High Integrity C++ `_ requires that ``goto`` only skips parts of a block and is not used for other reasons. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/braces-around-statements.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/braces-around-statements.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/braces-around-statements.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - hicpp-braces-around-statements .. meta:: - :http-equiv=refresh: 5;URL=readability-braces-around-statements.html + :http-equiv=refresh: 5;URL=../readability/braces-around-statements.html hicpp-braces-around-statements ============================== The `hicpp-braces-around-statements` check is an alias, please see -`readability-braces-around-statements `_ +`readability-braces-around-statements <../readability/braces-around-statements.html>`_ for more information. It enforces the `rule 6.1.1 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/deprecated-headers.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/deprecated-headers.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/deprecated-headers.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - hicpp-deprecated-headers .. meta:: - :http-equiv=refresh: 5;URL=modernize-deprecated-headers.html + :http-equiv=refresh: 5;URL=../modernize/deprecated-headers.html hicpp-deprecated-headers ======================== The `hicpp-deprecated-headers` check is an alias, please see -`modernize-deprecated-headers `_ +`modernize-deprecated-headers <../modernize/deprecated-headers.html>`_ for more information. It enforces the `rule 1.3.3 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/explicit-conversions.rst =================================================================== --- /dev/null +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/explicit-conversions.rst @@ -0,0 +1,17 @@ +.. title:: clang-tidy - hicpp-explicit-conversions +.. meta:: + :http-equiv=refresh: 5;URL=../google/explicit-constructor.html + +hicpp-explicit-conversions +========================== + +This check is an alias for `google-explicit-constructor <../google/explicit-constructor.html>`_. +Used to enforce parts of `rule 5.4.1 `_. +This check will enforce that constructors and conversion operators are marked `explicit`. +Other forms of casting checks are implemented in other places. +The following checks can be used to check for more forms of casting: + +- `cppcoreguidelines-pro-type-static-cast-downcast <../cppcoreguidelines/pro-type-static-cast-downcast.html>`_ +- `cppcoreguidelines-pro-type-reinterpret-cast <../cppcoreguidelines/pro-type-reinterpret-cast.html>`_ +- `cppcoreguidelines-pro-type-const-cast <../cppcoreguidelines/pro-type-const-cast.html>`_ +- `cppcoreguidelines-pro-type-cstyle-cast <../cppcoreguidelines/pro-type-cstyle-cast.html>`_ Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/function-size.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/function-size.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/function-size.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - hicpp-function-size .. meta:: - :http-equiv=refresh: 5;URL=readability-function-size.html + :http-equiv=refresh: 5;URL=../readability/function-size.html hicpp-function-size =================== -This check is an alias for `readability-function-size `_. +This check is an alias for `readability-function-size <../readability/function-size.html>`_. Useful to enforce multiple sections on function complexity. - `rule 8.2.2 `_ Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/invalid-access-moved.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/invalid-access-moved.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/invalid-access-moved.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-invalid-access-moved .. meta:: - :http-equiv=refresh: 5;URL=bugprone-use-after-move.html + :http-equiv=refresh: 5;URL=../bugprone/use-after-move.html hicpp-invalid-access-moved ========================== -This check is an alias for `bugprone-use-after-move `_. +This check is an alias for `bugprone-use-after-move <../bugprone/use-after-move.html>`_. Implements parts of the `rule 8.4.1 `_ to check if moved-from objects are accessed. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/member-init.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/member-init.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/member-init.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - hicpp-member-init .. meta:: - :http-equiv=refresh: 5;URL=cppcoreguidelines-pro-type-member-init.html + :http-equiv=refresh: 5;URL=../cppcoreguidelines/pro-type-member-init.html hicpp-member-init ================= -This check is an alias for `cppcoreguidelines-pro-type-member-init `_. +This check is an alias for `cppcoreguidelines-pro-type-member-init <../cppcoreguidelines/pro-type-member-init.html>`_. Implements the check for `rule 12.4.2 `_ to initialize class members in the right order. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/move-const-arg.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/move-const-arg.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/move-const-arg.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-move-const-arg .. meta:: - :http-equiv=refresh: 5;URL=performance-move-const-arg.html + :http-equiv=refresh: 5;URL=../performance/move-const-arg.html hicpp-move-const-arg ==================== The `hicpp-move-const-arg` check is an alias, please see -`performance-move-const-arg `_ for more information. +`performance-move-const-arg <../performance/move-const-arg.html>`_ for more information. It enforces the `rule 17.3.1 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/named-parameter.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/named-parameter.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/named-parameter.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-named-parameter .. meta:: - :http-equiv=refresh: 5;URL=readability-named-parameter.html + :http-equiv=refresh: 5;URL=../readability/named-parameter.html hicpp-named-parameter ===================== -This check is an alias for `readability-named-parameter `_. +This check is an alias for `readability-named-parameter <../readability/named-parameter.html>`_. Implements `rule 8.2.1 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/new-delete-operators.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/new-delete-operators.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/new-delete-operators.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-new-delete-operators .. meta:: - :http-equiv=refresh: 5;URL=misc-new-delete-overloads.html + :http-equiv=refresh: 5;URL=../misc/new-delete-overloads.html hicpp-new-delete-operators ========================== -This check is an alias for `misc-new-delete-overloads `_. +This check is an alias for `misc-new-delete-overloads <../misc/new-delete-overloads.html>`_. Implements `rule 12.3.1 `_ to ensure the `new` and `delete` operators have the correct signature. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/no-array-decay.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/no-array-decay.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/no-array-decay.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - hicpp-no-array-decay .. meta:: - :http-equiv=refresh: 5;URL=cppcoreguidelines-pro-bounds-array-to-pointer-decay.html + :http-equiv=refresh: 5;URL=../cppcoreguidelines/pro-bounds-array-to-pointer-decay.html hicpp-no-array-decay ==================== The `hicpp-no-array-decay` check is an alias, please see -`cppcoreguidelines-pro-bounds-array-to-pointer-decay `_ +`cppcoreguidelines-pro-bounds-array-to-pointer-decay <../cppcoreguidelines/pro-bounds-array-to-pointer-decay.html>`_ for more information. It enforces the `rule 4.1.1 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/no-malloc.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/no-malloc.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/no-malloc.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - hicpp-no-malloc .. meta:: - :http-equiv=refresh: 5;URL=cppcoreguidelines-no-malloc.html + :http-equiv=refresh: 5;URL=../cppcoreguidelines/no-malloc.html hicpp-no-malloc =============== The `hicpp-no-malloc` check is an alias, please see -`cppcoreguidelines-no-malloc `_ +`cppcoreguidelines-no-malloc <../cppcoreguidelines/no-malloc.html>`_ for more information. It enforces the `rule 5.3.2 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/noexcept-move.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/noexcept-move.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/noexcept-move.rst @@ -1,9 +1,9 @@ .. title:: clang-tidy - hicpp-noexcept-move .. meta:: - :http-equiv=refresh: 5;URL=performance-noexcept-move-constructor.html + :http-equiv=refresh: 5;URL=../performance/noexcept-move-constructor.html hicpp-noexcept-move =================== -This check is an alias for `performance-noexcept-move-constructor `_. +This check is an alias for `performance-noexcept-move-constructor <../performance/noexcept-move-constructor.html>`_. Checks `rule 12.5.4 `_ to mark move assignment and move construction `noexcept`. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/special-member-functions.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/special-member-functions.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/special-member-functions.rst @@ -1,9 +1,9 @@ .. title:: clang-tidy - hicpp-special-member-functions .. meta:: - :http-equiv=refresh: 5;URL=cppcoreguidelines-special-member-functions.html + :http-equiv=refresh: 5;URL=../cppcoreguidelines/special-member-functions.html hicpp-special-member-functions ============================== -This check is an alias for `cppcoreguidelines-special-member-functions `_. +This check is an alias for `cppcoreguidelines-special-member-functions <../cppcoreguidelines/special-member-functions.html>`_. Checks that special member functions have the correct signature, according to `rule 12.5.7 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/static-assert.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/static-assert.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/static-assert.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-static-assert .. meta:: - :http-equiv=refresh: 5;URL=misc-static-assert.html + :http-equiv=refresh: 5;URL=../misc/static-assert.html hicpp-static-assert =================== The `hicpp-static-assert` check is an alias, please see -`misc-static-assert `_ for more information. +`misc-static-assert <../misc/static-assert.html>`_ for more information. It enforces the `rule 7.1.10 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/undelegated-constructor.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/undelegated-constructor.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/undelegated-constructor.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - hicpp-undelegated-constructor .. meta:: - :http-equiv=refresh: 5;URL=bugprone-undelegated-constructor.html + :http-equiv=refresh: 5;URL=../bugprone/undelegated-constructor.html hicpp-undelegated-constructor ============================= -This check is an alias for `bugprone-undelegated-constructor `_. +This check is an alias for `bugprone-undelegated-constructor <../bugprone/undelegated-constructor.html>`_. Partially implements `rule 12.4.5 `_ to find misplaced constructor calls inside a constructor. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/uppercase-literal-suffix.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/uppercase-literal-suffix.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/uppercase-literal-suffix.rst @@ -1,9 +1,9 @@ .. title:: clang-tidy - hicpp-uppercase-literal-suffix .. meta:: - :http-equiv=refresh: 5;URL=readability-uppercase-literal-suffix.html + :http-equiv=refresh: 5;URL=../readability/uppercase-literal-suffix.html hicpp-uppercase-literal-suffix ============================== The hicpp-uppercase-literal-suffix check is an alias, please see -`readability-uppercase-literal-suffix `_ for more information. +`readability-uppercase-literal-suffix <../readability/uppercase-literal-suffix.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/use-auto.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/use-auto.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/use-auto.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-use-auto .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-auto.html + :http-equiv=refresh: 5;URL=../modernize/use-auto.html hicpp-use-auto ============== The `hicpp-use-auto` check is an alias, please see -`modernize-use-auto `_ for more information. +`modernize-use-auto <../modernize/use-auto.html>`_ for more information. It enforces the `rule 7.1.8 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/use-emplace.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/use-emplace.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/use-emplace.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-use-emplace .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-emplace.html + :http-equiv=refresh: 5;URL=../modernize/use-emplace.html hicpp-use-emplace ================= The `hicpp-use-emplace` check is an alias, please see -`modernize-use-emplace `_ for more information. +`modernize-use-emplace <../modernize/use-emplace.html>`_ for more information. It enforces the `rule 17.4.2 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-default.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-default.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-default.rst @@ -1,9 +1,9 @@ .. title:: clang-tidy - hicpp-use-equals-defaults .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-equals-default.html + :http-equiv=refresh: 5;URL=../modernize/use-equals-default.html hicpp-use-equals-default ======================== -This check is an alias for `modernize-use-equals-default `_. +This check is an alias for `modernize-use-equals-default <../modernize/use-equals-default.html>`_. Implements `rule 12.5.1 `_ to explicitly default special member functions. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-delete.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-delete.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-delete.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-use-equals-delete .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-equals-delete.html + :http-equiv=refresh: 5;URL=../modernize/use-equals-delete.html hicpp-use-equals-delete ======================= -This check is an alias for `modernize-use-equals-delete `_. +This check is an alias for `modernize-use-equals-delete <../modernize/use-equals-delete.html>`_. Implements `rule 12.5.1 `_ to explicitly default or delete special member functions. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/use-noexcept.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/use-noexcept.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/use-noexcept.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-use-noexcept .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-noexcept.html + :http-equiv=refresh: 5;URL=../modernize/use-noexcept.html hicpp-use-noexcept ================== The `hicpp-use-noexcept` check is an alias, please see -`modernize-use-noexcept `_ for more information. +`modernize-use-noexcept <../modernize/use-noexcept.html>`_ for more information. It enforces the `rule 1.3.5 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/use-nullptr.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/use-nullptr.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/use-nullptr.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-use-nullptr .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-nullptr.html + :http-equiv=refresh: 5;URL=../modernize/use-nullptr.html hicpp-use-nullptr ================= The `hicpp-use-nullptr` check is an alias, please see -`modernize-use-nullptr `_ for more information. +`modernize-use-nullptr <../modernize/use-nullptr.html>`_ for more information. It enforces the `rule 2.5.3 `_. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/use-override.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/use-override.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/use-override.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - hicpp-use-override .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-override.html + :http-equiv=refresh: 5;URL=../modernize/use-override.html hicpp-use-override ================== -This check is an alias for `modernize-use-override `_. +This check is an alias for `modernize-use-override <../modernize/use-override.html>`_. Implements `rule 10.2.1 `_ to declare a virtual function `override` when overriding. Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/vararg.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/vararg.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/vararg.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - hicpp-vararg .. meta:: - :http-equiv=refresh: 5;URL=cppcoreguidelines-pro-type-vararg.html + :http-equiv=refresh: 5;URL=../cppcoreguidelines/pro-type-vararg.html hicpp-vararg ============ The `hicpp-vararg` check is an alias, please see -`cppcoreguidelines-pro-type-vararg `_ +`cppcoreguidelines-pro-type-vararg <../cppcoreguidelines/pro-type-vararg.html>`_ for more information. It enforces the `rule 14.1.1 `_. Index: clang-tools-extra/docs/clang-tidy/checks/list.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/list.rst +++ clang-tools-extra/docs/clang-tidy/checks/list.rst @@ -7,458 +7,482 @@ :glob: :hidden: - * + abseil/* + altera/* + android/* + boost/* + bugprone/* + cert/* + clang-analyzer/* + concurrency/* + cppcoreguidelines/* + darwin/* + fuchsia/* + google/* + hicpp/* + linuxkernel/* + llvm/* + llvmlibc/* + misc/* + modernize/* + mpi/* + objc/* + openmp/* + performance/* + portability/* + readability/* + zircon/* .. csv-table:: :header: "Name", "Offers fixes" - `abseil-cleanup-ctad `_, "Yes" - `abseil-duration-addition `_, "Yes" - `abseil-duration-comparison `_, "Yes" - `abseil-duration-conversion-cast `_, "Yes" - `abseil-duration-division `_, "Yes" - `abseil-duration-factory-float `_, "Yes" - `abseil-duration-factory-scale `_, "Yes" - `abseil-duration-subtraction `_, "Yes" - `abseil-duration-unnecessary-conversion `_, "Yes" - `abseil-faster-strsplit-delimiter `_, "Yes" - `abseil-no-internal-dependencies `_, - `abseil-no-namespace `_, - `abseil-redundant-strcat-calls `_, "Yes" - `abseil-str-cat-append `_, "Yes" - `abseil-string-find-startswith `_, "Yes" - `abseil-string-find-str-contains `_, "Yes" - `abseil-time-comparison `_, "Yes" - `abseil-time-subtraction `_, "Yes" - `abseil-upgrade-duration-conversions `_, "Yes" - `altera-id-dependent-backward-branch `_, - `altera-kernel-name-restriction `_, - `altera-single-work-item-barrier `_, - `altera-struct-pack-align `_, "Yes" - `altera-unroll-loops `_, - `android-cloexec-accept `_, "Yes" - `android-cloexec-accept4 `_, "Yes" - `android-cloexec-creat `_, "Yes" - `android-cloexec-dup `_, "Yes" - `android-cloexec-epoll-create `_, "Yes" - `android-cloexec-epoll-create1 `_, "Yes" - `android-cloexec-fopen `_, "Yes" - `android-cloexec-inotify-init `_, "Yes" - `android-cloexec-inotify-init1 `_, "Yes" - `android-cloexec-memfd-create `_, "Yes" - `android-cloexec-open `_, "Yes" - `android-cloexec-pipe `_, "Yes" - `android-cloexec-pipe2 `_, "Yes" - `android-cloexec-socket `_, "Yes" - `android-comparison-in-temp-failure-retry `_, - `boost-use-to-string `_, "Yes" - `bugprone-argument-comment `_, "Yes" - `bugprone-assert-side-effect `_, - `bugprone-bad-signal-to-kill-thread `_, - `bugprone-bool-pointer-implicit-conversion `_, "Yes" - `bugprone-branch-clone `_, - `bugprone-copy-constructor-init `_, "Yes" - `bugprone-dangling-handle `_, - `bugprone-dynamic-static-initializers `_, - `bugprone-easily-swappable-parameters `_, - `bugprone-exception-escape `_, - `bugprone-fold-init-type `_, - `bugprone-forward-declaration-namespace `_, - `bugprone-forwarding-reference-overload `_, - `bugprone-implicit-widening-of-multiplication-result `_, "Yes" - `bugprone-inaccurate-erase `_, "Yes" - `bugprone-incorrect-roundings `_, - `bugprone-infinite-loop `_, - `bugprone-integer-division `_, - `bugprone-lambda-function-name `_, - `bugprone-macro-parentheses `_, "Yes" - `bugprone-macro-repeated-side-effects `_, - `bugprone-misplaced-operator-in-strlen-in-alloc `_, "Yes" - `bugprone-misplaced-pointer-arithmetic-in-alloc `_, "Yes" - `bugprone-misplaced-widening-cast `_, - `bugprone-move-forwarding-reference `_, "Yes" - `bugprone-multiple-statement-macro `_, - `bugprone-no-escape `_, - `bugprone-not-null-terminated-result `_, "Yes" - `bugprone-parent-virtual-call `_, "Yes" - `bugprone-posix-return `_, "Yes" - `bugprone-redundant-branch-condition `_, "Yes" - `bugprone-reserved-identifier `_, "Yes" - `bugprone-shared-ptr-array-mismatch `_, "Yes" - `bugprone-signal-handler `_, - `bugprone-signed-char-misuse `_, - `bugprone-sizeof-container `_, - `bugprone-sizeof-expression `_, - `bugprone-spuriously-wake-up-functions `_, - `bugprone-string-constructor `_, "Yes" - `bugprone-string-integer-assignment `_, "Yes" - `bugprone-string-literal-with-embedded-nul `_, - `bugprone-stringview-nullptr `_, "Yes" - `bugprone-suspicious-enum-usage `_, - `bugprone-suspicious-include `_, - `bugprone-suspicious-memory-comparison `_, - `bugprone-suspicious-memset-usage `_, "Yes" - `bugprone-suspicious-missing-comma `_, - `bugprone-suspicious-semicolon `_, "Yes" - `bugprone-suspicious-string-compare `_, "Yes" - `bugprone-swapped-arguments `_, "Yes" - `bugprone-terminating-continue `_, "Yes" - `bugprone-throw-keyword-missing `_, - `bugprone-too-small-loop-variable `_, - `bugprone-unchecked-optional-access `_, - `bugprone-undefined-memory-manipulation `_, - `bugprone-undelegated-constructor `_, - `bugprone-unhandled-exception-at-new `_, - `bugprone-unhandled-self-assignment `_, - `bugprone-unused-raii `_, "Yes" - `bugprone-unused-return-value `_, - `bugprone-use-after-move `_, - `bugprone-virtual-near-miss `_, "Yes" - `cert-dcl21-cpp `_, "Yes" - `cert-dcl50-cpp `_, - `cert-dcl58-cpp `_, - `cert-env33-c `_, - `cert-err33-c `_, - `cert-err34-c `_, - `cert-err52-cpp `_, - `cert-err58-cpp `_, - `cert-err60-cpp `_, - `cert-flp30-c `_, - `cert-mem57-cpp `_, - `cert-msc50-cpp `_, - `cert-msc51-cpp `_, - `cert-oop57-cpp `_, - `cert-oop58-cpp `_, - `clang-analyzer-core.DynamicTypePropagation `_, - `clang-analyzer-core.uninitialized.CapturedBlockVariable `_, - `clang-analyzer-cplusplus.InnerPointer `_, - `clang-analyzer-nullability.NullableReturnedFromNonnull `_, - `clang-analyzer-optin.osx.OSObjectCStyleCast `_, - `clang-analyzer-optin.performance.GCDAntipattern `_, - `clang-analyzer-optin.performance.Padding `_, - `clang-analyzer-optin.portability.UnixAPI `_, - `clang-analyzer-osx.MIG `_, - `clang-analyzer-osx.NumberObjectConversion `_, - `clang-analyzer-osx.OSObjectRetainCount `_, - `clang-analyzer-osx.ObjCProperty `_, - `clang-analyzer-osx.cocoa.AutoreleaseWrite `_, - `clang-analyzer-osx.cocoa.Loops `_, - `clang-analyzer-osx.cocoa.MissingSuperCall `_, - `clang-analyzer-osx.cocoa.NonNilReturnValue `_, - `clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak `_, - `clang-analyzer-valist.CopyToSelf `_, - `clang-analyzer-valist.Uninitialized `_, - `clang-analyzer-valist.Unterminated `_, - `concurrency-mt-unsafe `_, - `concurrency-thread-canceltype-asynchronous `_, - `cppcoreguidelines-avoid-goto `_, - `cppcoreguidelines-avoid-non-const-global-variables `_, - `cppcoreguidelines-init-variables `_, "Yes" - `cppcoreguidelines-interfaces-global-init `_, - `cppcoreguidelines-macro-usage `_, - `cppcoreguidelines-narrowing-conversions `_, - `cppcoreguidelines-no-malloc `_, - `cppcoreguidelines-owning-memory `_, - `cppcoreguidelines-prefer-member-initializer `_, "Yes" - `cppcoreguidelines-pro-bounds-array-to-pointer-decay `_, - `cppcoreguidelines-pro-bounds-constant-array-index `_, "Yes" - `cppcoreguidelines-pro-bounds-pointer-arithmetic `_, - `cppcoreguidelines-pro-type-const-cast `_, - `cppcoreguidelines-pro-type-cstyle-cast `_, "Yes" - `cppcoreguidelines-pro-type-member-init `_, "Yes" - `cppcoreguidelines-pro-type-reinterpret-cast `_, - `cppcoreguidelines-pro-type-static-cast-downcast `_, "Yes" - `cppcoreguidelines-pro-type-union-access `_, - `cppcoreguidelines-pro-type-vararg `_, - `cppcoreguidelines-slicing `_, - `cppcoreguidelines-special-member-functions `_, - `cppcoreguidelines-virtual-class-destructor `_, "Yes" - `darwin-avoid-spinlock `_, - `darwin-dispatch-once-nonstatic `_, "Yes" - `fuchsia-default-arguments-calls `_, - `fuchsia-default-arguments-declarations `_, "Yes" - `fuchsia-multiple-inheritance `_, - `fuchsia-overloaded-operator `_, - `fuchsia-statically-constructed-objects `_, - `fuchsia-trailing-return `_, - `fuchsia-virtual-inheritance `_, - `google-build-explicit-make-pair `_, - `google-build-namespaces `_, - `google-build-using-namespace `_, - `google-default-arguments `_, - `google-explicit-constructor `_, "Yes" - `google-global-names-in-headers `_, - `google-objc-avoid-nsobject-new `_, - `google-objc-avoid-throwing-exception `_, - `google-objc-function-naming `_, - `google-objc-global-variable-declaration `_, - `google-readability-avoid-underscore-in-googletest-name `_, - `google-readability-casting `_, - `google-readability-todo `_, - `google-runtime-int `_, - `google-runtime-operator `_, - `google-upgrade-googletest-case `_, "Yes" - `hicpp-avoid-goto `_, - `hicpp-exception-baseclass `_, - `hicpp-multiway-paths-covered `_, - `hicpp-no-assembler `_, - `hicpp-signed-bitwise `_, - `linuxkernel-must-use-errs `_, - `llvm-header-guard `_, - `llvm-include-order `_, "Yes" - `llvm-namespace-comment `_, - `llvm-prefer-isa-or-dyn-cast-in-conditionals `_, "Yes" - `llvm-prefer-register-over-unsigned `_, "Yes" - `llvm-twine-local `_, "Yes" - `llvmlibc-callee-namespace `_, - `llvmlibc-implementation-in-namespace `_, - `llvmlibc-restrict-system-libc-headers `_, "Yes" - `misc-definitions-in-headers `_, "Yes" - `misc-misleading-bidirectional `_, - `misc-misleading-identifier `_, - `misc-misplaced-const `_, - `misc-new-delete-overloads `_, - `misc-no-recursion `_, - `misc-non-copyable-objects `_, - `misc-non-private-member-variables-in-classes `_, - `misc-redundant-expression `_, "Yes" - `misc-static-assert `_, "Yes" - `misc-throw-by-value-catch-by-reference `_, - `misc-unconventional-assign-operator `_, - `misc-uniqueptr-reset-release `_, "Yes" - `misc-unused-alias-decls `_, "Yes" - `misc-unused-parameters `_, "Yes" - `misc-unused-using-decls `_, "Yes" - `modernize-avoid-bind `_, "Yes" - `modernize-avoid-c-arrays `_, - `modernize-concat-nested-namespaces `_, "Yes" - `modernize-deprecated-headers `_, "Yes" - `modernize-deprecated-ios-base-aliases `_, "Yes" - `modernize-loop-convert `_, "Yes" - `modernize-macro-to-enum `_, "Yes" - `modernize-make-shared `_, "Yes" - `modernize-make-unique `_, "Yes" - `modernize-pass-by-value `_, "Yes" - `modernize-raw-string-literal `_, "Yes" - `modernize-redundant-void-arg `_, "Yes" - `modernize-replace-auto-ptr `_, "Yes" - `modernize-replace-disallow-copy-and-assign-macro `_, "Yes" - `modernize-replace-random-shuffle `_, "Yes" - `modernize-return-braced-init-list `_, "Yes" - `modernize-shrink-to-fit `_, "Yes" - `modernize-unary-static-assert `_, "Yes" - `modernize-use-auto `_, "Yes" - `modernize-use-bool-literals `_, "Yes" - `modernize-use-default-member-init `_, "Yes" - `modernize-use-emplace `_, "Yes" - `modernize-use-equals-default `_, "Yes" - `modernize-use-equals-delete `_, "Yes" - `modernize-use-nodiscard `_, "Yes" - `modernize-use-noexcept `_, "Yes" - `modernize-use-nullptr `_, "Yes" - `modernize-use-override `_, "Yes" - `modernize-use-trailing-return-type `_, "Yes" - `modernize-use-transparent-functors `_, "Yes" - `modernize-use-uncaught-exceptions `_, "Yes" - `modernize-use-using `_, "Yes" - `mpi-buffer-deref `_, "Yes" - `mpi-type-mismatch `_, "Yes" - `objc-assert-equals `_, "Yes" - `objc-avoid-nserror-init `_, - `objc-dealloc-in-category `_, - `objc-forbidden-subclassing `_, - `objc-missing-hash `_, - `objc-nsinvocation-argument-lifetime `_, "Yes" - `objc-property-declaration `_, "Yes" - `objc-super-self `_, "Yes" - `openmp-exception-escape `_, - `openmp-use-default-none `_, - `performance-faster-string-find `_, "Yes" - `performance-for-range-copy `_, "Yes" - `performance-implicit-conversion-in-loop `_, - `performance-inefficient-algorithm `_, "Yes" - `performance-inefficient-string-concatenation `_, - `performance-inefficient-vector-operation `_, "Yes" - `performance-move-const-arg `_, "Yes" - `performance-move-constructor-init `_, - `performance-no-automatic-move `_, - `performance-no-int-to-ptr `_, - `performance-noexcept-move-constructor `_, "Yes" - `performance-trivially-destructible `_, "Yes" - `performance-type-promotion-in-math-fn `_, "Yes" - `performance-unnecessary-copy-initialization `_, "Yes" - `performance-unnecessary-value-param `_, "Yes" - `portability-restrict-system-includes `_, "Yes" - `portability-simd-intrinsics `_, - `portability-std-allocator-const `_, - `readability-avoid-const-params-in-decls `_, "Yes" - `readability-braces-around-statements `_, "Yes" - `readability-const-return-type `_, "Yes" - `readability-container-contains `_, "Yes" - `readability-container-data-pointer `_, "Yes" - `readability-container-size-empty `_, "Yes" - `readability-convert-member-functions-to-static `_, "Yes" - `readability-delete-null-pointer `_, "Yes" - `readability-duplicate-include `_, "Yes" - `readability-else-after-return `_, "Yes" - `readability-function-cognitive-complexity `_, - `readability-function-size `_, - `readability-identifier-length `_, - `readability-identifier-naming `_, "Yes" - `readability-implicit-bool-conversion `_, "Yes" - `readability-inconsistent-declaration-parameter-name `_, "Yes" - `readability-isolate-declaration `_, "Yes" - `readability-magic-numbers `_, - `readability-make-member-function-const `_, "Yes" - `readability-misleading-indentation `_, - `readability-misplaced-array-index `_, "Yes" - `readability-named-parameter `_, "Yes" - `readability-non-const-parameter `_, "Yes" - `readability-qualified-auto `_, "Yes" - `readability-redundant-access-specifiers `_, "Yes" - `readability-redundant-control-flow `_, "Yes" - `readability-redundant-declaration `_, "Yes" - `readability-redundant-function-ptr-dereference `_, "Yes" - `readability-redundant-member-init `_, "Yes" - `readability-redundant-preprocessor `_, - `readability-redundant-smartptr-get `_, "Yes" - `readability-redundant-string-cstr `_, "Yes" - `readability-redundant-string-init `_, "Yes" - `readability-simplify-boolean-expr `_, "Yes" - `readability-simplify-subscript-expr `_, "Yes" - `readability-static-accessed-through-instance `_, "Yes" - `readability-static-definition-in-anonymous-namespace `_, "Yes" - `readability-string-compare `_, "Yes" - `readability-suspicious-call-argument `_, - `readability-uniqueptr-delete-release `_, "Yes" - `readability-uppercase-literal-suffix `_, "Yes" - `readability-use-anyofallof `_, - `zircon-temporary-objects `_, + `abseil-cleanup-ctad `_, "Yes" + `abseil-duration-addition `_, "Yes" + `abseil-duration-comparison `_, "Yes" + `abseil-duration-conversion-cast `_, "Yes" + `abseil-duration-division `_, "Yes" + `abseil-duration-factory-float `_, "Yes" + `abseil-duration-factory-scale `_, "Yes" + `abseil-duration-subtraction `_, "Yes" + `abseil-duration-unnecessary-conversion `_, "Yes" + `abseil-faster-strsplit-delimiter `_, "Yes" + `abseil-no-internal-dependencies `_, + `abseil-no-namespace `_, + `abseil-redundant-strcat-calls `_, "Yes" + `abseil-str-cat-append `_, "Yes" + `abseil-string-find-startswith `_, "Yes" + `abseil-string-find-str-contains `_, "Yes" + `abseil-time-comparison `_, "Yes" + `abseil-time-subtraction `_, "Yes" + `abseil-upgrade-duration-conversions `_, "Yes" + `altera-id-dependent-backward-branch `_, + `altera-kernel-name-restriction `_, + `altera-single-work-item-barrier `_, + `altera-struct-pack-align `_, "Yes" + `altera-unroll-loops `_, + `android-cloexec-accept `_, "Yes" + `android-cloexec-accept4 `_, "Yes" + `android-cloexec-creat `_, "Yes" + `android-cloexec-dup `_, "Yes" + `android-cloexec-epoll-create `_, "Yes" + `android-cloexec-epoll-create1 `_, "Yes" + `android-cloexec-fopen `_, "Yes" + `android-cloexec-inotify-init `_, "Yes" + `android-cloexec-inotify-init1 `_, "Yes" + `android-cloexec-memfd-create `_, "Yes" + `android-cloexec-open `_, "Yes" + `android-cloexec-pipe `_, "Yes" + `android-cloexec-pipe2 `_, "Yes" + `android-cloexec-socket `_, "Yes" + `android-comparison-in-temp-failure-retry `_, + `boost-use-to-string `_, "Yes" + `bugprone-argument-comment `_, "Yes" + `bugprone-assert-side-effect `_, + `bugprone-bad-signal-to-kill-thread `_, + `bugprone-bool-pointer-implicit-conversion `_, "Yes" + `bugprone-branch-clone `_, + `bugprone-copy-constructor-init `_, "Yes" + `bugprone-dangling-handle `_, + `bugprone-dynamic-static-initializers `_, + `bugprone-easily-swappable-parameters `_, + `bugprone-exception-escape `_, + `bugprone-fold-init-type `_, + `bugprone-forward-declaration-namespace `_, + `bugprone-forwarding-reference-overload `_, + `bugprone-implicit-widening-of-multiplication-result `_, "Yes" + `bugprone-inaccurate-erase `_, "Yes" + `bugprone-incorrect-roundings `_, + `bugprone-infinite-loop `_, + `bugprone-integer-division `_, + `bugprone-lambda-function-name `_, + `bugprone-macro-parentheses `_, "Yes" + `bugprone-macro-repeated-side-effects `_, + `bugprone-misplaced-operator-in-strlen-in-alloc `_, "Yes" + `bugprone-misplaced-pointer-arithmetic-in-alloc `_, "Yes" + `bugprone-misplaced-widening-cast `_, + `bugprone-move-forwarding-reference `_, "Yes" + `bugprone-multiple-statement-macro `_, + `bugprone-no-escape `_, + `bugprone-not-null-terminated-result `_, "Yes" + `bugprone-parent-virtual-call `_, "Yes" + `bugprone-posix-return `_, "Yes" + `bugprone-redundant-branch-condition `_, "Yes" + `bugprone-reserved-identifier `_, "Yes" + `bugprone-shared-ptr-array-mismatch `_, "Yes" + `bugprone-signal-handler `_, + `bugprone-signed-char-misuse `_, + `bugprone-sizeof-container `_, + `bugprone-sizeof-expression `_, + `bugprone-spuriously-wake-up-functions `_, + `bugprone-string-constructor `_, "Yes" + `bugprone-string-integer-assignment `_, "Yes" + `bugprone-string-literal-with-embedded-nul `_, + `bugprone-stringview-nullptr `_, "Yes" + `bugprone-suspicious-enum-usage `_, + `bugprone-suspicious-include `_, + `bugprone-suspicious-memory-comparison `_, + `bugprone-suspicious-memset-usage `_, "Yes" + `bugprone-suspicious-missing-comma `_, + `bugprone-suspicious-semicolon `_, "Yes" + `bugprone-suspicious-string-compare `_, "Yes" + `bugprone-swapped-arguments `_, "Yes" + `bugprone-terminating-continue `_, "Yes" + `bugprone-throw-keyword-missing `_, + `bugprone-too-small-loop-variable `_, + `bugprone-unchecked-optional-access `_, + `bugprone-undefined-memory-manipulation `_, + `bugprone-undelegated-constructor `_, + `bugprone-unhandled-exception-at-new `_, + `bugprone-unhandled-self-assignment `_, + `bugprone-unused-raii `_, "Yes" + `bugprone-unused-return-value `_, + `bugprone-use-after-move `_, + `bugprone-virtual-near-miss `_, "Yes" + `cert-dcl21-cpp `_, "Yes" + `cert-dcl50-cpp `_, + `cert-dcl58-cpp `_, + `cert-env33-c `_, + `cert-err33-c `_, + `cert-err34-c `_, + `cert-err52-cpp `_, + `cert-err58-cpp `_, + `cert-err60-cpp `_, + `cert-flp30-c `_, + `cert-mem57-cpp `_, + `cert-msc50-cpp `_, + `cert-msc51-cpp `_, + `cert-oop57-cpp `_, + `cert-oop58-cpp `_, + `clang-analyzer-core.DynamicTypePropagation `_, + `clang-analyzer-core.uninitialized.CapturedBlockVariable `_, + `clang-analyzer-cplusplus.InnerPointer `_, + `clang-analyzer-nullability.NullableReturnedFromNonnull `_, + `clang-analyzer-optin.osx.OSObjectCStyleCast `_, + `clang-analyzer-optin.performance.GCDAntipattern `_, + `clang-analyzer-optin.performance.Padding `_, + `clang-analyzer-optin.portability.UnixAPI `_, + `clang-analyzer-osx.MIG `_, + `clang-analyzer-osx.NumberObjectConversion `_, + `clang-analyzer-osx.OSObjectRetainCount `_, + `clang-analyzer-osx.ObjCProperty `_, + `clang-analyzer-osx.cocoa.AutoreleaseWrite `_, + `clang-analyzer-osx.cocoa.Loops `_, + `clang-analyzer-osx.cocoa.MissingSuperCall `_, + `clang-analyzer-osx.cocoa.NonNilReturnValue `_, + `clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak `_, + `clang-analyzer-valist.CopyToSelf `_, + `clang-analyzer-valist.Uninitialized `_, + `clang-analyzer-valist.Unterminated `_, + `concurrency-mt-unsafe `_, + `concurrency-thread-canceltype-asynchronous `_, + `cppcoreguidelines-avoid-goto `_, + `cppcoreguidelines-avoid-non-const-global-variables `_, + `cppcoreguidelines-init-variables `_, "Yes" + `cppcoreguidelines-interfaces-global-init `_, + `cppcoreguidelines-macro-usage `_, + `cppcoreguidelines-narrowing-conversions `_, + `cppcoreguidelines-no-malloc `_, + `cppcoreguidelines-owning-memory `_, + `cppcoreguidelines-prefer-member-initializer `_, "Yes" + `cppcoreguidelines-pro-bounds-array-to-pointer-decay `_, + `cppcoreguidelines-pro-bounds-constant-array-index `_, "Yes" + `cppcoreguidelines-pro-bounds-pointer-arithmetic `_, + `cppcoreguidelines-pro-type-const-cast `_, + `cppcoreguidelines-pro-type-cstyle-cast `_, "Yes" + `cppcoreguidelines-pro-type-member-init `_, "Yes" + `cppcoreguidelines-pro-type-reinterpret-cast `_, + `cppcoreguidelines-pro-type-static-cast-downcast `_, "Yes" + `cppcoreguidelines-pro-type-union-access `_, + `cppcoreguidelines-pro-type-vararg `_, + `cppcoreguidelines-slicing `_, + `cppcoreguidelines-special-member-functions `_, + `cppcoreguidelines-virtual-class-destructor `_, "Yes" + `darwin-avoid-spinlock `_, + `darwin-dispatch-once-nonstatic `_, "Yes" + `fuchsia-default-arguments-calls `_, + `fuchsia-default-arguments-declarations `_, "Yes" + `fuchsia-multiple-inheritance `_, + `fuchsia-overloaded-operator `_, + `fuchsia-statically-constructed-objects `_, + `fuchsia-trailing-return `_, + `fuchsia-virtual-inheritance `_, + `google-build-explicit-make-pair `_, + `google-build-namespaces `_, + `google-build-using-namespace `_, + `google-default-arguments `_, + `google-explicit-constructor `_, "Yes" + `google-global-names-in-headers `_, + `google-objc-avoid-nsobject-new `_, + `google-objc-avoid-throwing-exception `_, + `google-objc-function-naming `_, + `google-objc-global-variable-declaration `_, + `google-readability-avoid-underscore-in-googletest-name `_, + `google-readability-casting `_, + `google-readability-todo `_, + `google-runtime-int `_, + `google-runtime-operator `_, + `google-upgrade-googletest-case `_, "Yes" + `hicpp-avoid-goto `_, + `hicpp-exception-baseclass `_, + `hicpp-multiway-paths-covered `_, + `hicpp-no-assembler `_, + `hicpp-signed-bitwise `_, + `linuxkernel-must-use-errs `_, + `llvm-header-guard `_, + `llvm-include-order `_, "Yes" + `llvm-namespace-comment `_, + `llvm-prefer-isa-or-dyn-cast-in-conditionals `_, "Yes" + `llvm-prefer-register-over-unsigned `_, "Yes" + `llvm-twine-local `_, "Yes" + `llvmlibc-callee-namespace `_, + `llvmlibc-implementation-in-namespace `_, + `llvmlibc-restrict-system-libc-headers `_, "Yes" + `misc-definitions-in-headers `_, "Yes" + `misc-misleading-bidirectional `_, + `misc-misleading-identifier `_, + `misc-misplaced-const `_, + `misc-new-delete-overloads `_, + `misc-no-recursion `_, + `misc-non-copyable-objects `_, + `misc-non-private-member-variables-in-classes `_, + `misc-redundant-expression `_, "Yes" + `misc-static-assert `_, "Yes" + `misc-throw-by-value-catch-by-reference `_, + `misc-unconventional-assign-operator `_, + `misc-uniqueptr-reset-release `_, "Yes" + `misc-unused-alias-decls `_, "Yes" + `misc-unused-parameters `_, "Yes" + `misc-unused-using-decls `_, "Yes" + `modernize-avoid-bind `_, "Yes" + `modernize-avoid-c-arrays `_, + `modernize-concat-nested-namespaces `_, "Yes" + `modernize-deprecated-headers `_, "Yes" + `modernize-deprecated-ios-base-aliases `_, "Yes" + `modernize-loop-convert `_, "Yes" + `modernize-macro-to-enum `_, "Yes" + `modernize-make-shared `_, "Yes" + `modernize-make-unique `_, "Yes" + `modernize-pass-by-value `_, "Yes" + `modernize-raw-string-literal `_, "Yes" + `modernize-redundant-void-arg `_, "Yes" + `modernize-replace-auto-ptr `_, "Yes" + `modernize-replace-disallow-copy-and-assign-macro `_, "Yes" + `modernize-replace-random-shuffle `_, "Yes" + `modernize-return-braced-init-list `_, "Yes" + `modernize-shrink-to-fit `_, "Yes" + `modernize-unary-static-assert `_, "Yes" + `modernize-use-auto `_, "Yes" + `modernize-use-bool-literals `_, "Yes" + `modernize-use-default-member-init `_, "Yes" + `modernize-use-emplace `_, "Yes" + `modernize-use-equals-default `_, "Yes" + `modernize-use-equals-delete `_, "Yes" + `modernize-use-nodiscard `_, "Yes" + `modernize-use-noexcept `_, "Yes" + `modernize-use-nullptr `_, "Yes" + `modernize-use-override `_, "Yes" + `modernize-use-trailing-return-type `_, "Yes" + `modernize-use-transparent-functors `_, "Yes" + `modernize-use-uncaught-exceptions `_, "Yes" + `modernize-use-using `_, "Yes" + `mpi-buffer-deref `_, "Yes" + `mpi-type-mismatch `_, "Yes" + `objc-assert-equals `_, "Yes" + `objc-avoid-nserror-init `_, + `objc-dealloc-in-category `_, + `objc-forbidden-subclassing `_, + `objc-missing-hash `_, + `objc-nsinvocation-argument-lifetime `_, "Yes" + `objc-property-declaration `_, "Yes" + `objc-super-self `_, "Yes" + `openmp-exception-escape `_, + `openmp-use-default-none `_, + `performance-faster-string-find `_, "Yes" + `performance-for-range-copy `_, "Yes" + `performance-implicit-conversion-in-loop `_, + `performance-inefficient-algorithm `_, "Yes" + `performance-inefficient-string-concatenation `_, + `performance-inefficient-vector-operation `_, "Yes" + `performance-move-const-arg `_, "Yes" + `performance-move-constructor-init `_, + `performance-no-automatic-move `_, + `performance-no-int-to-ptr `_, + `performance-noexcept-move-constructor `_, "Yes" + `performance-trivially-destructible `_, "Yes" + `performance-type-promotion-in-math-fn `_, "Yes" + `performance-unnecessary-copy-initialization `_, "Yes" + `performance-unnecessary-value-param `_, "Yes" + `portability-restrict-system-includes `_, "Yes" + `portability-simd-intrinsics `_, + `portability-std-allocator-const `_, + `readability-avoid-const-params-in-decls `_, "Yes" + `readability-braces-around-statements `_, "Yes" + `readability-const-return-type `_, "Yes" + `readability-container-contains `_, "Yes" + `readability-container-data-pointer `_, "Yes" + `readability-container-size-empty `_, "Yes" + `readability-convert-member-functions-to-static `_, "Yes" + `readability-delete-null-pointer `_, "Yes" + `readability-duplicate-include `_, "Yes" + `readability-else-after-return `_, "Yes" + `readability-function-cognitive-complexity `_, + `readability-function-size `_, + `readability-identifier-length `_, + `readability-identifier-naming `_, "Yes" + `readability-implicit-bool-conversion `_, "Yes" + `readability-inconsistent-declaration-parameter-name `_, "Yes" + `readability-isolate-declaration `_, "Yes" + `readability-magic-numbers `_, + `readability-make-member-function-const `_, "Yes" + `readability-misleading-indentation `_, + `readability-misplaced-array-index `_, "Yes" + `readability-named-parameter `_, "Yes" + `readability-non-const-parameter `_, "Yes" + `readability-qualified-auto `_, "Yes" + `readability-redundant-access-specifiers `_, "Yes" + `readability-redundant-control-flow `_, "Yes" + `readability-redundant-declaration `_, "Yes" + `readability-redundant-function-ptr-dereference `_, "Yes" + `readability-redundant-member-init `_, "Yes" + `readability-redundant-preprocessor `_, + `readability-redundant-smartptr-get `_, "Yes" + `readability-redundant-string-cstr `_, "Yes" + `readability-redundant-string-init `_, "Yes" + `readability-simplify-boolean-expr `_, "Yes" + `readability-simplify-subscript-expr `_, "Yes" + `readability-static-accessed-through-instance `_, "Yes" + `readability-static-definition-in-anonymous-namespace `_, "Yes" + `readability-string-compare `_, "Yes" + `readability-suspicious-call-argument `_, + `readability-uniqueptr-delete-release `_, "Yes" + `readability-uppercase-literal-suffix `_, "Yes" + `readability-use-anyofallof `_, + `zircon-temporary-objects `_, .. csv-table:: Aliases.. :header: "Name", "Redirect", "Offers fixes" - `bugprone-narrowing-conversions `_, `cppcoreguidelines-narrowing-conversions `_, - `cert-con36-c `_, `bugprone-spuriously-wake-up-functions `_, - `cert-con54-cpp `_, `bugprone-spuriously-wake-up-functions `_, - `cert-dcl03-c `_, `misc-static-assert `_, "Yes" - `cert-dcl16-c `_, `readability-uppercase-literal-suffix `_, "Yes" - `cert-dcl37-c `_, `bugprone-reserved-identifier `_, "Yes" - `cert-dcl51-cpp `_, `bugprone-reserved-identifier `_, "Yes" - `cert-dcl54-cpp `_, `misc-new-delete-overloads `_, - `cert-dcl59-cpp `_, `google-build-namespaces `_, - `cert-err09-cpp `_, `misc-throw-by-value-catch-by-reference `_, - `cert-err61-cpp `_, `misc-throw-by-value-catch-by-reference `_, - `cert-exp42-c `_, `bugprone-suspicious-memory-comparison `_, - `cert-fio38-c `_, `misc-non-copyable-objects `_, - `cert-flp37-c `_, `bugprone-suspicious-memory-comparison `_, - `cert-msc30-c `_, `cert-msc50-cpp `_, - `cert-msc32-c `_, `cert-msc51-cpp `_, - `cert-oop11-cpp `_, `performance-move-constructor-init `_, - `cert-oop54-cpp `_, `bugprone-unhandled-self-assignment `_, - `cert-pos44-c `_, `bugprone-bad-signal-to-kill-thread `_, - `cert-pos47-c `_, `concurrency-thread-canceltype-asynchronous `_, - `cert-sig30-c `_, `bugprone-signal-handler `_, - `cert-str34-c `_, `bugprone-signed-char-misuse `_, - `clang-analyzer-core.CallAndMessage `_, `Clang Static Analyzer `_, - `clang-analyzer-core.DivideZero `_, `Clang Static Analyzer `_, - `clang-analyzer-core.NonNullParamChecker `_, `Clang Static Analyzer `_, - `clang-analyzer-core.NullDereference `_, `Clang Static Analyzer `_, - `clang-analyzer-core.StackAddressEscape `_, `Clang Static Analyzer `_, - `clang-analyzer-core.UndefinedBinaryOperatorResult `_, `Clang Static Analyzer `_, - `clang-analyzer-core.VLASize `_, `Clang Static Analyzer `_, - `clang-analyzer-core.uninitialized.ArraySubscript `_, `Clang Static Analyzer `_, - `clang-analyzer-core.uninitialized.Assign `_, `Clang Static Analyzer `_, - `clang-analyzer-core.uninitialized.Branch `_, `Clang Static Analyzer `_, - `clang-analyzer-core.uninitialized.UndefReturn `_, `Clang Static Analyzer `_, - `clang-analyzer-cplusplus.Move `_, `Clang Static Analyzer `_, - `clang-analyzer-cplusplus.NewDelete `_, `Clang Static Analyzer `_, - `clang-analyzer-cplusplus.NewDeleteLeaks `_, `Clang Static Analyzer `_, - `clang-analyzer-deadcode.DeadStores `_, `Clang Static Analyzer `_, - `clang-analyzer-nullability.NullPassedToNonnull `_, `Clang Static Analyzer `_, - `clang-analyzer-nullability.NullReturnedFromNonnull `_, `Clang Static Analyzer `_, - `clang-analyzer-nullability.NullableDereferenced `_, `Clang Static Analyzer `_, - `clang-analyzer-nullability.NullablePassedToNonnull `_, `Clang Static Analyzer `_, - `clang-analyzer-optin.cplusplus.UninitializedObject `_, `Clang Static Analyzer `_, - `clang-analyzer-optin.cplusplus.VirtualCall `_, `Clang Static Analyzer `_, - `clang-analyzer-optin.mpi.MPI-Checker `_, `Clang Static Analyzer `_, - `clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker `_, `Clang Static Analyzer `_, - `clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.API `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.SecKeychainAPI `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.AtSync `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.ClassRelease `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.Dealloc `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.IncompatibleMethodTypes `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.NSAutoreleasePool `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.NSError `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.NilArg `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.ObjCGenerics `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.RetainCount `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.SelfInit `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.SuperDealloc `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.UnusedIvars `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.cocoa.VariadicMethodTypes `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.coreFoundation.CFError `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.coreFoundation.CFNumber `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.coreFoundation.CFRetainRelease `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.coreFoundation.containers.OutOfBounds `_, `Clang Static Analyzer `_, - `clang-analyzer-osx.coreFoundation.containers.PointerSizedValues `_, `Clang Static Analyzer `_, - `clang-analyzer-security.FloatLoopCounter `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.UncheckedReturn `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.bcmp `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.bcopy `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.bzero `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.getpw `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.gets `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.mkstemp `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.mktemp `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.rand `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.strcpy `_, `Clang Static Analyzer `_, - `clang-analyzer-security.insecureAPI.vfork `_, `Clang Static Analyzer `_, - `clang-analyzer-unix.API `_, `Clang Static Analyzer `_, - `clang-analyzer-unix.Malloc `_, `Clang Static Analyzer `_, - `clang-analyzer-unix.MallocSizeof `_, `Clang Static Analyzer `_, - `clang-analyzer-unix.MismatchedDeallocator `_, `Clang Static Analyzer `_, - `clang-analyzer-unix.Vfork `_, `Clang Static Analyzer `_, - `clang-analyzer-unix.cstring.BadSizeArg `_, `Clang Static Analyzer `_, - `clang-analyzer-unix.cstring.NullArg `_, `Clang Static Analyzer `_, - `cppcoreguidelines-avoid-c-arrays `_, `modernize-avoid-c-arrays `_, - `cppcoreguidelines-avoid-magic-numbers `_, `readability-magic-numbers `_, - `cppcoreguidelines-c-copy-assignment-signature `_, `misc-unconventional-assign-operator `_, - `cppcoreguidelines-explicit-virtual-functions `_, `modernize-use-override `_, "Yes" - `cppcoreguidelines-macro-to-enum `_, `modernize-macro-to-enum `_, "Yes" - `cppcoreguidelines-non-private-member-variables-in-classes `_, `misc-non-private-member-variables-in-classes `_, - `fuchsia-header-anon-namespaces `_, `google-build-namespaces `_, - `google-readability-braces-around-statements `_, `readability-braces-around-statements `_, "Yes" - `google-readability-function-size `_, `readability-function-size `_, - `google-readability-namespace-comments `_, `llvm-namespace-comment `_, - `hicpp-avoid-c-arrays `_, `modernize-avoid-c-arrays `_, - `hicpp-braces-around-statements `_, `readability-braces-around-statements `_, "Yes" - `hicpp-deprecated-headers `_, `modernize-deprecated-headers `_, "Yes" - `hicpp-explicit-conversions `_, `google-explicit-constructor `_, "Yes" - `hicpp-function-size `_, `readability-function-size `_, - `hicpp-invalid-access-moved `_, `bugprone-use-after-move `_, - `hicpp-member-init `_, `cppcoreguidelines-pro-type-member-init `_, "Yes" - `hicpp-move-const-arg `_, `performance-move-const-arg `_, "Yes" - `hicpp-named-parameter `_, `readability-named-parameter `_, "Yes" - `hicpp-new-delete-operators `_, `misc-new-delete-overloads `_, - `hicpp-no-array-decay `_, `cppcoreguidelines-pro-bounds-array-to-pointer-decay `_, - `hicpp-no-malloc `_, `cppcoreguidelines-no-malloc `_, - `hicpp-noexcept-move `_, `performance-noexcept-move-constructor `_, "Yes" - `hicpp-special-member-functions `_, `cppcoreguidelines-special-member-functions `_, - `hicpp-static-assert `_, `misc-static-assert `_, "Yes" - `hicpp-undelegated-constructor `_, `bugprone-undelegated-constructor `_, - `hicpp-uppercase-literal-suffix `_, `readability-uppercase-literal-suffix `_, "Yes" - `hicpp-use-auto `_, `modernize-use-auto `_, "Yes" - `hicpp-use-emplace `_, `modernize-use-emplace `_, "Yes" - `hicpp-use-equals-default `_, `modernize-use-equals-default `_, "Yes" - `hicpp-use-equals-delete `_, `modernize-use-equals-delete `_, "Yes" - `hicpp-use-noexcept `_, `modernize-use-noexcept `_, "Yes" - `hicpp-use-nullptr `_, `modernize-use-nullptr `_, "Yes" - `hicpp-use-override `_, `modernize-use-override `_, "Yes" - `hicpp-vararg `_, `cppcoreguidelines-pro-type-vararg `_, - `llvm-else-after-return `_, `readability-else-after-return `_, "Yes" - `llvm-qualified-auto `_, `readability-qualified-auto `_, "Yes" + `bugprone-narrowing-conversions `_, `cppcoreguidelines-narrowing-conversions `_, + `cert-con36-c `_, `bugprone-spuriously-wake-up-functions `_, + `cert-con54-cpp `_, `bugprone-spuriously-wake-up-functions `_, + `cert-dcl03-c `_, `misc-static-assert `_, "Yes" + `cert-dcl16-c `_, `readability-uppercase-literal-suffix `_, "Yes" + `cert-dcl37-c `_, `bugprone-reserved-identifier `_, "Yes" + `cert-dcl51-cpp `_, `bugprone-reserved-identifier `_, "Yes" + `cert-dcl54-cpp `_, `misc-new-delete-overloads `_, + `cert-dcl59-cpp `_, `google-build-namespaces `_, + `cert-err09-cpp `_, `misc-throw-by-value-catch-by-reference `_, + `cert-err61-cpp `_, `misc-throw-by-value-catch-by-reference `_, + `cert-exp42-c `_, `bugprone-suspicious-memory-comparison `_, + `cert-fio38-c `_, `misc-non-copyable-objects `_, + `cert-flp37-c `_, `bugprone-suspicious-memory-comparison `_, + `cert-msc30-c `_, `cert-msc50-cpp `_, + `cert-msc32-c `_, `cert-msc51-cpp `_, + `cert-oop11-cpp `_, `performance-move-constructor-init `_, + `cert-oop54-cpp `_, `bugprone-unhandled-self-assignment `_, + `cert-pos44-c `_, `bugprone-bad-signal-to-kill-thread `_, + `cert-pos47-c `_, `concurrency-thread-canceltype-asynchronous `_, + `cert-sig30-c `_, `bugprone-signal-handler `_, + `cert-str34-c `_, `bugprone-signed-char-misuse `_, + `clang-analyzer-core.CallAndMessage `_, `Clang Static Analyzer core.CallAndMessage `_, + `clang-analyzer-core.DivideZero `_, `Clang Static Analyzer core.DivideZero `_, + `clang-analyzer-core.NonNullParamChecker `_, `Clang Static Analyzer core.NonNullParamChecker `_, + `clang-analyzer-core.NullDereference `_, `Clang Static Analyzer core.NullDereference `_, + `clang-analyzer-core.StackAddressEscape `_, `Clang Static Analyzer core.StackAddressEscape `_, + `clang-analyzer-core.UndefinedBinaryOperatorResult `_, `Clang Static Analyzer core.UndefinedBinaryOperatorResult `_, + `clang-analyzer-core.VLASize `_, `Clang Static Analyzer core.VLASize `_, + `clang-analyzer-core.uninitialized.ArraySubscript `_, `Clang Static Analyzer core.uninitialized.ArraySubscript `_, + `clang-analyzer-core.uninitialized.Assign `_, `Clang Static Analyzer core.uninitialized.Assign `_, + `clang-analyzer-core.uninitialized.Branch `_, `Clang Static Analyzer core.uninitialized.Branch `_, + `clang-analyzer-core.uninitialized.UndefReturn `_, `Clang Static Analyzer core.uninitialized.UndefReturn `_, + `clang-analyzer-cplusplus.Move `_, `Clang Static Analyzer cplusplus.Move `_, + `clang-analyzer-cplusplus.NewDelete `_, `Clang Static Analyzer cplusplus.NewDelete `_, + `clang-analyzer-cplusplus.NewDeleteLeaks `_, `Clang Static Analyzer cplusplus.NewDeleteLeaks `_, + `clang-analyzer-deadcode.DeadStores `_, `Clang Static Analyzer deadcode.DeadStores `_, + `clang-analyzer-nullability.NullPassedToNonnull `_, `Clang Static Analyzer nullability.NullPassedToNonnull `_, + `clang-analyzer-nullability.NullReturnedFromNonnull `_, `Clang Static Analyzer nullability.NullReturnedFromNonnull `_, + `clang-analyzer-nullability.NullableDereferenced `_, `Clang Static Analyzer nullability.NullableDereferenced `_, + `clang-analyzer-nullability.NullablePassedToNonnull `_, `Clang Static Analyzer nullability.NullablePassedToNonnull `_, + `clang-analyzer-optin.cplusplus.UninitializedObject `_, `Clang Static Analyzer optin.cplusplus.UninitializedObject `_, + `clang-analyzer-optin.cplusplus.VirtualCall `_, `Clang Static Analyzer optin.cplusplus.VirtualCall `_, + `clang-analyzer-optin.mpi.MPI-Checker `_, `Clang Static Analyzer optin.mpi.MPI-Checker `_, + `clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker `_, `Clang Static Analyzer optin.osx.cocoa.localizability.EmptyLocalizationContextChecker `_, + `clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker `_, `Clang Static Analyzer optin.osx.cocoa.localizability.NonLocalizedStringChecker `_, + `clang-analyzer-osx.API `_, `Clang Static Analyzer osx.API `_, + `clang-analyzer-osx.SecKeychainAPI `_, `Clang Static Analyzer osx.SecKeychainAPI `_, + `clang-analyzer-osx.cocoa.AtSync `_, `Clang Static Analyzer osx.cocoa.AtSync `_, + `clang-analyzer-osx.cocoa.ClassRelease `_, `Clang Static Analyzer osx.cocoa.ClassRelease `_, + `clang-analyzer-osx.cocoa.Dealloc `_, `Clang Static Analyzer osx.cocoa.Dealloc `_, + `clang-analyzer-osx.cocoa.IncompatibleMethodTypes `_, `Clang Static Analyzer osx.cocoa.IncompatibleMethodTypes `_, + `clang-analyzer-osx.cocoa.NSAutoreleasePool `_, `Clang Static Analyzer osx.cocoa.NSAutoreleasePool `_, + `clang-analyzer-osx.cocoa.NSError `_, `Clang Static Analyzer osx.cocoa.NSError `_, + `clang-analyzer-osx.cocoa.NilArg `_, `Clang Static Analyzer osx.cocoa.NilArg `_, + `clang-analyzer-osx.cocoa.ObjCGenerics `_, `Clang Static Analyzer osx.cocoa.ObjCGenerics `_, + `clang-analyzer-osx.cocoa.RetainCount `_, `Clang Static Analyzer osx.cocoa.RetainCount `_, + `clang-analyzer-osx.cocoa.SelfInit `_, `Clang Static Analyzer osx.cocoa.SelfInit `_, + `clang-analyzer-osx.cocoa.SuperDealloc `_, `Clang Static Analyzer osx.cocoa.SuperDealloc `_, + `clang-analyzer-osx.cocoa.UnusedIvars `_, `Clang Static Analyzer osx.cocoa.UnusedIvars `_, + `clang-analyzer-osx.cocoa.VariadicMethodTypes `_, `Clang Static Analyzer osx.cocoa.VariadicMethodTypes `_, + `clang-analyzer-osx.coreFoundation.CFError `_, `Clang Static Analyzer osx.coreFoundation.CFError `_, + `clang-analyzer-osx.coreFoundation.CFNumber `_, `Clang Static Analyzer osx.coreFoundation.CFNumber `_, + `clang-analyzer-osx.coreFoundation.CFRetainRelease `_, `Clang Static Analyzer osx.coreFoundation.CFRetainRelease `_, + `clang-analyzer-osx.coreFoundation.containers.OutOfBounds `_, `Clang Static Analyzer osx.coreFoundation.containers.OutOfBounds `_, + `clang-analyzer-osx.coreFoundation.containers.PointerSizedValues `_, `Clang Static Analyzer osx.coreFoundation.containers.PointerSizedValues `_, + `clang-analyzer-security.FloatLoopCounter `_, `Clang Static Analyzer security.FloatLoopCounter `_, + `clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling `_, `Clang Static Analyzer security.insecureAPI.DeprecatedOrUnsafeBufferHandling `_, + `clang-analyzer-security.insecureAPI.UncheckedReturn `_, `Clang Static Analyzer security.insecureAPI.UncheckedReturn `_, + `clang-analyzer-security.insecureAPI.bcmp `_, `Clang Static Analyzer security.insecureAPI.bcmp `_, + `clang-analyzer-security.insecureAPI.bcopy `_, `Clang Static Analyzer security.insecureAPI.bcopy `_, + `clang-analyzer-security.insecureAPI.bzero `_, `Clang Static Analyzer security.insecureAPI.bzero `_, + `clang-analyzer-security.insecureAPI.getpw `_, `Clang Static Analyzer security.insecureAPI.getpw `_, + `clang-analyzer-security.insecureAPI.gets `_, `Clang Static Analyzer security.insecureAPI.gets `_, + `clang-analyzer-security.insecureAPI.mkstemp `_, `Clang Static Analyzer security.insecureAPI.mkstemp `_, + `clang-analyzer-security.insecureAPI.mktemp `_, `Clang Static Analyzer security.insecureAPI.mktemp `_, + `clang-analyzer-security.insecureAPI.rand `_, `Clang Static Analyzer security.insecureAPI.rand `_, + `clang-analyzer-security.insecureAPI.strcpy `_, `Clang Static Analyzer security.insecureAPI.strcpy `_, + `clang-analyzer-security.insecureAPI.vfork `_, `Clang Static Analyzer security.insecureAPI.vfork `_, + `clang-analyzer-unix.API `_, `Clang Static Analyzer unix.API `_, + `clang-analyzer-unix.Malloc `_, `Clang Static Analyzer unix.Malloc `_, + `clang-analyzer-unix.MallocSizeof `_, `Clang Static Analyzer unix.MallocSizeof `_, + `clang-analyzer-unix.MismatchedDeallocator `_, `Clang Static Analyzer unix.MismatchedDeallocator `_, + `clang-analyzer-unix.Vfork `_, `Clang Static Analyzer unix.Vfork `_, + `clang-analyzer-unix.cstring.BadSizeArg `_, `Clang Static Analyzer unix.cstring.BadSizeArg `_, + `clang-analyzer-unix.cstring.NullArg `_, `Clang Static Analyzer unix.cstring.NullArg `_, + `cppcoreguidelines-avoid-c-arrays `_, `modernize-avoid-c-arrays `_, + `cppcoreguidelines-avoid-magic-numbers `_, `readability-magic-numbers `_, + `cppcoreguidelines-c-copy-assignment-signature `_, `misc-unconventional-assign-operator `_, + `cppcoreguidelines-explicit-virtual-functions `_, `modernize-use-override `_, "Yes" + `cppcoreguidelines-macro-to-enum `_, `modernize-macro-to-enum `_, "Yes" + `cppcoreguidelines-non-private-member-variables-in-classes `_, `misc-non-private-member-variables-in-classes `_, + `fuchsia-header-anon-namespaces `_, `google-build-namespaces `_, + `google-readability-braces-around-statements `_, `readability-braces-around-statements `_, "Yes" + `google-readability-function-size `_, `readability-function-size `_, + `google-readability-namespace-comments `_, `llvm-namespace-comment `_, + `hicpp-avoid-c-arrays `_, `modernize-avoid-c-arrays `_, + `hicpp-braces-around-statements `_, `readability-braces-around-statements `_, "Yes" + `hicpp-deprecated-headers `_, `modernize-deprecated-headers `_, "Yes" + `hicpp-explicit-conversions `_, `google-explicit-constructor `_, "Yes" + `hicpp-function-size `_, `readability-function-size `_, + `hicpp-invalid-access-moved `_, `bugprone-use-after-move `_, + `hicpp-member-init `_, `cppcoreguidelines-pro-type-member-init `_, "Yes" + `hicpp-move-const-arg `_, `performance-move-const-arg `_, "Yes" + `hicpp-named-parameter `_, `readability-named-parameter `_, "Yes" + `hicpp-new-delete-operators `_, `misc-new-delete-overloads `_, + `hicpp-no-array-decay `_, `cppcoreguidelines-pro-bounds-array-to-pointer-decay `_, + `hicpp-no-malloc `_, `cppcoreguidelines-no-malloc `_, + `hicpp-noexcept-move `_, `performance-noexcept-move-constructor `_, "Yes" + `hicpp-special-member-functions `_, `cppcoreguidelines-special-member-functions `_, + `hicpp-static-assert `_, `misc-static-assert `_, "Yes" + `hicpp-undelegated-constructor `_, `bugprone-undelegated-constructor `_, + `hicpp-uppercase-literal-suffix `_, `readability-uppercase-literal-suffix `_, "Yes" + `hicpp-use-auto `_, `modernize-use-auto `_, "Yes" + `hicpp-use-emplace `_, `modernize-use-emplace `_, "Yes" + `hicpp-use-equals-default `_, `modernize-use-equals-default `_, "Yes" + `hicpp-use-equals-delete `_, `modernize-use-equals-delete `_, "Yes" + `hicpp-use-noexcept `_, `modernize-use-noexcept `_, "Yes" + `hicpp-use-nullptr `_, `modernize-use-nullptr `_, "Yes" + `hicpp-use-override `_, `modernize-use-override `_, "Yes" + `hicpp-vararg `_, `cppcoreguidelines-pro-type-vararg `_, + `llvm-else-after-return `_, `readability-else-after-return `_, "Yes" + `llvm-qualified-auto `_, `readability-qualified-auto `_, "Yes" Index: clang-tools-extra/docs/clang-tidy/checks/llvm/else-after-return.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/llvm/else-after-return.rst +++ clang-tools-extra/docs/clang-tidy/checks/llvm/else-after-return.rst @@ -1,11 +1,11 @@ .. title:: clang-tidy - llvm-else-after-return .. meta:: - :http-equiv=refresh: 5;URL=readability-else-after-return.html + :http-equiv=refresh: 5;URL=../readability/else-after-return.html llvm-else-after-return ====================== The llvm-else-after-return check is an alias, please see -`readability-else-after-return `_ +`readability-else-after-return <../readability/else-after-return.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/llvm/qualified-auto.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/llvm/qualified-auto.rst +++ clang-tools-extra/docs/clang-tidy/checks/llvm/qualified-auto.rst @@ -1,10 +1,10 @@ .. title:: clang-tidy - llvm-qualified-auto .. meta:: - :http-equiv=refresh: 5;URL=readability-qualified-auto.html + :http-equiv=refresh: 5;URL=../readability/qualified-auto.html llvm-qualified-auto =================== The llvm-qualified-auto check is an alias, please see -`readability-qualified-auto `_ +`readability-qualified-auto <../readability/qualified-auto.html>`_ for more information. Index: clang-tools-extra/docs/clang-tidy/checks/llvmlibc/restrict-system-libc-headers.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/llvmlibc/restrict-system-libc-headers.rst +++ clang-tools-extra/docs/clang-tidy/checks/llvmlibc/restrict-system-libc-headers.rst @@ -31,5 +31,5 @@ This can be used to allow known safe includes such as Linux development headers. See :doc:`portability-restrict-system-includes - ` for more + <../portability/restrict-system-includes>` for more details. Index: clang-tools-extra/docs/clang-tidy/checks/modernize/replace-disallow-copy-and-assign-macro.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/modernize/replace-disallow-copy-and-assign-macro.rst +++ clang-tools-extra/docs/clang-tidy/checks/modernize/replace-disallow-copy-and-assign-macro.rst @@ -38,7 +38,7 @@ * Notice that the migration example above leaves the ``private`` access specification untouched. You might want to run the check :doc:`modernize-use-equals-delete - ` to get warnings for deleted functions in + <../modernize/use-equals-delete>` to get warnings for deleted functions in private sections. Options Index: clang-tools-extra/docs/clang-tidy/checks/modernize/use-default.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/modernize/use-default.rst +++ clang-tools-extra/docs/clang-tidy/checks/modernize/use-default.rst @@ -2,10 +2,10 @@ .. title:: clang-tidy - modernize-use-default .. meta:: - :http-equiv=refresh: 5;URL=modernize-use-equals-default.html + :http-equiv=refresh: 5;URL=../modernize/use-equals-default.html modernize-use-default ===================== This check has been renamed to -`modernize-use-equals-default `_. +`modernize-use-equals-default <../modernize/use-equals-default.html>`_. Index: clang-tools-extra/docs/clang-tidy/checks/performance/implicit-cast-in-loop.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/performance/implicit-cast-in-loop.rst +++ clang-tools-extra/docs/clang-tidy/checks/performance/implicit-cast-in-loop.rst @@ -2,11 +2,11 @@ .. title:: clang-tidy - performance-implicit-cast-in-loop .. meta:: - :http-equiv=refresh: 5;URL=performance-implicit-conversion-in-loop.html + :http-equiv=refresh: 5;URL=../performance/implicit-conversion-in-loop.html performance-implicit-cast-in-loop ================================= This check has been renamed to `performance-implicit-conversion-in-loop -`_. +<../performance/implicit-conversion-in-loop.html>`_. Index: clang-tools-extra/docs/clang-tidy/checks/readability/convert-member-functions-to-static.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/readability/convert-member-functions-to-static.rst +++ clang-tools-extra/docs/clang-tidy/checks/readability/convert-member-functions-to-static.rst @@ -10,5 +10,5 @@ might find more opportunities to mark member functions ``static``. After making a member function ``static``, you might want to run the check -`readability-static-accessed-through-instance `_ to replace calls like +`readability-static-accessed-through-instance <../readability/static-accessed-through-instance.html>`_ to replace calls like ``Instance.method()`` by ``Class::method()``. Index: clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-cast.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-cast.rst +++ clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-cast.rst @@ -2,10 +2,10 @@ .. title:: clang-tidy - readability-implicit-bool-cast .. meta:: - :http-equiv=refresh: 5;URL=readability-implicit-bool-conversion.html + :http-equiv=refresh: 5;URL=../readability/implicit-bool-conversion.html readability-implicit-bool-cast ============================== This check has been renamed to `readability-implicit-bool-conversion -`_. +<../readability/implicit-bool-conversion.html>`_. Index: clang-tools-extra/docs/clang-tidy/checks/readability/make-member-function-const.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/readability/make-member-function-const.rst +++ clang-tools-extra/docs/clang-tidy/checks/readability/make-member-function-const.rst @@ -37,7 +37,7 @@ * are templated or part of a class template * have an empty body * do not (implicitly) use ``this`` at all - (see `readability-convert-member-functions-to-static `_). + (see `readability-convert-member-functions-to-static <../readability/convert-member-functions-to-static.html>`_). The following real-world examples will be preserved by the check: