[all-commits] [llvm/llvm-project] 23444e: [AST matchers] Add basic matchers for googletest E...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Fri Feb 21 09:06:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 23444edf30ba00ccefa3a582ac7ddc29774e9da5
      https://github.com/llvm/llvm-project/commit/23444edf30ba00ccefa3a582ac7ddc29774e9da5
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    A clang/include/clang/ASTMatchers/GtestMatchers.h
    M clang/lib/ASTMatchers/CMakeLists.txt
    A clang/lib/ASTMatchers/GtestMatchers.cpp
    M clang/unittests/ASTMatchers/CMakeLists.txt
    A clang/unittests/ASTMatchers/GtestMatchersTest.cpp

  Log Message:
  -----------
  [AST matchers] Add basic matchers for googletest EXPECT/ASSERT calls.

Summary:
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.

Reviewers: gribozavr2

Subscribers: mgorny, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list