[all-commits] [llvm/llvm-project] b81024: [clang-tidy] Avoid binding nullptr to a reference

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Fri Jan 21 06:56:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8102449a72c5144cb75cfca46e78b517d7f6606
      https://github.com/llvm/llvm-project/commit/b8102449a72c5144cb75cfca46e78b517d7f6606
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-01-21 (Fri, 21 Jan 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp

  Log Message:
  -----------
  [clang-tidy] Avoid binding nullptr to a reference

That's undefined behavior. Found by -fsanitize=null.




More information about the All-commits mailing list