[all-commits] [llvm/llvm-project] 2ef258: [libc++][NFC] Inline the simple observer functions...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Feb 6 10:29:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ef2587ae9d97d9325e9ecd11bcf4e3dff02e119
      https://github.com/llvm/llvm-project/commit/2ef2587ae9d97d9325e9ecd11bcf4e3dff02e119
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++][NFC] Inline the simple observer functions into the basic_string definition (#126061)

Having them defined ouf-of-line results in a significant amount of
boilerplate without improving readability, since they're just one or two
lines long anyways.

As a drive-by, add comments between the declarations to make them easier
to distinguish.



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