[libc-commits] [PATCH] D152630: [libc] Enable custom logging in LibcTest

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 13 06:31:45 PDT 2023


lntue added inline comments.


================
Comment at: libc/test/UnitTest/LibcTest.h:53
+template <typename T> struct Matcher : public MatcherBase {
+  bool match(T &t);
+};
----------------
Do you know why the Matcher's interface cannot be `const T&`?  Ideally it should not modify the inputs, right?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152630/new/

https://reviews.llvm.org/D152630



More information about the libc-commits mailing list