[all-commits] [llvm/llvm-project] 48987f: [llvm][MC] Remove [[nodiscard]] from WithMarkup co...

David Spickett via All-commits all-commits at lists.llvm.org
Mon Sep 4 08:06:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48987fb8cc844667c6ee2a315140cb8f3d817fc1
      https://github.com/llvm/llvm-project/commit/48987fb8cc844667c6ee2a315140cb8f3d817fc1
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M llvm/include/llvm/MC/MCInstPrinter.h

  Log Message:
  -----------
  [llvm][MC] Remove [[nodiscard]] from WithMarkup constructor

This is causing a lot of warnings with older compilers and
errors for -Werror builders downstream.

I'm removing it until we can decide a good way to do this,
as it does seem important that this class not be discarded
given it controls formatting.




More information about the All-commits mailing list