Home
last modified time | relevance | path

Searched refs:bugprone (Results 1 – 25 of 228) sorted by relevance

12345678910

/llvm-project-15.0.7/mlir/
H A D.clang-tidy3 bugprone-argument-comment,
4 bugprone-assert-side-effect,
5 bugprone-branch-clone,
6 bugprone-copy-constructor-init,
7 bugprone-dangling-handle,
9 bugprone-macro-parentheses,
14 bugprone-suspicious-semicolon,
15 bugprone-swapped-arguments,
16 bugprone-terminating-continue,
17 bugprone-unused-raii,
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DCERTTidyModule.cpp239 CheckFactories.registerCheck<bugprone::SpuriouslyWakeUpFunctionsCheck>( in addCheckFactories()
245 CheckFactories.registerCheck<bugprone::ReservedIdentifierCheck>( in addCheckFactories()
271 CheckFactories.registerCheck<bugprone::UnhandledSelfAssignmentCheck>( in addCheckFactories()
280 CheckFactories.registerCheck<bugprone::SpuriouslyWakeUpFunctionsCheck>( in addCheckFactories()
286 CheckFactories.registerCheck<bugprone::ReservedIdentifierCheck>( in addCheckFactories()
291 CheckFactories.registerCheck<bugprone::UnusedReturnValueCheck>( in addCheckFactories()
295 CheckFactories.registerCheck<bugprone::SuspiciousMemoryComparisonCheck>( in addCheckFactories()
299 CheckFactories.registerCheck<bugprone::SuspiciousMemoryComparisonCheck>( in addCheckFactories()
308 CheckFactories.registerCheck<bugprone::BadSignalToKillThreadCheck>( in addCheckFactories()
314 CheckFactories.registerCheck<bugprone::SignalHandlerCheck>("cert-sig30-c"); in addCheckFactories()
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/
H A Dlist.rst14 bugprone/*
84 `bugprone-branch-clone <bugprone/branch-clone.html>`_,
86 `bugprone-dangling-handle <bugprone/dangling-handle.html>`_,
89 `bugprone-exception-escape <bugprone/exception-escape.html>`_,
90 `bugprone-fold-init-type <bugprone/fold-init-type.html>`_,
96 `bugprone-infinite-loop <bugprone/infinite-loop.html>`_,
106 `bugprone-no-escape <bugprone/no-escape.html>`_,
109 `bugprone-posix-return <bugprone/posix-return.html>`_, "Yes"
113 `bugprone-signal-handler <bugprone/signal-handler.html>`_,
138 `bugprone-unused-raii <bugprone/unused-raii.html>`_, "Yes"
[all …]
/llvm-project-15.0.7/libcxx/
H A D.clang-tidy2 bugprone-copy-constructor-init,
3 bugprone-dangling-handle,
4 bugprone-infinite-loop,
5 bugprone-stringview-nullptr,
6 bugprone-use-after-move,
43 # bugprone-branch-clone,
44 # bugprone-macro-parentheses,
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dno-escape.m1 // RUN: %check_clang_tidy %s bugprone-no-escape %t -- -- -Wno-int-conversion
2 // RUN: %check_clang_tidy %s -assume-filename=bugprone-no-escape.c bugprone-no-escape %t -- -- -fbl…
15 … 'p' with attribute 'noescape' is captured by an asynchronously-executed block [bugprone-no-escape]
21 … 'p' with attribute 'noescape' is captured by an asynchronously-executed block [bugprone-no-escape]
H A Dinfinite-loop.mm1 // RUN: %check_clang_tidy %s bugprone-infinite-loop %t -- -- -fblocks
2 // RUN: %check_clang_tidy %s bugprone-infinite-loop %t -- -- -fblocks -fobjc-arc
24 …infinite; none of its condition variables (i) are updated in the loop body [bugprone-infinite-loop]
34 …infinite; none of its condition variables (i) are updated in the loop body [bugprone-infinite-loop]
43 …infinite; none of its condition variables (i) are updated in the loop body [bugprone-infinite-loop]
H A Dassert-side-effect.m1 // RUN: %check_clang_tidy %s bugprone-assert-side-effect %t
45 …rning: side effect in NSAssert() condition discarded in release builds [bugprone-assert-side-effec…
52 …ning: side effect in NSCAssert() condition discarded in release builds [bugprone-assert-side-effec…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Dexp42-c.rst2 :http-equiv=refresh: 5;URL=../bugprone/suspicious-memory-comparison.html
8 `bugprone-suspicious-memory-comparison <../bugprone/suspicious-memory-comparison.html>`_ for more i…
H A Dflp37-c.rst2 :http-equiv=refresh: 5;URL=../bugprone/suspicious-memory-comparison.html
8 `bugprone-suspicious-memory-comparison <../bugprone/suspicious-memory-comparison.html>`_ for more i…
H A Dsig30-c.rst3 :http-equiv=refresh: 5;URL=../bugprone/signal-handler.html
9 `bugprone-signal-handler <../bugprone/signal-handler.html>`_
H A Ddcl51-cpp.rst3 :http-equiv=refresh: 5;URL=../bugprone/reserved-identifier.html
9 `bugprone-reserved-identifier <../bugprone/reserved-identifier.html>`_ for more
H A Ddcl37-c.rst3 :http-equiv=refresh: 5;URL=../bugprone/reserved-identifier.html
9 `bugprone-reserved-identifier <../bugprone/reserved-identifier.html>`_ for more
H A Doop54-cpp.rst3 :http-equiv=refresh: 5;URL=../bugprone/unhandled-self-assignment.html
9 `bugprone-unhandled-self-assignment <../bugprone/unhandled-self-assignment.html>`_
H A Dstr34-c.rst3 :http-equiv=refresh: 5;URL=../bugprone/signed-char-misuse.html
9 `bugprone-signed-char-misuse <../bugprone/signed-char-misuse.html>`_
H A Dcon54-cpp.rst3 :http-equiv=refresh: 5;URL=../bugprone/spuriously-wake-up-functions.html
9 `bugprone-spuriously-wake-up-functions <../bugprone/spuriously-wake-up-functions.html>`_
H A Dcon36-c.rst3 :http-equiv=refresh: 5;URL=../bugprone/spuriously-wake-up-functions.html
9 `bugprone-spuriously-wake-up-functions <../bugprone/spuriously-wake-up-functions.html>`_
H A Dpos44-c.rst3 :http-equiv=refresh: 5;URL=../bugprone/bad-signal-to-kill-thread.html
9 `bugprone-bad-signal-to-kill-thread <../bugprone/bad-signal-to-kill-thread.html>`_ for more informa…
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSignalHandlerCheck.cpp226 bugprone::SignalHandlerCheck::AsyncSafeFunctionSetKind> {
228 bugprone::SignalHandlerCheck::AsyncSafeFunctionSetKind, StringRef>>
231 bugprone::SignalHandlerCheck::AsyncSafeFunctionSetKind, StringRef> in getEnumMapping()
233 {bugprone::SignalHandlerCheck::AsyncSafeFunctionSetKind::Minimal, in getEnumMapping()
235 {bugprone::SignalHandlerCheck::AsyncSafeFunctionSetKind::POSIX, in getEnumMapping()
242 namespace bugprone { namespace
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dnarrowing-conversions.rst1 .. title:: clang-tidy - bugprone-narrowing-conversions
5 bugprone-narrowing-conversions
8 The bugprone-narrowing-conversions check is an alias, please see
H A Dshared-ptr-array-mismatch.rst1 .. title:: clang-tidy - bugprone-shared-ptr-array-mismatch
3 bugprone-shared-ptr-array-mismatch
22 …// ^ warning: shared pointer to non-array is initialized with array [bugprone-…
24 … ^ warning: shared pointer to non-array is initialized with array [bugprone-shared-ptr-array-…
30 … ^ warning: shared pointer to non-array is initialized with array [bugprone-shared-ptr-array-…
H A Dparent-virtual-call.rst1 .. title:: clang-tidy - bugprone-parent-virtual-call
3 bugprone-parent-virtual-call
22 …e A::foo refers to a member overridden in subclass; did you mean 'B'? [bugprone-parent-virtual-ca…
H A Dswapped-arguments.rst1 .. title:: clang-tidy - bugprone-swapped-arguments
3 bugprone-swapped-arguments
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dinvalid-access-moved.rst3 :http-equiv=refresh: 5;URL=../bugprone/use-after-move.html
8 This check is an alias for `bugprone-use-after-move <../bugprone/use-after-move.html>`_.
H A Dundelegated-constructor.rst3 :http-equiv=refresh: 5;URL=../bugprone/undelegated-constructor.html
8 This check is an alias for `bugprone-undelegated-constructor <../bugprone/undelegated-constructor.h…
/llvm-project-15.0.7/clang-tools-extra/docs/
H A DReleaseNotes.rst147 - New :doc:`bugprone-shared-ptr-array-mismatch <clang-tidy/checks/bugprone/shared-ptr-array-mismatc…
151 - New :doc:`bugprone-unchecked-optional-access
152 <clang-tidy/checks/bugprone/unchecked-optional-access>` check.
161 - New :doc:`bugprone-assignment-in-if-condition
162 <clang-tidy/checks/bugprone/assignment-in-if-condition>` check.
197 - Fixed a false positive in :doc:`bugprone-branch-clone
198 <clang-tidy/checks/bugprone/branch-clone>` when the branches
201 - Fixed some false positives in :doc:`bugprone-infinite-loop
204 - Fixed a crash in :doc:`bugprone-sizeof-expression
208 - Fixed bugs in :doc:`bugprone-use-after-move
[all …]

12345678910