[all-commits] [llvm/llvm-project] e855fe: [clang-tidy] fix bugprone-sizeof-expression when s...

Congcong Cai via All-commits all-commits at lists.llvm.org
Mon Nov 11 19:36:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e855feac41fd89aebf540a155d21f12a3e82f05b
      https://github.com/llvm/llvm-project/commit/e855feac41fd89aebf540a155d21f12a3e82f05b
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp

  Log Message:
  -----------
  [clang-tidy] fix bugprone-sizeof-expression when sizeof expression with template types (#115275)

Fixed: #115175.
`dependent type` are not the same even pointers are the same.

---------

Co-authored-by: whisperity <whisperity at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list