[all-commits] [llvm/llvm-project] 620cef: [analyzer] MallocSizeof: sizeof pointer type is co...

Xuanda Yang via All-commits all-commits at lists.llvm.org
Sat May 29 18:52:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 620cef91207bbeb570a529328976040e658a60ee
      https://github.com/llvm/llvm-project/commit/620cef91207bbeb570a529328976040e658a60ee
  Author: Xuanda Yang <th3charlie at gmail.com>
  Date:   2021-05-30 (Sun, 30 May 2021)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
    M clang/test/Analysis/malloc-sizeof.c

  Log Message:
  -----------
  [analyzer] MallocSizeof: sizeof pointer type is compatible with void*

source: https://bugs.llvm.org/show_bug.cgi?id=50214

Make sizeof pointer type compatible with void* in MallocSizeofChecker.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D103358




More information about the All-commits mailing list