Home
last modified time | relevance | path

Searched refs:modernize (Results 1 – 25 of 144) sorted by relevance

123456

/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DModernizeModuleTest.cpp51 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 DHICPPTidyModule.cpp51 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-tidy22 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-tidy16 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-tidy1 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-tidy1 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 Duse-default.rst3 .. 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 Dreplace-disallow-copy-and-assign-macro.rst1 .. 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 Dshrink-to-fit.rst1 .. 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 Dlist.rst27 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 Dexplicit-virtual-functions.rst3 :http-equiv=refresh: 5;URL=../modernize/use-override.html
9 `modernize-use-override <../modernize/use-override.html>`_
H A Dmacro-to-enum.rst3 :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 Davoid-c-arrays.rst3 :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 Davoid-c-arrays.rst3 :http-equiv=refresh: 5;URL=../modernize/avoid-c-arrays.html
9 `modernize-avoid-c-arrays <../modernize/avoid-c-arrays.html>`_
H A Duse-override.rst3 :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 Duse-noexcept.rst3 :http-equiv=refresh: 5;URL=../modernize/use-noexcept.html
9 `modernize-use-noexcept <../modernize/use-noexcept.html>`_ for more information.
H A Ddeprecated-headers.rst3 :http-equiv=refresh: 5;URL=../modernize/deprecated-headers.html
9 `modernize-deprecated-headers <../modernize/deprecated-headers.html>`_
H A Duse-emplace.rst3 :http-equiv=refresh: 5;URL=../modernize/use-emplace.html
9 `modernize-use-emplace <../modernize/use-emplace.html>`_ for more information.
H A Duse-nullptr.rst3 :http-equiv=refresh: 5;URL=../modernize/use-nullptr.html
9 `modernize-use-nullptr <../modernize/use-nullptr.html>`_ for more information.
H A Duse-equals-default.rst3 :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 Duse-auto.rst3 :http-equiv=refresh: 5;URL=../modernize/use-auto.html
9 `modernize-use-auto <../modernize/use-auto.html>`_ for more information.
H A Duse-equals-delete.rst3 :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 Dcpp11-migrate.rst3 All :program:`clang-modernize` transforms have moved to :doc:`clang-tidy/index`
4 (see the ``modernize`` module).
H A Dclang-modernize.rst3 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 DLoopConvertCheck.cpp33 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 …]

123456