[PATCH] D74840: [AST matchers] Add basic matchers for googletest EXPECT/ASSERT calls.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 19 08:14:28 PST 2020
ymandel created this revision.
ymandel added a reviewer: gribozavr2.
Herald added a subscriber: mgorny.
Herald added a project: clang.
This revision adds matchers that match calls to the gtest EXPECT and ASSERT
macros almost like function calls. The matchers are placed in separate files
(GtestMatchers...), because they are specific to the gtest library.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74840
Files:
clang/include/clang/ASTMatchers/GtestMatchers.h
clang/lib/ASTMatchers/CMakeLists.txt
clang/lib/ASTMatchers/GtestMatchers.cpp
clang/unittests/ASTMatchers/CMakeLists.txt
clang/unittests/ASTMatchers/GtestMatchersTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74840.245410.patch
Type: text/x-patch
Size: 12716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200219/f658fefb/attachment.bin>
More information about the cfe-commits
mailing list