[all-commits] [llvm/llvm-project] e1c729: [clang-tidy][NFC] Update tests and Default options...

Nathan James via All-commits all-commits at lists.llvm.org
Tue May 4 10:18:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1c729c56829d3b9502b9ac2439003f87231db50
      https://github.com/llvm/llvm-project/commit/e1c729c56829d3b9502b9ac2439003f87231db50
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
    M clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-ignore-single-argument.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-literals.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-strict.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-assert-side-effect.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-array-subscript-expression.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-int.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-pointer-offset.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-widening-cast-explicit-only.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-widening-cast-implicit-enabled.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-not-null-terminated-result-memcpy-before-safe.c
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-reserved-identifier-invert.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-sizeof-expression.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-enum-usage-strict.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-enum-usage.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-string-compare.c
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-string-compare.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-self-assignment-warn-only-if-this-has-suspicious-field.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage-caps-only.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage-command-line-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions-pedanticmode-option.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init-assignment.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-member-init-use-assignment.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-special-member-functions-allow-missing-move-when-copy-is-deleted.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-special-member-functions-relaxed.cpp
    M clang-tools-extra/test/clang-tidy/checkers/hicpp-multiway-paths-covered-else.cpp
    M clang-tools-extra/test/clang-tidy/checkers/hicpp-signed-bitwise-integer-literals.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc-non-private-member-variables-in-classes.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc-unused-parameters-strict.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-avoid-bind-permissive-parameter-list.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-make-unique-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-raw-string-literal-delimiter.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-raw-string-literal.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-cast-remove-stars.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-min-type-name-length.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-new-remove-stars.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-bool-literals-ignore-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-bool-literals.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init-assignment.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-emplace-ignore-implicit-constructors.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-default-copy.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-default-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-delete-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-noexcept-opt.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-override-allow-override-and-final.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-override-no-destructors.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize-use-using-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance-for-range-copy-warn-on-all-auto-copies.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance-inefficient-vector-operation.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance-move-const-arg-trivially-copyable.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance-move-constructor-init.cpp
    M clang-tools-extra/test/clang-tidy/checkers/portability-simd-intrinsics-ppc.cpp
    M clang-tools-extra/test/clang-tidy/checkers/portability-simd-intrinsics-x86.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-no-warn.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-main-like.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-implicit-bool-conversion-allow-in-conditions.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-inconsistent-declaration-parameter-name-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-inconsistent-declaration-parameter-name-strict.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-redundant-access-specifiers-check-first-declaration.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-redundant-declaration-ignore-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-redundant-declaration.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-redundant-member-init.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-redundant-smartptr-get-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-chained-conditional-assignment.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-chained-conditional-return.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-uppercase-literal-suffix-integer-macro.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/.clang-tidy
    M clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/44/.clang-tidy
    M clang-tools-extra/test/clang-tidy/infrastructure/duplicate-conflicted-fixes-of-alias-checkers.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] Update tests and Default options to use boolean value

Change instances where options which are boolean are assigned the value 1|0 to use true|false instead.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101721




More information about the All-commits mailing list