[all-commits] [llvm/llvm-project] 3161db: [Remark] Overload `<<` for Remark, RemarkType and ...

Zain Jaffal via All-commits all-commits at lists.llvm.org
Mon Jul 24 06:49:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3161db8ca07eaf76106cb73128f8c4e08571bde1
      https://github.com/llvm/llvm-project/commit/3161db8ca07eaf76106cb73128f8c4e08571bde1
  Author: Zain Jaffal <z_jaffal at apple.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M llvm/include/llvm/Remarks/Remark.h
    M llvm/lib/Remarks/Remark.cpp

  Log Message:
  -----------
  [Remark] Overload `<<` for Remark, RemarkType and RemarkLocation.

Represent different remark concepts as strings by overloading the `<<`
operator.

Reviewed By: thegameg

Differential Revision: https://reviews.llvm.org/D155058




More information about the All-commits mailing list