[all-commits] [llvm/llvm-project] c2c5c3: [pseudo] Fix a suspicious usage of `sizeof(this)`.

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Aug 9 12:49:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2c5c39c401b39d2057ebb19b843f53deb950f6e
      https://github.com/llvm/llvm-project/commit/c2c5c39c401b39d2057ebb19b843f53deb950f6e
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M clang-tools-extra/pseudo/include/clang-pseudo/Forest.h

  Log Message:
  -----------
  [pseudo] Fix a suspicious usage of `sizeof(this)`.

It should be `sizeof(*this)`.




More information about the All-commits mailing list