Use TestClangConfig in AST Matchers tests and run them in more configurations
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 16 Jul 2020 16:14:59 +0000 (18:14 +0200)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 16 Jul 2020 16:36:53 +0000 (18:36 +0200)
commit4f244c4b42b096a55f2e7f719e1101c6fd26c034
tree90d36b65ff036f0817fc5d80a2e74c8fa61eddd6
parent3c6a518a2fd2f85bb3e0e53a02c56234affccf94
Use TestClangConfig in AST Matchers tests and run them in more configurations

Summary:
I am changing tests for AST Matchers to run in multiple language standards
versions, and under multiple triples that have different behavior with regards
to templates. This change is similar to https://reviews.llvm.org/D82179.

To keep the size of the patch manageable, in this patch I'm only migrating one
file to get the process started and get feedback on this approach.

Reviewers: ymandel

Reviewed By: ymandel

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83868
clang/include/clang/Testing/TestClangConfig.h
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
clang/unittests/ASTMatchers/ASTMatchersTest.h