| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ModernizeModuleTest.cpp | 51 return modernize::LiteralSize::Unknown; in sizeText() 56 case modernize::LiteralSize::Int: in toString() 58 case modernize::LiteralSize::UnsignedInt: in toString() 60 case modernize::LiteralSize::Long: in toString() 62 case modernize::LiteralSize::UnsignedLong: in toString() 64 case modernize::LiteralSize::LongLong: in toString() 66 case modernize::LiteralSize::UnsignedLongLong: in toString() 88 modernize::LiteralSize Size; 259 {modernize::LiteralSize::Int, "1"}, 261 {modernize::LiteralSize::Long, "1L"}, [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | HICPPTidyModule.cpp | 51 CheckFactories.registerCheck<modernize::AvoidCArraysCheck>( in addCheckFactories() 57 CheckFactories.registerCheck<modernize::DeprecatedHeadersCheck>( in addCheckFactories() 91 CheckFactories.registerCheck<modernize::UseAutoCheck>("hicpp-use-auto"); in addCheckFactories() 94 CheckFactories.registerCheck<modernize::UseEmplaceCheck>( in addCheckFactories() 96 CheckFactories.registerCheck<modernize::UseEqualsDefaultCheck>( in addCheckFactories() 98 CheckFactories.registerCheck<modernize::UseEqualsDeleteCheck>( in addCheckFactories() 100 CheckFactories.registerCheck<modernize::UseNoexceptCheck>( in addCheckFactories() 102 CheckFactories.registerCheck<modernize::UseNullptrCheck>( in addCheckFactories() 104 CheckFactories.registerCheck<modernize::UseOverrideCheck>( in addCheckFactories()
|
| /llvm-project-15.0.7/mlir/ |
| H A D | .clang-tidy | 22 modernize-use-bool-literals, 23 modernize-loop-convert, 24 modernize-make-unique, 25 modernize-raw-string-literal, 26 modernize-use-equals-default, 27 modernize-use-default-member-init, 28 modernize-use-emplace, 29 modernize-use-nullptr, 30 modernize-use-override, 31 modernize-use-using,
|
| /llvm-project-15.0.7/libcxx/ |
| H A D | .clang-tidy | 16 modernize-loop-convert, 17 modernize-redundant-void-arg, 47 # modernize-use-bool-literals, 48 # modernize-use-default-member-init, 49 # modernize-use-equals-default, 50 # modernize-use-equals-delete, 51 # modernize-use-nullptr, 52 # modernize-use-override,
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/ |
| H A D | .clang-tidy | 1 Checks: '-*,modernize-loop-convert,modernize-use-using' 3 - key: modernize-loop-convert.MaxCopySize 5 - key: modernize-loop-convert.MinConfidence 7 - key: modernize-use-using.IgnoreMacros
|
| /llvm-project-15.0.7/lldb/ |
| H A D | .clang-tidy | 1 Checks: '-readability-identifier-naming,modernize-use-default-member-init,modernize-use-equals-defa… 4 - key: modernize-use-default-member-init.IgnoreMacros 6 - key: modernize-use-default-member-init.UseAssignment
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | use-default.rst | 3 .. title:: clang-tidy - modernize-use-default 5 :http-equiv=refresh: 5;URL=../modernize/use-equals-default.html 7 modernize-use-default 11 `modernize-use-equals-default <../modernize/use-equals-default.html>`_.
|
| H A D | replace-disallow-copy-and-assign-macro.rst | 1 .. title:: clang-tidy - modernize-replace-disallow-copy-and-assign-macro 3 modernize-replace-disallow-copy-and-assign-macro 40 specification untouched. You might want to run the check :doc:`modernize-use-equals-delete 41 <../modernize/use-equals-delete>` to get warnings for deleted functions in
|
| H A D | shrink-to-fit.rst | 1 .. title:: clang-tidy - modernize-shrink-to-fit 3 modernize-shrink-to-fit
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/ |
| H A D | list.rst | 27 modernize/* 259 `modernize-avoid-bind <modernize/avoid-bind.html>`_, "Yes" 260 `modernize-avoid-c-arrays <modernize/avoid-c-arrays.html>`_, 264 `modernize-loop-convert <modernize/loop-convert.html>`_, "Yes" 266 `modernize-make-shared <modernize/make-shared.html>`_, "Yes" 267 `modernize-make-unique <modernize/make-unique.html>`_, "Yes" 277 `modernize-use-auto <modernize/use-auto.html>`_, "Yes" 280 `modernize-use-emplace <modernize/use-emplace.html>`_, "Yes" 284 `modernize-use-noexcept <modernize/use-noexcept.html>`_, "Yes" 285 `modernize-use-nullptr <modernize/use-nullptr.html>`_, "Yes" [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
| H A D | explicit-virtual-functions.rst | 3 :http-equiv=refresh: 5;URL=../modernize/use-override.html 9 `modernize-use-override <../modernize/use-override.html>`_
|
| H A D | macro-to-enum.rst | 3 :http-equiv=refresh: 5;URL=../modernize/macro-to-enum.html 9 :doc:`modernize-macro-to-enum <../modernize/macro-to-enum>` for more information.
|
| H A D | avoid-c-arrays.rst | 3 :http-equiv=refresh: 5;URL=../modernize/avoid-c-arrays.html 9 `modernize-avoid-c-arrays <../modernize/avoid-c-arrays.html>`_
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/ |
| H A D | avoid-c-arrays.rst | 3 :http-equiv=refresh: 5;URL=../modernize/avoid-c-arrays.html 9 `modernize-avoid-c-arrays <../modernize/avoid-c-arrays.html>`_
|
| H A D | use-override.rst | 3 :http-equiv=refresh: 5;URL=../modernize/use-override.html 8 This check is an alias for `modernize-use-override <../modernize/use-override.html>`_.
|
| H A D | use-noexcept.rst | 3 :http-equiv=refresh: 5;URL=../modernize/use-noexcept.html 9 `modernize-use-noexcept <../modernize/use-noexcept.html>`_ for more information.
|
| H A D | deprecated-headers.rst | 3 :http-equiv=refresh: 5;URL=../modernize/deprecated-headers.html 9 `modernize-deprecated-headers <../modernize/deprecated-headers.html>`_
|
| H A D | use-emplace.rst | 3 :http-equiv=refresh: 5;URL=../modernize/use-emplace.html 9 `modernize-use-emplace <../modernize/use-emplace.html>`_ for more information.
|
| H A D | use-nullptr.rst | 3 :http-equiv=refresh: 5;URL=../modernize/use-nullptr.html 9 `modernize-use-nullptr <../modernize/use-nullptr.html>`_ for more information.
|
| H A D | use-equals-default.rst | 3 :http-equiv=refresh: 5;URL=../modernize/use-equals-default.html 8 This check is an alias for `modernize-use-equals-default <../modernize/use-equals-default.html>`_.
|
| H A D | use-auto.rst | 3 :http-equiv=refresh: 5;URL=../modernize/use-auto.html 9 `modernize-use-auto <../modernize/use-auto.html>`_ for more information.
|
| H A D | use-equals-delete.rst | 3 :http-equiv=refresh: 5;URL=../modernize/use-equals-delete.html 8 This check is an alias for `modernize-use-equals-delete <../modernize/use-equals-delete.html>`_.
|
| /llvm-project-15.0.7/clang-tools-extra/docs/ |
| H A D | cpp11-migrate.rst | 3 All :program:`clang-modernize` transforms have moved to :doc:`clang-tidy/index` 4 (see the ``modernize`` module).
|
| H A D | clang-modernize.rst | 3 All :program:`clang-modernize` transforms have moved to :doc:`clang-tidy/index` 4 (see the ``modernize`` module).
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertCheck.cpp | 33 template <> struct OptionEnumMapping<modernize::Confidence::Level> { 34 static llvm::ArrayRef<std::pair<modernize::Confidence::Level, StringRef>> 36 static constexpr std::pair<modernize::Confidence::Level, StringRef> in getEnumMapping() 37 Mapping[] = {{modernize::Confidence::CL_Reasonable, "reasonable"}, in getEnumMapping() 38 {modernize::Confidence::CL_Safe, "safe"}, in getEnumMapping() 39 {modernize::Confidence::CL_Risky, "risky"}}; in getEnumMapping() 46 std::pair<modernize::VariableNamer::NamingStyle, StringRef>> 49 Mapping[] = {{modernize::VariableNamer::NS_CamelCase, "CamelCase"}, in getEnumMapping() 50 {modernize::VariableNamer::NS_CamelBack, "camelBack"}, in getEnumMapping() 51 {modernize::VariableNamer::NS_LowerCase, "lower_case"}, in getEnumMapping() [all …]
|