[PATCH] D121851: [scudo][tests] Ensure test assertions have matching type

Dominic Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 14:08:14 PDT 2022


ddcc created this revision.
ddcc added reviewers: vitalybuka, eugenis, cryptoad, mcgrathr, hctim.
Herald added a project: All.
ddcc requested review of this revision.
Herald added a project: Sanitizers.

gtest-like testers may use template deduction to select the correct overload, but type promotion is not considered when performing template substitution, so ensure both arguments have matching type


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121851

Files:
  compiler-rt/lib/scudo/standalone/tests/chunk_test.cpp
  compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
  compiler-rt/lib/scudo/standalone/tests/common_test.cpp
  compiler-rt/lib/scudo/standalone/tests/list_test.cpp
  compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
  compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
  compiler-rt/lib/scudo/standalone/tests/quarantine_test.cpp
  compiler-rt/lib/scudo/standalone/tests/stats_test.cpp
  compiler-rt/lib/scudo/standalone/tests/tsd_test.cpp
  compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
  compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121851.415975.patch
Type: text/x-patch
Size: 15691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220316/126010a8/attachment.bin>


More information about the llvm-commits mailing list