[all-commits] [llvm/llvm-project] fcffb2: [MC] Replace one nullable getCurrentSectionOnly wi...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jun 27 22:27:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcffb2c0240bb3a08b3e14486ea6abd23fa2c44f
      https://github.com/llvm/llvm-project/commit/fcffb2c0240bb3a08b3e14486ea6abd23fa2c44f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/MC/MCELFStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp

  Log Message:
  -----------
  [MC] Replace one nullable getCurrentSectionOnly with CurFrag

We will implement getCurrentSectionOnly with `CurFrag->getParent()`,
which is non-null. Eliminate a nullable use.



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