[all-commits] [llvm/llvm-project] cc4f86: [clang-tidy] Improve build-in type handling in bug...
    Piotr Zegar via All-commits 
    all-commits at lists.llvm.org
       
    Sun Jul 16 11:56:53 PDT 2023
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc4f86562127f29560abb54d0c11f277b3373a2a
      https://github.com/llvm/llvm-project/commit/cc4f86562127f29560abb54d0c11f277b3373a2a
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-07-16 (Sun, 16 Jul 2023)
  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SwappedArgumentsCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/swapped-arguments.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/swapped-arguments.cpp
  Log Message:
  -----------
  [clang-tidy] Improve build-in type handling in bugprone-swapped-arguments
Improved detection of argument swaps involving integral and floating-point
types by enhancing handling of implicit conversions. Now implicit casts
from float to double are also considered, same for integers.
Improved documentation.
Fixes: #62926
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D151495
    
    
More information about the All-commits
mailing list