[PATCH] D103195: Add matchers for gtest's ASSERT_THAT, EXPECT_THAT, ON_CALL and EXPECT_CALL

Zhaomo Yang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 26 11:49:46 PDT 2021


zhaomo created this revision.
zhaomo added a reviewer: ymandel.
Herald added a subscriber: mstorsjo.
zhaomo requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch adds support for matching gtest's ASSERT_THAT, EXPECT_THAT, ON_CALL and EXPECT_CALL macros.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103195

Files:
  clang/include/clang/ASTMatchers/GtestMatchers.h
  clang/lib/ASTMatchers/GtestMatchers.cpp
  clang/unittests/ASTMatchers/GtestMatchersTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103195.348043.patch
Type: text/x-patch
Size: 20813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210526/8aa8a336/attachment-0001.bin>


More information about the cfe-commits mailing list