GitHub / llvm/llvm-project issues and pull requests
Labelled with: clang-tidy
#162067 - [clang-tidy] [misc-const-correctness] fix fake positive when pointer is returned as non const
Pull Request -
State: closed - Opened by Changqing-JING 2 months ago
- 2 comments
Labels: clang, clang-tools-extra, clang-tidy, clang:analysis
#161938 - [clang-tidy] Clang-tidy check 'clang-analyzer-unix-Malloc' was not found
Issue -
State: closed - Opened by dabrahams 2 months ago
- 3 comments
Labels: duplicate, clang-tidy
#161064 - [clang-tidy] Fix typoed option name in `bugprone-signed-char-misuse`
Pull Request -
State: closed - Opened by localspook 2 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#161023 - [clang-tidy] Portability Avoid Unprototyped Functions Check
Pull Request -
State: open - Opened by isuckatcs 2 months ago
Labels: clang-tidy
#160940 - [clang-tidy][docs] Mention in docs that we currently do not accept checks for MISRA/AUTOSAR due to legal/license reasons
Issue -
State: open - Opened by vbvictor 2 months ago
Labels: documentation, clang-tidy
#160745 - [clang-tidy] Avoid recommending links to non-free coding guidelines
Pull Request -
State: closed - Opened by jjmarr-amd 2 months ago
- 6 comments
Labels: clang-tools-extra, clang-tidy
#160725 - Don't look into base class aliases in bugprone-throw-keyword-missing
Pull Request -
State: closed - Opened by aaronpuchert 2 months ago
- 2 comments
Labels: clang-tools-extra, clang-tidy
#160033 - [clang-tidy] `readability-else-after-return` not detected in `case` blocks
Issue -
State: open - Opened by firewave 3 months ago
Labels: clang-tidy, false-negative
#160023 - [clang-tidy] Fix `modernize-use-nullptr` crash on 32-bit Windows
Pull Request -
State: closed - Opened by localspook 3 months ago
- 14 comments
Labels: clang-tools-extra, clang-tidy
#159927 - [clang-tidy][NFC] add comment in llvm-use-ranges for add_new_check.py
Pull Request -
State: closed - Opened by HerrCai0907 3 months ago
- 2 comments
Labels: clang-tools-extra, clang-tidy
#159919 - [clang-tidy][NFC] fix cmake issue
Pull Request -
State: closed - Opened by HerrCai0907 3 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#159392 - [clang-tidy] improve robustness of the member initializer detection in modernize-use-default-member-init
Pull Request -
State: closed - Opened by HerrCai0907 3 months ago
- 3 comments
Labels: clang-tools-extra, clang-tidy
#158747 - Bugprone-default-lambda-capture
Pull Request -
State: closed - Opened by jjmarr-amd 3 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#158621 - [Clang-Tidy] Add discussion to portability-avoid-pragma-once
Issue -
State: open - Opened by SunBlack 3 months ago
Labels: documentation, clang-tidy
#158480 - [clang-tidy][NFC] Fix a couple of suspicious StringRef::data() usages
Pull Request -
State: closed - Opened by capitan-davide 3 months ago
- 4 comments
Labels: clang-tools-extra, clang-tidy
#158282 - [clang-tidy] Fixed typo for bugprone-easily-swappable-parameters clang-tidy check
Pull Request -
State: closed - Opened by 0hDEADBEAF 3 months ago
- 6 comments
Labels: clang-tools-extra, clang-tidy
#158196 - [clang-tidy] Enable `modernize-return-braced-init-list`'s tests in C++11
Pull Request -
State: closed - Opened by localspook 3 months ago
- 12 comments
Labels: clang-tools-extra, clang-tidy
#158186 - [clang-tidy][NFC] Enable `performance-type-promotion-in-math-fn` check in the codebase
Pull Request -
State: closed - Opened by localspook 3 months ago
- 2 comments
Labels: clang-tools-extra, clang-tidy
#158166 - [clang-tidy][NFC] Construct map at compile time
Pull Request -
State: closed - Opened by localspook 3 months ago
- 2 comments
Labels: clang-tools-extra, clang-tidy
#157737 - [clang-tidy] Rename 'cert-dcl50-cpp' to 'modernize-avoid-variadic-functions'
Pull Request -
State: closed - Opened by vbvictor 3 months ago
- 3 comments
Labels: clang-tools-extra, clang-tidy
#157734 - false positive cppcoreguidelines-prefer-member-initializer warning, applying tweak produces broken code
Issue -
State: closed - Opened by geza-herman 3 months ago
- 3 comments
Labels: clang-tidy, false-positive
#157384 - [clang-tidy] Minor documentation wording for performance-noexcept-move-constructor
Pull Request -
State: closed - Opened by nicovank 3 months ago
- 3 comments
Labels: clang-tools-extra, clang-tidy
#157302 - [clang-tidy] Move 'cert-err34-c' check outside of 'cert' module and give a proper name
Issue -
State: closed - Opened by vbvictor 3 months ago
- 1 comment
Labels: clang-tidy
#157301 - [clang-tidy] Move 'cert-dcl50-cpp' check outside of 'cert' module and give a proper name
Issue -
State: closed - Opened by vbvictor 3 months ago
- 1 comment
Labels: clang-tidy
#157299 - [clang-tidy] Move 'cert-err60-cpp' check outside of 'cert' module and give a proper name
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy
#157298 - [clang-tidy] Move 'cert-err58-cpp' check outside of 'cert' module and give a proper name
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy
#157297 - [clang-tidy] Move 'cert-err52-cpp' check outside of 'cert' module and give a proper name
Issue -
State: closed - Opened by vbvictor 3 months ago
- 2 comments
Labels: clang-tidy
#157294 - [clang-tidy] Move 'cert-oop57-cpp' check outside of 'cert' module and give a proper name
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy
#157293 - [clang-tidy] Move 'cert-oop58-cpp' check outside of 'cert' module and give a proper name
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy
#157292 - [clang-tidy] Move 'cert-msc50-cpp', `cert-msc30-c` checks outside of 'cert' module and give a proper name
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy
#157287 - [clang-tidy] Move dedicated `cert` checks to other modules
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: metaissue, clang-tidy, quality-of-implementation
#157285 - [clang-tidy] Rename 'cert-err34-c' to 'bugprone-unchecked-string-to-number-conversion'
Pull Request -
State: closed - Opened by vbvictor 3 months ago
- 4 comments
Labels: clang-tools-extra, clang-tidy
#157243 - [clang-tidy] Support find for string-like classes in readability-container-contains
Pull Request -
State: closed - Opened by nicovank 3 months ago
- 5 comments
Labels: clang-tools-extra, clang-tidy
#157049 - [clang-tidy] Remove global options IgnoreMacros and StrictMode
Pull Request -
State: closed - Opened by carlosgalvezp 3 months ago
- 2 comments
Labels: clang-tools-extra, clangd, clang-tidy
#156995 - [Inclusive Language] migrate "sanity" checks to "soundness" checks
Pull Request -
State: closed - Opened by vanvoorden 3 months ago
- 18 comments
Labels: cmake, clang, clang-tools-extra, compiler-rt, libc++, libc++abi, lld, lldb, backend:ARM, backend:AArch64, backend:AMDGPU, backend:Hexagon, backend:MIPS, backend:RISC-V, backend:Sparc, backend:X86, clangd, clang-tidy, clang:driver, clang:frontend, clang:codegen, clang:static analyzer, compiler-rt:asan, compiler-rt:builtins, compiler-rt:fuzzer, compiler-rt:tsan, compiler-rt:ubsan, compiler-rt:scudo, xray, mlir:core, tools:llvm-exegesis, tablegen, llvm:codegen, debuginfo, llvm:mc, lld:MachO, lld:ELF, lld:COFF, llvm:globalisel, compiler-rt:hwasan, mlir:llvm, mlir:linalg, mlir:gpu, mlir:affine, flang:driver, backend:m68k, mlir:vectorops, mlir:sparse, PGO, compiler-rt:msan, mlir, BOLT, flang, llvm:instcombine, HLSL, backend:SPIR-V, mlir:presburger, coroutines, mlir:tosa, llvm:support, mlgo, llvm:SelectionDAG, llvm-lit, compiler-rt:sanitizer, mlir:async, mlir:openmp, mlir:vector, flang:fir-hlfir, flang:openmp, llvm:ir, testing-tools, llvm:analysis, llvm:transforms, llvm:binary-utilities, llvm:adt, flang:semantics, flang:parser, openmp:libomp, openmp:libomptarget, offload
#156885 - [clang-tidy] Remove global options StrictMode and IgnoreMacros
Issue -
State: closed - Opened by carlosgalvezp 3 months ago
- 1 comment
Labels: clang-tidy, quality-of-implementation
#156763 - [Clang-Tidy] Add google-runtime-float Clang-Tidy check
Pull Request -
State: closed - Opened by brenfwd 3 months ago
- 6 comments
Labels: clang-tools-extra, clang-tidy
#156671 - clang-tidy: suggest braced-enclosed initializer for empty array initialization
Issue -
State: open - Opened by firewave 3 months ago
Labels: clang-tidy, c++11, check-request
#156295 - False positives in `modernize-use-default-member-init` in clang-tidy 21
Issue -
State: closed - Opened by arvid-norlander 3 months ago
- 3 comments
Labels: clang-tidy, false-positive
#156161 - [clang-tidy] Enable 'readability-use-anyofallof' check in clang-tidy config.
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy, code-quality
#156160 - [clang-tidy] Enable 'readability-simplify-boolean-expr' check in clang-tidy config.
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy, code-quality
#156159 - [clang-tidy] Enable 'readability-named-parameter' check in clang-tidy config.
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy, code-quality
#156157 - [clang-tidy] Enable 'readability-container-contains' check in clang-tidy config.
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy, code-quality
#156156 - [clang-tidy] Enable 'performance-unnecessary-value-param' check in clang-tidy config.
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy, code-quality
#156155 - [clang-tidy] Enable 'performance-type-promotion-in-math-fn' check in clang-tidy config.
Issue -
State: closed - Opened by vbvictor 3 months ago
- 1 comment
Labels: clang-tidy, code-quality
#156153 - [clang-tidy] Enable 'modernize-pass-by-value' check in clang-tidy config.
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy, code-quality
#156151 - [clang-tidy] Enable 'bugprone-unchecked-optional-access' check in clang-tidy config.
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy, code-quality
#156150 - [clang-tidy] Enable 'bugprone-suspicious-stringview-data-usage' check in clang-tidy config.
Issue -
State: closed - Opened by vbvictor 3 months ago
- 1 comment
Labels: clang-tidy, code-quality
#156149 - [clang-tidy] Enable more checks in `.clang-tidy` config.
Issue -
State: open - Opened by vbvictor 3 months ago
Labels: clang-tidy, code-quality
#156137 - [ADT] Refactor StringMap iterators (NFC)
Pull Request -
State: closed - Opened by kazutakahirata 3 months ago
- 7 comments
Labels: clang, clang-tools-extra, clang-tidy, clang:driver, llvm:adt
#156058 - [clang-tidy] Modernize function parameters using std::span<const T> where applicable
Issue -
State: open - Opened by SunBlack 3 months ago
Labels: clang-tidy, check-request
#155982 - [Clang-Tidy] Handle nested-name-specifier in "llvm-prefer-isa-or-dyn-cast-in-conditionals"
Pull Request -
State: closed - Opened by zwuis 3 months ago
- 4 comments
Labels: clang-tools-extra, clang-tidy
#155852 - [clang-tidy][NFC] Add custom .clang-format with 'QualifierAlignment: Left'
Pull Request -
State: closed - Opened by vbvictor 3 months ago
- 2 comments
Labels: clang-tools-extra, clang-tidy
#155463 - [clang] NFC: introduce Type::getAsEnumDecl, and cast variants for all TagDecls
Pull Request -
State: closed - Opened by mizvekov 3 months ago
- 7 comments
Labels: clang, clang-tools-extra, backend:ARM, backend:AArch64, backend:Hexagon, backend:MIPS, backend:RISC-V, backend:PowerPC, backend:Sparc, backend:SystemZ, backend:WebAssembly, backend:X86, clangd, clang-tidy, clang:frontend, clang:codegen, clang:static analyzer, debuginfo, backend:CSKY, HLSL, backend:ARC, backend:loongarch, clang:openmp, ClangIR, clang:bytecode, backend:Lanai
#155313 - [clang] NFC: change more places to use Type::getAsTagDecl and friends
Pull Request -
State: closed - Opened by mizvekov 3 months ago
- 5 comments
Labels: clang, clang-tools-extra, backend:ARM, backend:AArch64, backend:AMDGPU, backend:PowerPC, backend:SystemZ, backend:X86, clang-tidy, clang:frontend, clang:modules, clang:codegen, clang:as-a-library, clang:static analyzer, backend:CSKY, HLSL, clang:analysis, ClangIR, clang:bytecode
#155180 - [clang-tidy][NFC] clean up some matchers in `modernize-type-traits`
Pull Request -
State: closed - Opened by localspook 3 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#154957 - clang-tidy suggests CamelCase for a single variable (when the config is camelBack)
Issue -
State: open - Opened by joker-eph 4 months ago
Labels: clang-tidy
#154810 - Clang-tidy invalid suggestion: llvm-twine-local
Issue -
State: open - Opened by joker-eph 4 months ago
Labels: clang-tidy
#154806 - [clang-tidy][doc] Improve option docs for readability-identifier-naming
Pull Request -
State: closed - Opened by carlosgalvezp 4 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#154795 - Clang-tidy invalid suggestion: performance-unnecessary-value-param #154755
Issue -
State: open - Opened by joker-eph 4 months ago
Labels: clang-tidy
#154790 - Clang-tidy invalid suggestion: llvm-prefer-isa-or-dyn-cast-in-conditionals
Issue -
State: closed - Opened by joker-eph 4 months ago
- 3 comments
Labels: clang-tidy, invalid-code-generation
#154782 - [clang-tidy] Ignore default ctor with user provided argument in `readability-container-size-empty`
Pull Request -
State: closed - Opened by flovent 4 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#154764 - Clang-tidy invalid suggestion: modernize-loop-convert
Issue -
State: open - Opened by joker-eph 4 months ago
Labels: clang-tidy
#154762 - Clang-tidy invalid suggestion: readability-container-size-empty
Issue -
State: closed - Opened by joker-eph 4 months ago
- 2 comments
Labels: clang-tidy, invalid-code-generation
#154760 - Clang-tidy invalid suggestion: misc-use-internal-linkage
Issue -
State: closed - Opened by joker-eph 4 months ago
- 3 comments
Labels: question, clang-tidy
#154756 - clang-tidy incorrect readability-identifier-naming
Issue -
State: open - Opened by joker-eph 4 months ago
- 8 comments
Labels: invalid, clang-tidy
#154746 - [clang-tidy] New bugprone-derived-method-shadowing-base-method
Issue -
State: closed - Opened by t-a-james 4 months ago
- 8 comments
Labels: clang-tools-extra, clang-tidy
#154430 - [clang-tidy] fix misc-unconventional-assign-operator entity match
Pull Request -
State: closed - Opened by mizvekov 4 months ago
- 2 comments
Labels: clang, clang-tools-extra, clang-tidy
#154416 - [clang-tidy] Add new '-hide-progress' option to tidy-scripts for suppressing progress information
Pull Request -
State: closed - Opened by vbvictor 4 months ago
- 7 comments
Labels: clang-tools-extra, clang-tidy
#154223 - [TEST] Add clang tidy premerge CI [WIP]
Pull Request -
State: closed - Opened by vbvictor 4 months ago
- 5 comments
Labels: clang-tools-extra, clang-tidy, github:workflow
#153941 - [clang-tidy] Fix `cppcoreguidelines-prefer-member-initializer` false positive for inherited members
Pull Request -
State: closed - Opened by v1nh1shungry 4 months ago
- 3 comments
Labels: clang-tools-extra, clang-tidy
#153923 - [clang] don't create type source info for vardecl created for structured bindings
Pull Request -
State: closed - Opened by mizvekov 4 months ago
- 4 comments
Labels: clang, clang-tools-extra, clang-tidy, clang:frontend, clang:static analyzer
#153870 - [clang-tidy][docs] Add description of "clang-diagnostic-error"
Pull Request -
State: closed - Opened by vbvictor 4 months ago
- 5 comments
Labels: clang-tools-extra, clang-tidy
#153649 - [clang-tidy] false positive for modernize-type-traits with structured bindings
Issue -
State: closed - Opened by matthew-f 4 months ago
- 6 comments
Labels: clang-tidy, confirmed, false-positive
#153155 - [clang-tidy] Unclear purpose/usefulness/actionability of `portability-template-virtual-member-function`
Issue -
State: closed - Opened by carlosgalvezp 4 months ago
- 13 comments
Labels: clang-tidy
#152938 - [clang-tidy] Fix `modernize-use-constraints` crash on uses of nonstandard `enable_if`s
Pull Request -
State: closed - Opened by localspook 4 months ago
- 6 comments
Labels: clang-tools-extra, clang-tidy
#152868 - [clang-tidy] clang-tidy modernize-use-constraints causes a segfault when used against boost::futures::wait_for_all
Issue -
State: closed - Opened by tfinnegan937 4 months ago
- 5 comments
Labels: clang-tidy, crash
#152345 - [clang-tools-extra][test] Fix missed %T removals from #151538
Pull Request -
State: closed - Opened by aeubanks 4 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#151873 - [NFC][run-clang-tidy] Add minor type hints
Pull Request -
State: closed - Opened by nicovank 4 months ago
- 3 comments
Labels: clang-tools-extra, clang-tidy
#151862 - [clang-tidy][docs][NFC] Add limitation of variable lifetimes in performance-unnecessary-copy-initialization
Pull Request -
State: closed - Opened by vbvictor 4 months ago
- 2 comments
Labels: clang-tools-extra, clang-tidy
#151801 - [clang-tidy] Use llvm::none_of (NFC)
Pull Request -
State: closed - Opened by kazutakahirata 4 months ago
- 3 comments
Labels: clang-tools-extra, clang-tidy
#151545 - NFC: Clean up of IntrusiveRefCntPtr construction from raw pointers.
Pull Request -
State: closed - Opened by jyknight 4 months ago
- 5 comments
Labels: clang, clang-tools-extra, lldb, clangd, clang-tidy, clang:driver, clang-format, clang:frontend, clang:modules, clang:as-a-library, flang:driver, flang, HLSL
#151467 - [clang-tidy][question] Where is run-clang-tidy.py installed on Windows?
Issue -
State: closed - Opened by chrchr-github 4 months ago
- 3 comments
Labels: clang-tidy
#151287 - [clang-tidy] False positive bugprone-unchecked-optional-access with call to non-const member
Issue -
State: closed - Opened by chrchr-github 4 months ago
- 1 comment
Labels: clang-tidy, false-positive
#150935 - Rename 'free' in warning messages to 'release'
Pull Request -
State: closed - Opened by feyruzb 4 months ago
- 6 comments
Labels: clang, clang-tools-extra, clang-tidy, clang:static analyzer
#150842 - [clang-tidy] Add handling of type aliases in `use-designated-initializers` check
Pull Request -
State: closed - Opened by SimplyDanny 4 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#150782 - [clang-tidy] modernize-use-designated-initializers fails to detect missing designated initializers
Issue -
State: closed - Opened by stefanroe 4 months ago
- 1 comment
Labels: clang-tidy, false-negative
#150757 - [clang-tidy][mlir] Make rewrite more conservative.
Pull Request -
State: closed - Opened by jpienaar 4 months ago
- 3 comments
Labels: clang-tools-extra, clang-tidy
#150290 - [clang-tidy] Ignore pure-virtual in portability-template...
Pull Request -
State: open - Opened by PiotrZSL 5 months ago
Labels: clang-tidy
#149831 - [clang-tidy] Proofread Contributing.rst
Pull Request -
State: closed - Opened by kazutakahirata 5 months ago
- 6 comments
Labels: clang-tools-extra, clang-tidy
#149161 - clang-tidy complains on ignoring [[maybe_unused]] return values
Issue -
State: closed - Opened by alexolog 5 months ago
- 2 comments
Labels: clang-tidy, false-positive
#149148 - [clang-tidy] Add MLIR check for old op builder usage.
Pull Request -
State: closed - Opened by jpienaar 5 months ago
- 5 comments
Labels: clang-tools-extra, clang-tidy
#148942 - [clang-tidy] modernize-return-braced-init-list and complex type casts
Issue -
State: open - Opened by EugeneZelenko 5 months ago
Labels: clang-tidy
#148757 - [clang-tidy] Speed up `misc-header-include-cycle`
Pull Request -
State: closed - Opened by localspook 5 months ago
- 5 comments
Labels: clang-tools-extra, clang-tidy
#148739 - [clang-tidy] New check: Use if-initializer to reduce scope of a variable
Issue -
State: closed - Opened by SunBlack 5 months ago
- 3 comments
Labels: duplicate, clang-tidy, check-request
#148699 - [clang-tidy] Improve --verify-config documentation
Pull Request -
State: closed - Opened by keith 5 months ago
- 1 comment
Labels: clang-tools-extra, clang-tidy
#148624 - [clang-tidy] Run `run-clang-tidy` and `clang-tidy-diff` scripts in parallel implicitly
Issue -
State: closed - Opened by vbvictor 5 months ago
- 3 comments
Labels: enhancement, clang-tools-extra, clang-tidy
#148540 - [clang-tidy] Show 'allow-enabling-analyzer-alpha-checkers' in '--help' command.
Issue -
State: open - Opened by vbvictor 5 months ago
Labels: enhancement, clang-tidy
#148399 - [clang-tidy] Update `confusables.txt` in `misc-confusable-identifiers`
Pull Request -
State: closed - Opened by localspook 5 months ago
- 3 comments
Labels: clang-tools-extra, clang-tidy
#148367 - Revert "[Clang] [Diagnostics] Simplify filenames that contain '..'"
Pull Request -
State: closed - Opened by Sirraide 5 months ago
Labels: clang, clang-tools-extra, clang-tidy, clang:frontend