[all-commits] [llvm/llvm-project] dbece8: [rtsan][NFC] Put in comment describing why freeing...

Chris Apple via All-commits all-commits at lists.llvm.org
Wed Oct 30 17:39:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbece8edb4072a7e77feb948619b46ba7cc48923
      https://github.com/llvm/llvm-project/commit/dbece8edb4072a7e77feb948619b46ba7cc48923
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp

  Log Message:
  -----------
  [rtsan][NFC] Put in comment describing why freeing a nullptr is safe (#113720)

Just documenting this for future devs.

Also moved to `nullptr` and deleted unnecessary braces as per the coding
standard.



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