llvm-project/clang-tools-extra/test/clang-tidy/checkers
Marcin Twardak 4736d63f75 Fix llvm-namespace-comment for macro expansions
If a namespace is a macro name, it should be allowed to close the
namespace with the same name.
2019-11-23 13:08:14 -05:00
..
Inputs
abseil-duration-addition.cpp
abseil-duration-comparison.cpp
abseil-duration-conversion-cast.cpp
abseil-duration-division.cpp
abseil-duration-factory-float.cpp
abseil-duration-factory-scale.cpp
abseil-duration-subtraction.cpp
abseil-duration-unnecessary-conversion.cpp
abseil-faster-strsplit-delimiter.cpp
abseil-no-internal-dependencies.cpp
abseil-no-namespace.cpp
abseil-redundant-strcat-calls.cpp
abseil-str-cat-append.cpp
abseil-string-find-startswith.cpp
abseil-time-comparison.cpp
abseil-time-subtraction.cpp
abseil-upgrade-duration-conversions.cpp
android-cloexec-accept.cpp
android-cloexec-accept4.cpp
android-cloexec-creat.cpp
android-cloexec-dup.cpp
android-cloexec-epoll-create.cpp
android-cloexec-epoll-create1.cpp
android-cloexec-fopen.cpp
android-cloexec-inotify-init.cpp
android-cloexec-inotify-init1.cpp
android-cloexec-memfd-create.cpp
android-cloexec-open.cpp
android-cloexec-pipe.cpp
android-cloexec-pipe2.cpp
android-cloexec-socket.cpp
android-comparison-in-temp-failure-retry.c
boost-use-to-string.cpp
bugprone-argument-comment-gmock.cpp
bugprone-argument-comment-ignore-single-argument.cpp
bugprone-argument-comment-literals.cpp
bugprone-argument-comment-strict.cpp
bugprone-argument-comment.cpp
bugprone-assert-side-effect.cpp
bugprone-bool-pointer-implicit-conversion.cpp
bugprone-branch-clone-macro-crash.c
bugprone-branch-clone.cpp
bugprone-copy-constructor-init.cpp
bugprone-dangling-handle.cpp
bugprone-dynamic-static-initializers.hpp
bugprone-exception-escape-openmp.cpp
bugprone-exception-escape.cpp
bugprone-fold-init-type.cpp
bugprone-forward-declaration-namespace.cpp
bugprone-forwarding-reference-overload.cpp
bugprone-inaccurate-erase.cpp
bugprone-incorrect-roundings.cpp
bugprone-infinite-loop.cpp
bugprone-integer-division.cpp
bugprone-lambda-function-name.cpp
bugprone-macro-parentheses-cmdline.cpp
bugprone-macro-parentheses.cpp
bugprone-macro-repeated-side-effects.c
bugprone-misplaced-operator-in-strlen-in-alloc.c
bugprone-misplaced-operator-in-strlen-in-alloc.cpp
bugprone-misplaced-widening-cast-explicit-only.cpp
bugprone-misplaced-widening-cast-implicit-enabled.cpp
bugprone-move-forwarding-reference.cpp
bugprone-multiple-statement-macro.cpp
bugprone-parent-virtual-call.cpp
bugprone-posix-return.cpp
bugprone-sizeof-container.cpp
bugprone-sizeof-expression.cpp
bugprone-string-constructor.cpp
bugprone-string-integer-assignment.cpp Revert "Reapply "Fix crash on switch conditions of non-integer types in templates"" 2019-11-08 14:18:15 -08:00
bugprone-string-literal-with-embedded-nul.cpp
bugprone-suspicious-enum-usage-strict.cpp
bugprone-suspicious-enum-usage.cpp
bugprone-suspicious-memset-usage.cpp
bugprone-suspicious-missing-comma.cpp
bugprone-suspicious-semicolon-fail.cpp
bugprone-suspicious-semicolon.cpp
bugprone-suspicious-string-compare.c
bugprone-suspicious-string-compare.cpp
bugprone-swapped-arguments.cpp
bugprone-terminating-continue.cpp
bugprone-throw-keyword-missing.cpp
bugprone-too-small-loop-variable-magniute-bits-upper-limit.cpp
bugprone-too-small-loop-variable.cpp
bugprone-undefined-memory-manipulation.cpp
bugprone-undelegated-constructor-cxx98.cpp
bugprone-undelegated-constructor.cpp
bugprone-unhandled-self-assignment-warn-only-if-this-has-suspicious-field.cpp
bugprone-unhandled-self-assignment.cpp
bugprone-unused-raii.cpp
bugprone-unused-return-value-custom.cpp
bugprone-unused-return-value.cpp
bugprone-use-after-move.cpp
bugprone-virtual-near-miss.cpp
cert-dcl21-cpp.cpp
cert-dcl58-cpp.cpp
cert-env33-c.c
cert-err34-c.c
cert-err34-c.cpp
cert-flp30-c.c
cert-limited-randomness.c
cert-limited-randomness.cpp
cert-mem57-cpp-cpp17.cpp [clang-tidy] DefaultOperatorNewCheck test fixes. 2019-11-19 15:24:22 +01:00
cert-mem57-cpp.cpp [clang-tidy] DefaultOperatorNewCheck test fixes. 2019-11-19 15:24:22 +01:00
cert-msc32-c.c
cert-msc51-cpp.cpp
cert-oop11-cpp.cpp
cert-oop54-cpp.cpp
cert-setlongjmp.cpp
cert-static-object-exception.cpp
cert-throw-exception-type.cpp
cert-uppercase-literal-suffix-integer.cpp
cert-variadic-function-def.cpp
cppcoreguidelines-avoid-goto.cpp
cppcoreguidelines-init-variables.cpp
cppcoreguidelines-interfaces-global-init.cpp
cppcoreguidelines-macro-usage-caps-only.cpp
cppcoreguidelines-macro-usage-command-line-macros.cpp
cppcoreguidelines-macro-usage-custom.cpp
cppcoreguidelines-macro-usage.cpp
cppcoreguidelines-narrowing-conversions-long-is-32bits.cpp
cppcoreguidelines-narrowing-conversions-narrowingfloatingpoint-option.cpp
cppcoreguidelines-narrowing-conversions-pedanticmode-option.cpp
cppcoreguidelines-narrowing-conversions-unsigned-char.cpp
cppcoreguidelines-narrowing-conversions.cpp
cppcoreguidelines-no-malloc-custom.cpp
cppcoreguidelines-no-malloc-no-functions.cpp
cppcoreguidelines-no-malloc.cpp
cppcoreguidelines-owning-memory-containers.cpp
cppcoreguidelines-owning-memory-legacy-functions.cpp
cppcoreguidelines-owning-memory.cpp
cppcoreguidelines-pro-bounds-array-to-pointer-decay.cpp
cppcoreguidelines-pro-bounds-constant-array-index-c++03.cpp
cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp
cppcoreguidelines-pro-bounds-constant-array-index.cpp
cppcoreguidelines-pro-bounds-pointer-arithmetic-pr36489.cpp
cppcoreguidelines-pro-bounds-pointer-arithmetic.cpp
cppcoreguidelines-pro-type-const-cast.cpp
cppcoreguidelines-pro-type-cstyle-cast.cpp
cppcoreguidelines-pro-type-member-init-cxx2a.cpp
cppcoreguidelines-pro-type-member-init-cxx98.cpp
cppcoreguidelines-pro-type-member-init-delayed.cpp
cppcoreguidelines-pro-type-member-init-no-crash.cpp
cppcoreguidelines-pro-type-member-init-use-assignment.cpp
cppcoreguidelines-pro-type-member-init.cpp
cppcoreguidelines-pro-type-reinterpret-cast.cpp
cppcoreguidelines-pro-type-static-cast-downcast.cpp
cppcoreguidelines-pro-type-union-access.cpp
cppcoreguidelines-pro-type-vararg.cpp
cppcoreguidelines-slicing.cpp
cppcoreguidelines-special-member-functions-cxx-03.cpp
cppcoreguidelines-special-member-functions-relaxed.cpp
cppcoreguidelines-special-member-functions.cpp
darwin-avoid-spinlock.m
darwin-dispatch-once-nonstatic.mm
fuchsia-default-arguments-calls.cpp
fuchsia-default-arguments-declarations.cpp
fuchsia-multiple-inheritance.cpp
fuchsia-overloaded-operator.cpp
fuchsia-restrict-system-includes-all.cpp
fuchsia-restrict-system-includes-glob.cpp
fuchsia-restrict-system-includes-headers.cpp
fuchsia-restrict-system-includes.cpp
fuchsia-statically-constructed-objects.cpp
fuchsia-trailing-return.cpp
fuchsia-virtual-inheritance.cpp
google-build-explicit-make-pair.cpp
google-default-arguments.cpp
google-explicit-constructor.cpp
google-module.cpp
google-namespaces.cpp
google-objc-avoid-nsobject-new.m
google-objc-avoid-throwing-exception.m
google-objc-function-naming.m
google-objc-function-naming.mm
google-objc-global-variable-declaration.m
google-objc-global-variable-declaration.mm
google-overloaded-unary-and.cpp
google-readability-casting.c
google-readability-casting.cpp
google-readability-casting.mm
google-readability-namespace-comments.cpp Fix llvm-namespace-comment for macro expansions 2019-11-23 13:08:14 -05:00
google-readability-nested-namespace-comments.cpp
google-readability-todo.cpp
google-runtime-int-std.cpp
google-runtime-int.c
google-runtime-int.cpp
google-runtime-int.m
google-runtime-references.cpp
google-upgrade-googletest-case.cpp
hicpp-exception-baseclass.cpp
hicpp-multiway-paths-covered-else.cpp
hicpp-multiway-paths-covered.cpp
hicpp-no-assembler-msvc.cpp
hicpp-no-assembler.cpp
hicpp-signed-bitwise-bug34747.cpp
hicpp-signed-bitwise-integer-literals.cpp Add a test file that was missed in 4de6b15868 2019-10-30 16:55:43 -04:00
hicpp-signed-bitwise-standard-types.cpp
hicpp-signed-bitwise-standard-types.h
hicpp-signed-bitwise.cpp
linuxkernel-must-check-errs.c
llvm-include-order.cpp
llvm-namespace-comment.cpp Fix llvm-namespace-comment for macro expansions 2019-11-23 13:08:14 -05:00
llvm-prefer-isa-or-dyn-cast-in-conditionals.cpp
llvm-prefer-register-over-unsigned.cpp
llvm-prefer-register-over-unsigned2.cpp
llvm-prefer-register-over-unsigned3.cpp
llvm-twine-local.cpp
misc-definitions-in-headers-1z.hpp
misc-definitions-in-headers.hpp
misc-misplaced-const-cxx17.cpp
misc-misplaced-const.c
misc-misplaced-const.cpp
misc-new-delete-overloads-sized-dealloc.cpp
misc-new-delete-overloads.cpp
misc-non-copyable-objects.c
misc-non-copyable-objects.cpp
misc-non-private-member-variables-in-classes.cpp
misc-redundant-expression.cpp Fix a false positive in misc-redundant-expression check 2019-10-30 13:38:25 -04:00
misc-static-assert.c
misc-static-assert.cpp
misc-throw-by-value-catch-by-reference.cpp
misc-unconventional-assign-operator-cxx17.cpp
misc-unconventional-assign-operator.cpp
misc-uniqueptr-reset-release.cpp
misc-unused-alias-decls.cpp
misc-unused-parameters-strict.cpp
misc-unused-parameters.c
misc-unused-parameters.cpp Revert "Reapply "Fix crash on switch conditions of non-integer types in templates"" 2019-11-08 14:18:15 -08:00
misc-unused-using-decls-errors.cpp
misc-unused-using-decls.cpp
modernize-avoid-bind.cpp
modernize-avoid-c-arrays-ignores-main.cpp
modernize-avoid-c-arrays-ignores-three-arg-main.cpp
modernize-avoid-c-arrays.cpp
modernize-concat-nested-namespaces.cpp
modernize-deprecated-headers-cxx03.cpp
modernize-deprecated-headers-cxx11.cpp
modernize-deprecated-ios-base-aliases.cpp
modernize-loop-convert-assert-failure.cpp
modernize-loop-convert-basic.cpp
modernize-loop-convert-camelback.cpp
modernize-loop-convert-const.cpp
modernize-loop-convert-extra.cpp
modernize-loop-convert-lowercase.cpp
modernize-loop-convert-negative.cpp
modernize-loop-convert-uppercase.cpp
modernize-loop-convert.c
modernize-make-shared-header.cpp
modernize-make-shared.cpp
modernize-make-unique-cxx11.cpp
modernize-make-unique-header.cpp
modernize-make-unique-inaccessible-ctors.cpp
modernize-make-unique-macros.cpp
modernize-make-unique.cpp
modernize-pass-by-value-header.cpp
modernize-pass-by-value-macro-header.cpp
modernize-pass-by-value-multi-fixes.cpp
modernize-pass-by-value.cpp
modernize-raw-string-literal-delimiter.cpp
modernize-raw-string-literal-replace-shorter.cpp
modernize-raw-string-literal.cpp
modernize-redundant-void-arg-delayed.cpp
modernize-redundant-void-arg.c
modernize-redundant-void-arg.cpp
modernize-replace-auto-ptr.cpp
modernize-replace-random-shuffle.cpp
modernize-return-braced-init-list.cpp
modernize-shrink-to-fit.cpp
modernize-unary-static-assert.cpp
modernize-use-auto-cast-remove-stars.cpp
modernize-use-auto-cast.cpp
modernize-use-auto-iterator.cpp
modernize-use-auto-min-type-name-length.cpp
modernize-use-auto-new-remove-stars.cpp
modernize-use-auto-new.cpp
modernize-use-bool-literals-ignore-macros.cpp
modernize-use-bool-literals.cpp
modernize-use-default-member-init-assignment.cpp
modernize-use-default-member-init-bitfield.cpp
modernize-use-default-member-init-macros.cpp
modernize-use-default-member-init.cpp
modernize-use-emplace-ignore-implicit-constructors.cpp
modernize-use-emplace.cpp
modernize-use-equals-default-copy.cpp [clang-tidy] modernize-use-equals-default avoid adding redundant semicolons 2019-11-20 18:08:37 -05:00
modernize-use-equals-default-delayed.cpp
modernize-use-equals-default-macros.cpp
modernize-use-equals-default.cpp [clang-tidy] modernize-use-equals-default avoid adding redundant semicolons 2019-11-20 18:08:37 -05:00
modernize-use-equals-delete-macros.cpp
modernize-use-equals-delete.cpp
modernize-use-nodiscard-clang-unused.cpp
modernize-use-nodiscard-cxx11.cpp
modernize-use-nodiscard-gcc-unused.cpp
modernize-use-nodiscard-no-macro-inscope-cxx11.cpp
modernize-use-nodiscard-no-macro.cpp
modernize-use-nodiscard.cpp Fix modernize-use-nodiscard for classes marked [[nodiscard]] 2019-10-30 13:45:37 -04:00
modernize-use-noexcept-macro.cpp
modernize-use-noexcept-opt.cpp
modernize-use-noexcept.cpp
modernize-use-nullptr-basic.cpp
modernize-use-nullptr.c
modernize-use-nullptr.cpp
modernize-use-override-allow-override-and-final.cpp [clang-tidy] modernize-use-override new option AllowOverrideAndFinal 2019-11-19 07:52:32 -05:00
modernize-use-override-cxx98.cpp
modernize-use-override-ms.cpp
modernize-use-override-no-destructors.cpp
modernize-use-override-with-macro.cpp
modernize-use-override-with-no-macro-inscope.cpp
modernize-use-override.cpp
modernize-use-trailing-return-type.cpp
modernize-use-transparent-functors.cpp
modernize-use-uncaught-exceptions.cpp
modernize-use-using-macros.cpp
modernize-use-using.cpp [clang-tidy] modernize-use-using work with multi-argument templates 2019-11-15 16:09:10 -05:00
mpi-buffer-deref.cpp
mpi-type-mismatch.cpp
objc-avoid-nserror-init.m
objc-forbidden-subclassing-custom.m
objc-forbidden-subclassing.m
objc-missing-hash.m
objc-property-declaration.m
objc-super-self.m
openmp-exception-escape.cpp
openmp-use-default-none.cpp
performance-faster-string-find.cpp
performance-for-range-copy-allowed-types.cpp
performance-for-range-copy-warn-on-all-auto-copies.cpp
performance-for-range-copy.cpp
performance-implicit-conversion-in-loop.cpp
performance-inefficient-algorithm.cpp
performance-inefficient-string-concatenation.cpp
performance-inefficient-vector-operation.cpp
performance-move-const-arg-trivially-copyable.cpp
performance-move-const-arg.cpp
performance-move-constructor-init.cpp
performance-no-automatic-move.cpp [clang-tidy] new performance-no-automatic-move check. 2019-11-22 08:47:55 +01:00
performance-noexcept-move-constructor-fix.cpp
performance-noexcept-move-constructor.cpp
performance-trivially-destructible.cpp [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
performance-type-promotion-in-math-fn.cpp
performance-unnecessary-copy-initialization-allowed-types.cpp
performance-unnecessary-copy-initialization.cpp
performance-unnecessary-value-param-allowed-types.cpp
performance-unnecessary-value-param-arc.m
performance-unnecessary-value-param-arc.mm
performance-unnecessary-value-param-delayed.cpp
performance-unnecessary-value-param-header.cpp
performance-unnecessary-value-param-incomplete-type.cpp
performance-unnecessary-value-param.cpp
portability-simd-intrinsics-ppc.cpp
portability-simd-intrinsics-x86.cpp
readability-avoid-const-params-in-decls.cpp
readability-avoid-underscore-in-googletest-name.cpp
readability-braces-around-statements-assert-failure.cpp
readability-braces-around-statements-few-lines.cpp
readability-braces-around-statements-format.cpp
readability-braces-around-statements-same-line.cpp
readability-braces-around-statements-single-line.cpp
readability-braces-around-statements.cpp
readability-const-return-type.cpp
readability-container-size-empty.cpp
readability-convert-member-functions-to-static.cpp
readability-delete-null-pointer.cpp
readability-deleted-default.cpp
readability-else-after-return-if-constexpr.cpp
readability-else-after-return.cpp
readability-function-size-variables-c++17.cpp
readability-function-size.cpp
readability-identifier-naming-bugfix-name-conflicts.cpp Add a test file that was missed in e477988309 2019-10-30 16:52:19 -04:00
readability-identifier-naming-bugfix.cpp
readability-identifier-naming-objc.m
readability-identifier-naming.cpp
readability-implicit-bool-conversion-allow-in-conditions.cpp
readability-implicit-bool-conversion-cxx98.cpp
readability-implicit-bool-conversion.cpp
readability-inconsistent-declaration-parameter-name-macros.cpp
readability-inconsistent-declaration-parameter-name-strict.cpp
readability-inconsistent-declaration-parameter-name.cpp
readability-isolate-declaration-cxx17.cpp
readability-isolate-declaration-fixing.cpp
readability-isolate-declaration-no-infinite-loop.cpp
readability-isolate-declaration.c
readability-isolate-declaration.cpp
readability-magic-numbers.cpp
readability-misleading-indentation.cpp
readability-misplaced-array-index.cpp
readability-named-parameter.cpp
readability-non-const-parameter.cpp
readability-redundant-control-flow.cpp
readability-redundant-declaration-ignore-macros.cpp
readability-redundant-declaration.c
readability-redundant-declaration.cpp
readability-redundant-function-ptr-dereference.cpp
readability-redundant-member-init.cpp [clang-tidy] Give readability-redundant-member-init an option IgnoreBaseInCopyConstructors to avoid breaking code with gcc -Werror=extra 2019-11-19 10:59:21 -05:00
readability-redundant-preprocessor-ifdef.cpp
readability-redundant-preprocessor.cpp
readability-redundant-preprocessor.h
readability-redundant-smartptr-get-macros.cpp
readability-redundant-smartptr-get-msvc.cpp
readability-redundant-smartptr-get.cpp
readability-redundant-string-cstr-msvc.cpp
readability-redundant-string-cstr.cpp
readability-redundant-string-init-msvc.cpp [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a 2019-11-19 07:52:31 -05:00
readability-redundant-string-init.cpp [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a 2019-11-19 07:52:31 -05:00
readability-simplify-bool-expr-chained-conditional-assignment.cpp
readability-simplify-bool-expr-chained-conditional-return.cpp
readability-simplify-bool-expr-members.cpp
readability-simplify-bool-expr.cpp
readability-simplify-subscript-expr.cpp
readability-static-accessed-through-instance-nesting-threshold.cpp
readability-static-accessed-through-instance.cpp
readability-static-definition-in-anonymous-namespace.cpp
readability-string-compare.cpp
readability-uniqueptr-delete-release.cpp
readability-uppercase-literal-suffix-float16.cpp
readability-uppercase-literal-suffix-floating-point-opencl-half.cpp
readability-uppercase-literal-suffix-floating-point.cpp
readability-uppercase-literal-suffix-hexadecimal-floating-point.cpp
readability-uppercase-literal-suffix-integer-custom-list.cpp
readability-uppercase-literal-suffix-integer-macro.cpp
readability-uppercase-literal-suffix-integer-ms.cpp
readability-uppercase-literal-suffix-integer.cpp
readability-uppercase-literal-suffix.h
zircon-temporary-objects.cpp