[all-commits] [llvm/llvm-project] 0e3532: [libc][NFC] Make test macros callable from helper ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Nov 5 16:15:03 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e3532da98c5aa62582eee9cca07aaf5844b0b90
      https://github.com/llvm/llvm-project/commit/0e3532da98c5aa62582eee9cca07aaf5844b0b90
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M libc/utils/UnitTest/Test.cpp
    M libc/utils/UnitTest/Test.h

  Log Message:
  -----------
  [libc][NFC] Make test macros callable from helper methods of test classes.

This is acheived by making the RunContext a state variable of the test
classes.

Reviewed By: lntue

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




More information about the All-commits mailing list